ramips: mt7621: convert to nvmem-layout
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_netgear_sercomm_bzv.dtsi
index 5c4512b508efcb96e42e5076eedb11d1b3d620e4..1589d2de4b8ebe1d8ce2e78c4a48d285c2f9800e 100644 (file)
                        reg = <0x4600000 0x200000>;
                        sercomm,scpart-id = <16>;
                        read-only;
+
+                       nvmem-layout {
+                               compatible = "fixed-layout";
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+
+                               macaddr_factory_4: macaddr@4 {
+                                       reg = <0x4 0x6>;
+                               };
+                       };
                };
 
                partition@4800000 {
                };
        };
 };
-
-&factory {
-       compatible = "nvmem-cells";
-       #address-cells = <1>;
-       #size-cells = <1>;
-
-       macaddr_factory_4: macaddr@4 {
-               reg = <0x4 0x6>;
-       };
-};