ramips: fix mtd partition node names for Phicomm PSG1208
[openwrt/openwrt.git] / target / linux / ramips / dts / rt5350_wansview_ncs601w.dts
index c6eced34ba1fe1246b306bad0de9bb8ecc4d6800..911e3e44edf004817a4110784b5dfba8a8fb6567 100644 (file)
@@ -53,7 +53,8 @@
 };
 
 &ethernet {
-       mtd-mac-address = <&factory 0x4>;
+       nvmem-cells = <&macaddr_factory_4>;
+       nvmem-cell-names = "mac-address";
 };
 
 &esw {
        ralink,mtd-eeprom = <&factory 0x0>;
 };
 
-&ehci {
-       status = "okay";
-};
+&factory {
+       compatible = "nvmem-cells";
+       #address-cells = <1>;
+       #size-cells = <1>;
 
-&ohci {
-       status = "okay";
+       macaddr_factory_4: macaddr@4 {
+               reg = <0x4 0x6>;
+       };
 };