diff options
Diffstat (limited to 'target/linux/ath79/dts/ar9331_glinet_6408.dts')
-rw-r--r-- | target/linux/ath79/dts/ar9331_glinet_6408.dts | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar9331_glinet_6408.dts b/target/linux/ath79/dts/ar9331_glinet_6408.dts index 658fa1aa5e..0d3b7d6410 100644 --- a/target/linux/ath79/dts/ar9331_glinet_6408.dts +++ b/target/linux/ath79/dts/ar9331_glinet_6408.dts @@ -5,6 +5,10 @@ / { model = "GL.iNet 6408"; compatible = "glinet,6408", "qca,ar9331"; + + aliases { + label-mac-device = &wmac; + }; }; &spi { @@ -40,3 +44,30 @@ }; }; }; + +ð0 { + nvmem-cells = <&macaddr_uboot_1fc00>; + nvmem-cell-names = "mac-address"; +}; + +ð1 { + nvmem-cells = <&macaddr_uboot_1fc00>; + nvmem-cell-names = "mac-address"; +}; + +&wmac { + mtd-cal-data = <&art 0x1000>; + + nvmem-cells = <&macaddr_uboot_1fc00>; + nvmem-cell-names = "mac-address"; +}; + +&uboot { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_uboot_1fc00: macaddr@1fc00 { + reg = <0x1fc00 0x6>; + }; +}; |