diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2023-05-15 10:33:08 +0200 |
---|---|---|
committer | Florian Fainelli <florian.fainelli@broadcom.com> | 2023-05-23 18:29:40 +0200 |
commit | dfa6570eb5ce2f24059caadbe2ed70034b5337bc (patch) | |
tree | 1e97de465f195ecd047d158c3b479804e1ae56f5 /arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts | |
parent | dt-bindings: soc: bcm: add missing dt-binding document for bcm23550-cdc (diff) | |
download | linux-dfa6570eb5ce2f24059caadbe2ed70034b5337bc.tar.xz linux-dfa6570eb5ce2f24059caadbe2ed70034b5337bc.zip |
ARM: dts: BCM5301X: Specify MAC addresses on Luxul devices
Use NRAM (NVMEM device) and its "et0macaddr" variable (NVMEM cell) to
point Ethernet devices to their MAC addresses.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Link: https://lore.kernel.org/r/20230515083308.7612-1-zajec5@gmail.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Diffstat (limited to 'arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts')
-rw-r--r-- | arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts index f5b75ba93512..4ca348c06b51 100644 --- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts +++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts @@ -24,6 +24,14 @@ reg = <0x00000000 0x08000000>; }; + nvram@1eff0000 { + compatible = "brcm,nvram"; + reg = <0x1eff0000 0x10000>; + + et0macaddr: et0macaddr { + }; + }; + nand_controller: nand-controller@18028000 { nand@0 { partitions { @@ -60,6 +68,11 @@ }; }; +&gmac0 { + nvmem-cells = <&et0macaddr>; + nvmem-cell-names = "mac-address"; +}; + &spi_nor { status = "okay"; }; |