ramips: mt7621: convert to nvmem-layout
[openwrt/staging/blocktrron.git] / target / linux / ramips / dts / mt7621_iodata_wn-xx-xr.dtsi
index 4b42fcb7de72e5104460fb58a659ec33b70b78c4..f25d2db9b309751fe04c576bc8a8c538f8e3bf45 100644 (file)
                factory: partition@200000 {
                        label = "factory";
                        reg = <0x0200000 0x0100000>;
+
+                       nvmem-layout {
+                               compatible = "fixed-layout";
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+
+                               macaddr_factory_e000: macaddr@e000 {
+                                       reg = <0xe000 0x6>;
+                               };
+
+                               macaddr_factory_e006: macaddr@e006 {
+                                       reg = <0xe006 0x6>;
+                               };
+                       };
                };
 
                partition@300000 {
 &xhci {
        status = "disabled";
 };
-
-&factory {
-       compatible = "nvmem-cells";
-       #address-cells = <1>;
-       #size-cells = <1>;
-
-       macaddr_factory_e000: macaddr@e000 {
-               reg = <0xe000 0x6>;
-       };
-
-       macaddr_factory_e006: macaddr@e006 {
-               reg = <0xe006 0x6>;
-       };
-};