diff options
Diffstat (limited to 'target/linux/ath79/dts/qca9531_comfast_cf-e313ac.dts')
-rw-r--r-- | target/linux/ath79/dts/qca9531_comfast_cf-e313ac.dts | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/qca9531_comfast_cf-e313ac.dts b/target/linux/ath79/dts/qca9531_comfast_cf-e313ac.dts index 757a2eaeee..c187521351 100644 --- a/target/linux/ath79/dts/qca9531_comfast_cf-e313ac.dts +++ b/target/linux/ath79/dts/qca9531_comfast_cf-e313ac.dts @@ -121,7 +121,8 @@ phy-handle = <&swphy0>; - mtd-mac-address = <&art 0x1002>; + nvmem-cells = <&macaddr_art_1002>; + nvmem-cell-names = "mac-address"; gmac-config { device = <&gmac>; @@ -130,7 +131,8 @@ }; ð1 { - mtd-mac-address = <&art 0x0>; + nvmem-cells = <&macaddr_art_0>; + nvmem-cell-names = "mac-address"; }; &pcie0 { @@ -141,3 +143,17 @@ reg = <0 0 0 0 0>; }; }; + +&art { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_art_0: macaddr@0 { + reg = <0x0 0x6>; + }; + + macaddr_art_1002: macaddr@1002 { + reg = <0x1002 0x6>; + }; +}; |