mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-26 04:47:45 +00:00

Do not leave the providing of a MAC address for an SoC MAC to a driver. Describe it on the bindings. Provide a distinct MAC address for each SoC MAC. Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com> Link: https://lore.kernel.org/r/20240414-for-soc-asus-rt-ac3100-improvements-v1-2-0e40caf1a70a@arinc9.com Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
35 lines
583 B
Plaintext
35 lines
583 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||
/*
|
||
* Author: Arınç ÜNAL <arinc.unal@arinc9.com>
|
||
*/
|
||
|
||
/dts-v1/;
|
||
|
||
#include "bcm47094-asus-rt-ac3100.dtsi"
|
||
|
||
/ {
|
||
compatible = "asus,rt-ac3100", "brcm,bcm47094", "brcm,bcm4708";
|
||
model = "ASUS RT-AC3100";
|
||
|
||
nvram@1c080000 {
|
||
et0macaddr: et0macaddr {
|
||
#nvmem-cell-cells = <1>;
|
||
};
|
||
};
|
||
};
|
||
|
||
&gmac0 {
|
||
nvmem-cells = <&et0macaddr 0>;
|
||
nvmem-cell-names = "mac-address";
|
||
};
|
||
|
||
&gmac1 {
|
||
nvmem-cells = <&et0macaddr 1>;
|
||
nvmem-cell-names = "mac-address";
|
||
};
|
||
|
||
&gmac2 {
|
||
nvmem-cells = <&et0macaddr 2>;
|
||
nvmem-cell-names = "mac-address";
|
||
};
|