ARM: dts: meraki-mr26: set mac address for gmac0
Subsystems (2)
PATCH 1/1 ARM: dts: meraki-mr26: set mac address for gmac0
Currently this needs to be done in userspace.
Signed-off-by Rosen Penev <[email protected]>
--- .../dts/broadcom/bcm53015-meraki-mr26.dts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+)
arch/arm/boot/dts/broadcom/bcm53015-meraki-mr26.dts +20 -0
@@ -59,6 +59,9 @@ &uart1 { &gmac0 { status = "okay"; + + nvmem-cells = <&macaddr_board_config_66>; + nvmem-cell-names = "mac-address"; }; &gmac1 {
@@ -102,8 +105,25 @@ partition@600000 { }; partition@800000 { + compatible = "linux,ubi"; label = "ubi"; reg = <0x800000 0x7780000>; + + volumes { + ubi-volume-board-config { + volname = "board-config"; + + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_board_config_66: macaddr@66 { + reg = <0x66 0x6>; + }; + }; + }; + }; }; }; };
Signature · 1 line
2.47.0
From: Florian Fainelli <[email protected]>
Quoted 4 lines · Rosen Penev
Currently this needs to be done in userspace.
Signed-off-by Rosen Penev <[email protected]>---
Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks! --
Florian