Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: meraki-mr26: set mac address for gmac0

Currently this needs to be done in userspace.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://lore.kernel.org/r/20241021015147.172700-1-rosenp@gmail.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>

authored by

Rosen Penev and committed by
Florian Fainelli
f167292c 618775c9

+20
+20
arch/arm/boot/dts/broadcom/bcm53015-meraki-mr26.dts
··· 59 59 60 60 &gmac0 { 61 61 status = "okay"; 62 + 63 + nvmem-cells = <&macaddr_board_config_66>; 64 + nvmem-cell-names = "mac-address"; 62 65 }; 63 66 64 67 &gmac1 { ··· 105 102 }; 106 103 107 104 partition@800000 { 105 + compatible = "linux,ubi"; 108 106 label = "ubi"; 109 107 reg = <0x800000 0x7780000>; 108 + 109 + volumes { 110 + ubi-volume-board-config { 111 + volname = "board-config"; 112 + 113 + nvmem-layout { 114 + compatible = "fixed-layout"; 115 + #address-cells = <1>; 116 + #size-cells = <1>; 117 + 118 + macaddr_board_config_66: macaddr@66 { 119 + reg = <0x66 0x6>; 120 + }; 121 + }; 122 + }; 123 + }; 110 124 }; 111 125 }; 112 126 };