mpc85xx: fix some dtc warnings
authorRosen Penev <rosenp@gmail.com>
Thu, 30 Nov 2023 22:15:11 +0000 (14:15 -0800)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 2 Dec 2023 20:57:38 +0000 (21:57 +0100)
Mostly missing/wrong addresses.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
target/linux/mpc85xx/files/arch/powerpc/boot/dts/br200-wp.dts
target/linux/mpc85xx/files/arch/powerpc/boot/dts/firebox-t10.dts
target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts
target/linux/mpc85xx/files/arch/powerpc/boot/dts/panda.dts
target/linux/mpc85xx/files/arch/powerpc/boot/dts/red-15w-rev1.dts
target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3710i.dts
target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3715i.dts

index f7d7b4cf08c12150ae700d63b4db2ba4167f8247..39c3f137da699ff9ef0cb4e556051e5f719dc9ad 100644 (file)
@@ -43,9 +43,7 @@
                reg = <0 0xffe05000 0 0x1000>;
                ranges = <0x0 0x0 0x0 0xec000000 0x4000000>;
 
-               nor@0,0 {
-                       #address-cells = <1>;
-                       #size-cells = <1>;
+               nor@0 {
                        compatible = "cfi-flash";
                        reg = <0x0 0x0 0x4000000>;
                        bank-width = <2>;
 
                        switch@10 {
                                compatible = "qca,qca8327";
-                               #address-cells = <1>;
-                               #size-cells = <0>;
                                reg = <0x10>;
                                reset-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
 
index 607706a2d434c2cd802b458c58f7a27488c20ebc..89d8afe463a4a12e07f8c57cbdbedeac886eca3f 100644 (file)
                        0x1 0x0 0x0 0xff800000 0x00010000
                        0x3 0x0 0x0 0xffb00000 0x00000020>;
 
-               nand@1,0 {
+               nand@100000000 {
                        compatible = "fsl,ifc-nand";
                        reg = <0x1 0x0 0x10000>;
 
index f74aca58c0d17fbba5d846dfb8eb7a3a9bbeee66..6ad5c4ccd6d4132684fe2fca4c60cad739e4e833 100644 (file)
@@ -35,7 +35,7 @@
                reg = <0 0xffe05000 0 0x1000>;
                ranges = <0x0 0x0 0x0 0xec000000 0x4000000>;
 
-               nor@0,0 {
+               nor@0 {
                        #address-cells = <1>;
                        #size-cells = <1>;
                        compatible = "cfi-flash";
index 9be822f7bb8acf80f24a09b95f2909fe379e5c3c..4b3b52d35b129061c810ed85b9d34668923fd50f 100644 (file)
@@ -31,7 +31,7 @@
                          0x2 0x0 0x0 0xffa00000 0x00020000
                          0x3 0x0 0x0 0xffb00000 0x00020000>;
 
-               nand@1,0 {
+               nand@100000000 {
                        compatible = "fsl,p1020-fcm-nand", "fsl,elbc-fcm-nand";
                        reg = <0x1 0x0 0x40000>;
 
index db35602b94b5b7a77dc7c08fc830f80fba56522c..19bb8023ed5db9d3a4ab05801f5dfd06834779b6 100644 (file)
                        0x1 0x0 0x0 0xff800000 0x00010000
                        0x3 0x0 0x0 0xffb00000 0x00000020>;
 
-               nand@1,0 {
+               nand@100000000 {
                        compatible = "fsl,ifc-nand";
                        reg = <0x1 0x0 0x10000>;
 
                                        read-only;
                                };
 
-                               partition@300000 {
-                                       reg = <0x300000 0x800000>;
-                                       label = "kernel";
-                               };
-
-                               partition@b00000 {
-                                       reg = <0xb00000 0x7500000>;
-                                       label = "ubi";
-                               };
-
                                oem-partition@300000 {
                                        reg = <0x300000 0x1900000>;
                                        label = "sophos-os1";
+
+                                       compatible = "fixed-partitions";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       partition@0 {
+                                               reg = <0x0 0x800000>;
+                                               label = "kernel";
+                                       };
+
+                                       partition@800000 {
+                                               reg = <0x800000 0x7500000>;
+                                               label = "ubi";
+                                       };
                                };
 
                                oem-partition@1c00000 {
index ef46d8f14affee81688cddbf703c1fe9a4f4606b..5cf3c26fc93764484f31220308eea9026ade522a 100644 (file)
                                reg = <4>;
                        };
 
-                       switch@0 {
+                       switch@10 {
                                compatible = "qca,qca8327";
-                               #address-cells = <1>;
-                               #size-cells = <0>;
                                reg = <0x10>;
 
                                ports {
index 5d81da4686413977606e04279e84739dab232f14..72b8f7a9d6e9ac99a1e6edf0355f481d51d60c42 100644 (file)
@@ -60,7 +60,7 @@
                reg = <0 0xffe05000 0 0x1000>;
                ranges = <0x0 0x0 0x0 0xee000000 0x2000000>;
 
-               nor@0,0 {
+               nor@0 {
                        #address-cells = <1>;
                        #size-cells = <1>;
                        compatible = "cfi-flash";
index af8917ffe1ab4d40008b9e518422c0c76e7c57f8..764c8a31c8ae189405880abf71343af6b1c4b5a1 100644 (file)
                                  0x1000000 0x0 0x0
                                  0x0 0x100000>;
 
-                       wifi@0,0,0 {
+                       wifi@0,0 {
                                compatible = "pci168c,0033";
                                reg = <0x0 0 0 0 0>;
                                ieee80211-freq-limit = <2400000 2500000>;
                                  0x1000000 0x0 0x0
                                  0x0 0x100000>;
                        
-                       wifi@0,0,0 {
+                       wifi@0,0 {
                                compatible = "pci168c,0033";
                                reg = <0x0 0 0 0 0>;
                                ieee80211-freq-limit = <5000000 6000000>;