diff options
Diffstat (limited to 'target/linux/ath79/dts/ar9344_ocedo_raccoon.dts')
-rw-r--r-- | target/linux/ath79/dts/ar9344_ocedo_raccoon.dts | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts b/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts index cf02b711fa..e5e2067846 100644 --- a/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts +++ b/target/linux/ath79/dts/ar9344_ocedo_raccoon.dts @@ -129,7 +129,8 @@ ath9k: wifi@0,0 { compatible = "pci168c,0030"; reg = <0x0000 0 0 0 0>; - mtd-mac-address = <&art 0xc>; + nvmem-cells = <&macaddr_art_c>; + nvmem-cell-names = "mac-address"; qca,no-eeprom; #gpio-cells = <2>; gpio-controller; @@ -140,7 +141,8 @@ status = "okay"; mtd-cal-data = <&art 0x1000>; - mtd-mac-address = <&art 0x6>; + nvmem-cells = <&macaddr_art_6>; + nvmem-cell-names = "mac-address"; }; &mdio0 { @@ -158,8 +160,27 @@ pll-data = <0x06000000 0x00000101 0x00001313>; - mtd-mac-address = <&art 0x0>; + nvmem-cells = <&macaddr_art_0>; + nvmem-cell-names = "mac-address"; phy-mode = "rgmii-id"; phy-handle = <&phy0>; }; + +&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>; + }; +}; |