diff options
Diffstat (limited to 'target/linux/ath79/dts/ar7161_netgear_wndr3700-v2.dts')
-rw-r--r-- | target/linux/ath79/dts/ar7161_netgear_wndr3700-v2.dts | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar7161_netgear_wndr3700-v2.dts b/target/linux/ath79/dts/ar7161_netgear_wndr3700-v2.dts index 6d78c019da..0a133ce52e 100644 --- a/target/linux/ath79/dts/ar7161_netgear_wndr3700-v2.dts +++ b/target/linux/ath79/dts/ar7161_netgear_wndr3700-v2.dts @@ -5,6 +5,10 @@ / { compatible = "netgear,wndr3700-v2", "qca,ar7161"; model = "Netgear WNDR3700 v2"; + + aliases { + label-mac-device = ð0; + }; }; &partitions { @@ -33,3 +37,41 @@ read-only; }; }; + +&ath9k0 { + nvmem-cells = <&macaddr_art_c>; + nvmem-cell-names = "mac-address"; +}; + +&ath9k1 { + nvmem-cells = <&macaddr_art_0>; + nvmem-cell-names = "mac-address"; +}; + +ð0 { + nvmem-cells = <&macaddr_art_0>; + nvmem-cell-names = "mac-address"; +}; + +ð1 { + nvmem-cells = <&macaddr_art_6>; + nvmem-cell-names = "mac-address"; +}; + +&art { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_art_0: macaddr@0 { + reg = <0x0 0x6>; + }; + + macaddr_art_6: macaddr@6 { + reg = <0x6 0x6>; + }; + + macaddr_art_c: macaddr@c { + reg = <0xc 0x6>; + }; +}; |