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

Signed-off-by: Rosen Penev <rosenp@gmail.com>
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8071-ax3600.dtsi
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-ax9000.dts
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-rax120v2.dts

index 23b9121d5fc1dc09d7a2aa71ae454c743a86dc39..2bb2cce157ca45729dd0514a8f607e463b2f30d0 100644 (file)
                                reg = <0x800000 0x80000>;
                                read-only;
 
-                               compatible = "nvmem-cells";
-                               #address-cells = <1>;
-                               #size-cells = <1>;
-
-                               macaddr_dp2: macaddr@6 {
-                                       reg = <0x6 0x6>;
-                               };
-
-                               macaddr_dp3: macaddr@c {
-                                       reg = <0xc 0x6>;
-                               };
-
-                               macaddr_dp4: macaddr@12 {
-                                       reg = <0x12 0x6>;
-                               };
-
-                               macaddr_dp5: macaddr@18 {
-                                       reg = <0x18 0x6>;
-                               };
-
-                               caldata_qca9889: caldata@4d000 {
-                                       reg = <0x33000 0x844>;
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_dp2: macaddr@6 {
+                                               reg = <0x6 0x6>;
+                                       };
+
+                                       macaddr_dp3: macaddr@c {
+                                               reg = <0xc 0x6>;
+                                       };
+
+                                       macaddr_dp4: macaddr@12 {
+                                               reg = <0x12 0x6>;
+                                       };
+
+                                       macaddr_dp5: macaddr@18 {
+                                               reg = <0x18 0x6>;
+                                       };
+
+                                       caldata_qca9889: caldata@4d000 {
+                                               reg = <0x33000 0x844>;
+                                       };
                                };
                        };
 
index fbf5b41d85f3ca7b382d0ef8a3b2e2907261b79b..0df16e9ad7d25b8b71bec2f641c147825a9c9a3a 100644 (file)
                                reg = <0xf80000 0x80000>;
                                read-only;
 
-                               compatible = "nvmem-cells";
-                               #address-cells = <1>;
-                               #size-cells = <1>;
-
-                               macaddr_dp1: macaddr@0 {
-                                       reg = <0x0 0x6>;
-                               };
-
-                               macaddr_dp2: macaddr@6 {
-                                       reg = <0x6 0x6>;
-                               };
-
-                               macaddr_dp3: macaddr@c {
-                                       reg = <0xc 0x6>;
-                               };
-
-                               macaddr_dp4: macaddr@12 {
-                                       reg = <0x12 0x6>;
-                               };
-
-                               macaddr_dp5: macaddr@18 {
-                                       reg = <0x18 0x6>;
-                               };
-
-                               caldata_qca9889: caldata@4d000 {
-                                       reg = <0x4d000 0x844>;
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_dp1: macaddr@0 {
+                                               reg = <0x0 0x6>;
+                                       };
+
+                                       macaddr_dp2: macaddr@6 {
+                                               reg = <0x6 0x6>;
+                                       };
+
+                                       macaddr_dp3: macaddr@c {
+                                               reg = <0xc 0x6>;
+                                       };
+
+                                       macaddr_dp4: macaddr@12 {
+                                               reg = <0x12 0x6>;
+                                       };
+
+                                       macaddr_dp5: macaddr@18 {
+                                               reg = <0x18 0x6>;
+                                       };
+
+                                       caldata_qca9889: caldata@4d000 {
+                                               reg = <0x4d000 0x844>;
+                                       };
                                };
                        };
 
index 0a5bbb4c35d94321c655f9bed709aabe956f82e9..0949d19171a6cf01db43cbde29cf157f217d3b06 100644 (file)
                                reg = <0x1180000 0x0100000>;
                                read-only;
 
-                               compatible = "nvmem-cells";
-                               #address-cells = <1>;
-                               #size-cells = <1>;
-
-                               macaddr_dp1: macaddr@0 {
-                                       reg = <0x0 0x6>;
-                               };
-
-                               macaddr_dp2: macaddr@1 {
-                                       reg = <0x6 0x6>;
-                               };
-
-                               macaddr_dp3: macaddr@2 {
-                                       reg = <0xc 0x6>;
-                               };
-
-                               macaddr_dp4: macaddr@3 {
-                                       reg = <0x12 0x6>;
-                               };
-
-                               macaddr_dp5: macaddr@4 {
-                                       reg = <0x18 0x6>;
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_dp1: macaddr@0 {
+                                               reg = <0x0 0x6>;
+                                       };
+
+                                       macaddr_dp2: macaddr@1 {
+                                               reg = <0x6 0x6>;
+                                       };
+
+                                       macaddr_dp3: macaddr@2 {
+                                               reg = <0xc 0x6>;
+                                       };
+
+                                       macaddr_dp4: macaddr@3 {
+                                               reg = <0x12 0x6>;
+                                       };
+
+                                       macaddr_dp5: macaddr@4 {
+                                               reg = <0x18 0x6>;
+                                       };
+
+                                       macaddr_dp6_syn: macaddr@5 {
+                                               reg = <0x1e 0x6>;
+                                       };
                                };
-
-                               macaddr_dp6_syn: macaddr@5 {
-                                       reg = <0x1e 0x6>;
-                               };
-
                        };
 
                        partition@1280000 {