ath79: convert mtd-mac-address to nvmem implementation
[openwrt/staging/stintel.git] / target / linux / ath79 / dts / ar7242_ubnt_sw.dtsi
index caae72c91f489f9e0a04b2e670272c5609a4de11..3f996a16c757b61c042d87b59418a7af16342701 100644 (file)
 &eth1 {
        status = "okay";
 
-       mtd-mac-address = <&art 0x6>;
+       nvmem-cells = <&macaddr_art_6>;
+       nvmem-cell-names = "mac-address";
+};
+
+&art {
+       compatible = "nvmem-cells";
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       macaddr_art_6: macaddr@6 {
+               reg = <0x6 0x6>;
+       };
 };