ramips: convert mtd-mac-address to nvmem implementation
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / rt3052_aztech_hw550-3g.dts
index f58a519b117ef347bc73a4dcaa43810f45f4744e..c547c9df69a32ac67e70f0b4acc4863a4638ab3f 100644 (file)
 };
 
 &ethernet {
-       mtd-mac-address = <&factory 0x28>;
+       nvmem-cells = <&macaddr_factory_28>;
+       nvmem-cell-names = "mac-address";
 };
 
 &esw {
 &otg {
        status = "okay";
 };
+
+&factory {
+       compatible = "nvmem-cells";
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       macaddr_factory_28: macaddr@28 {
+               reg = <0x28 0x6>;
+       };
+};