apm821xx: convert to nvmem-layout
authorRosen Penev <rosenp@gmail.com>
Mon, 13 Nov 2023 20:23:07 +0000 (12:23 -0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Sat, 25 Nov 2023 21:50:32 +0000 (22:50 +0100)
nvmem-cells is deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
target/linux/apm821xx/dts/netgear-wndr4700.dts

index cbfe1235e955392aaccc223e9ca2fbca353bc816..0788037981d85749cc4f1474cbdb40fdc4ba160e 100644 (file)
                                reg = <0x07fc0000 0x00040000>;
                                read-only;
 
-                               compatible = "nvmem-cells";
-                               #address-cells = <1>;
-                               #size-cells = <1>;
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
 
-                               macaddr_wifi_0: macaddr@0 {
-                                       reg = <0x0 0x6>;
-                               };
-                               macaddr_wifi_c: macaddr@c {
-                                       reg = <0xc 0x6>;
-                               };
+                                       macaddr_wifi_0: macaddr@0 {
+                                               reg = <0x0 0x6>;
+                                       };
+                                       macaddr_wifi_c: macaddr@c {
+                                               reg = <0xc 0x6>;
+                                       };
 
-                               calibration_wifi_1000: calibration@1000 {
-                                       reg = <0x1000 0x440>;
-                               };
+                                       calibration_wifi_1000: calibration@1000 {
+                                               reg = <0x1000 0x440>;
+                                       };
 
-                               calibration_wifi_5000: calibration@5000 {
-                                       reg = <0x5000 0x440>;
+                                       calibration_wifi_5000: calibration@5000 {
+                                               reg = <0x5000 0x440>;
+                                       };
                                };
                        };
                };