diff options
Diffstat (limited to 'target/linux/ath79/dts/ar9344_qxwlan_e750a-v4-16m.dts')
-rw-r--r-- | target/linux/ath79/dts/ar9344_qxwlan_e750a-v4-16m.dts | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/ar9344_qxwlan_e750a-v4-16m.dts b/target/linux/ath79/dts/ar9344_qxwlan_e750a-v4-16m.dts index 366a0f720a..7c2f90e72c 100644 --- a/target/linux/ath79/dts/ar9344_qxwlan_e750a-v4-16m.dts +++ b/target/linux/ath79/dts/ar9344_qxwlan_e750a-v4-16m.dts @@ -24,14 +24,16 @@ phy-handle = <&swphy4>; - mtd-mac-address = <&pridata 0x400>; + nvmem-cells = <&macaddr_pridata_400>; + nvmem-cell-names = "mac-address"; mac-address-increment = <1>; }; ð1 { status = "okay"; - mtd-mac-address = <&pridata 0x400>; + nvmem-cells = <&macaddr_pridata_400>; + nvmem-cell-names = "mac-address"; gmac-config { device = <&gmac>; @@ -47,3 +49,13 @@ reg = <0x070000 0xf90000>; }; }; + +&pridata { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_pridata_400: macaddr@400 { + reg = <0x400 0x6>; + }; +}; |