ramips: fix cpu related dtc warnings
authorMathias Kresin <dev@kresin.me>
Sat, 21 Jul 2018 14:17:39 +0000 (16:17 +0200)
committerMathias Kresin <dev@kresin.me>
Sat, 4 Aug 2018 06:39:35 +0000 (08:39 +0200)
We need a reg property if we are using a unit address.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ramips/dts/mt7620a.dtsi
target/linux/ramips/dts/mt7620n.dtsi
target/linux/ramips/dts/mt7621.dtsi
target/linux/ramips/dts/mt7628an.dtsi
target/linux/ramips/dts/rt2880.dtsi
target/linux/ramips/dts/rt3050.dtsi
target/linux/ramips/dts/rt3352.dtsi
target/linux/ramips/dts/rt3883.dtsi
target/linux/ramips/dts/rt5350.dtsi

index 83ff102745e6ec9d022928ab21f543e2bb95319d..f6db96ac18ce80e40b8ffeb3def84f2a61a63c94 100644 (file)
@@ -4,8 +4,12 @@
        compatible = "ralink,mtk7620a-soc";
 
        cpus {
        compatible = "ralink,mtk7620a-soc";
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips24KEc";
                cpu@0 {
                        compatible = "mips,mips24KEc";
+                       reg = <0>;
                };
        };
 
                };
        };
 
index 78d12a26865549b828225dfeb576da2f92ce1637..dd2cda8d801ee2a9da46c2051d34d251b3bc94c8 100644 (file)
@@ -4,8 +4,12 @@
        compatible = "ralink,mtk7620n-soc";
 
        cpus {
        compatible = "ralink,mtk7620n-soc";
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips24KEc";
                cpu@0 {
                        compatible = "mips,mips24KEc";
+                       reg = <0>;
                };
        };
 
                };
        };
 
index 0655e35301cf18aa58dd6efb3bab0458a83f112b..cb830128d8f029c20b2638a763f4cede8aaa2d9b 100644 (file)
                cpu@0 {
                        device_type = "cpu";
                        compatible = "mips,mips1004Kc";
                cpu@0 {
                        device_type = "cpu";
                        compatible = "mips,mips1004Kc";
-                       reg = <0x0>;
+                       reg = <0>;
                };
 
                cpu@1 {
                        device_type = "cpu";
                        compatible = "mips,mips1004Kc";
                };
 
                cpu@1 {
                        device_type = "cpu";
                        compatible = "mips,mips1004Kc";
-                       reg = <0x1>;
+                       reg = <1>;
                };
        };
 
                };
        };
 
index 0afd9e32345da55197c7ff3ae8dc278ba26bb782..5998a1187b1183dc471f5cfa89544fb98fc2173c 100644 (file)
@@ -4,8 +4,12 @@
        compatible = "ralink,mtk7628an-soc";
 
        cpus {
        compatible = "ralink,mtk7628an-soc";
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips24KEc";
                cpu@0 {
                        compatible = "mips,mips24KEc";
+                       reg = <0>;
                };
        };
 
                };
        };
 
index 2d6230c7ad2081b788c47c5a7259a5503ce402db..2bb774f1564d78dd8ac9fbcdc97fda9e68d70062 100644 (file)
@@ -4,8 +4,12 @@
        compatible = "ralink,rt2880-soc";
 
        cpus {
        compatible = "ralink,rt2880-soc";
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips24KEc";
                cpu@0 {
                        compatible = "mips,mips24KEc";
+                       reg = <0>;
                };
        };
 
                };
        };
 
index bd51838bacdbb93457531e089e70bff2388ac310..7e48b6a8fd35cf9369fcf083f8592a7ce7ab267f 100644 (file)
@@ -4,8 +4,12 @@
        compatible = "ralink,rt3050-soc", "ralink,rt3052-soc", "ralink,rt3350-soc";
 
        cpus {
        compatible = "ralink,rt3050-soc", "ralink,rt3052-soc", "ralink,rt3350-soc";
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips24KEc";
                cpu@0 {
                        compatible = "mips,mips24KEc";
+                       reg = <0>;
                };
        };
 
                };
        };
 
index e6e49eeafd9eba5abc77ecffb2666675fd304cab..dc9bae4665cc62d032058dc7c6a31053b85a00f0 100644 (file)
@@ -4,8 +4,12 @@
        compatible = "ralink,rt3352-soc";
 
        cpus {
        compatible = "ralink,rt3352-soc";
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips24KEc";
                cpu@0 {
                        compatible = "mips,mips24KEc";
+                       reg = <0>;
                };
        };
 
                };
        };
 
index 193a3ee1ccfb2e9466fd14f1bea3ec8dcf99cdeb..ceb716495195f30be551cf0c9344600c54b88cc9 100644 (file)
@@ -4,8 +4,12 @@
        compatible = "ralink,rt3883-soc";
 
        cpus {
        compatible = "ralink,rt3883-soc";
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips74Kc";
                cpu@0 {
                        compatible = "mips,mips74Kc";
+                       reg = <0>;
                };
        };
 
                };
        };
 
index 843ea301946ed9b8ee9b22b85898c1be4e236563..6ee3044104125e8be0b36aa4b23b2d596e31fea6 100644 (file)
@@ -4,8 +4,12 @@
        compatible = "ralink,rt5350-soc";
 
        cpus {
        compatible = "ralink,rt5350-soc";
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips24KEc";
                cpu@0 {
                        compatible = "mips,mips24KEc";
+                       reg = <0>;
                };
        };
 
                };
        };