ath79: convert mtd-mac-address to nvmem implementation
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9558_devolo_dvl1750e.dts
index 895398e358a18bf8d2af0b32653f362a8442a11d..d60e7c4857f7ba911b2e5d3cbd507e59430bbfa7 100644 (file)
@@ -93,7 +93,8 @@
 &eth1 {
        status = "okay";
 
-       mtd-mac-address = <&art 0x00>;
+       nvmem-cells = <&macaddr_art_0>;
+       nvmem-cell-names = "mac-address";
        mac-address-increment = <1>;
 
        phy-handle = <&phy1>;
 
        qca955x-sgmii-fixup;
 };
+
+&art {
+       compatible = "nvmem-cells";
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       macaddr_art_0: macaddr@0 {
+               reg = <0x0 0x6>;
+       };
+};