ath79: convert mtd-mac-address to nvmem implementation
[openwrt/staging/stintel.git] / target / linux / ath79 / dts / ar9341_pisen_wmb001n.dts
index ffa52b437cbf44c35edd1035e2b0c92a61fb6583..23b5cf745044f8eed2f42e3eddcd77e27f55dc92 100644 (file)
 &eth0 {
        status = "okay";
        phy-handle = <&swphy4>;
-       mtd-mac-address = <&art 0x0>;
+       nvmem-cells = <&macaddr_art_0>;
+       nvmem-cell-names = "mac-address";
 };
 
 &eth1 {
        status = "okay";
        mtd-cal-data = <&art 0x1000>;
 };
+
+&art {
+       compatible = "nvmem-cells";
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       macaddr_art_0: macaddr@0 {
+               reg = <0x0 0x6>;
+       };
+};