realtek: convert to nvmem-layout
[openwrt/staging/hauke.git] / target / linux / realtek / dts-5.15 / rtl8380_tplink_sg2xxx.dtsi
index e727a9405ad75b966f2c9fe0e1167e774499033d..0706c55524bb97f44939c23d791375d102a1c384 100644 (file)
                                reg = <0x1b00000 0x400000>;
                        };
                        partition@1f00000 {
-                               compatible = "nvmem-cells";
                                label = "para";
                                reg = <0x1f00000 0x100000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               factory_macaddr: macaddr@fdff4 {
-                                       reg = <0xfdff4 0x6>;
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       factory_macaddr: macaddr@fdff4 {
+                                               reg = <0xfdff4 0x6>;
+                                       };
                                };
                        };
                };