ramips: fix cpu related dtc warnings
authorMathias Kresin <[email protected]>
Sat, 21 Jul 2018 14:17:39 +0000 (16:17 +0200)
committerJo-Philipp Wich <[email protected]>
Tue, 18 Dec 2018 16:47:43 +0000 (17:47 +0100)
We need a reg property if we are using a unit address.

Signed-off-by: Mathias Kresin <[email protected]>
(backported from b9dbf3f3c8112d6640c780bbb939ee5816b5bfb3)

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 62e1985aa281c2eca28c32871d52036adc1f1dde..2c2b65bf5d79f785d0d6b439d8bdae7aaee60267 100644 (file)
@@ -4,8 +4,12 @@
        compatible = "ralink,mt7620a-soc";
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips24KEc";
+                       reg = <0>;
                };
        };
 
index 58fd263d7d7a9744d02d0ee2d5c88a6447b238c1..7e9c90782b7971db2e0ba4ad063c002c3d2b9064 100644 (file)
@@ -4,8 +4,12 @@
        compatible = "ralink,mt7620n-soc";
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips24KEc";
+                       reg = <0>;
                };
        };
 
index 0655e35301cf18aa58dd6efb3bab0458a83f112b..cb830128d8f029c20b2638a763f4cede8aaa2d9b 100644 (file)
                cpu@0 {
                        device_type = "cpu";
                        compatible = "mips,mips1004Kc";
-                       reg = <0x0>;
+                       reg = <0>;
                };
 
                cpu@1 {
                        device_type = "cpu";
                        compatible = "mips,mips1004Kc";
-                       reg = <0x1>;
+                       reg = <1>;
                };
        };
 
index 7479a4fd35f652c2c2fc972c5c7c14f5686a3c89..6824432d1de0b0578c7089f546b0f4f28b8e4260 100644 (file)
@@ -4,8 +4,12 @@
        compatible = "mediatek,mt7628an-soc";
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips24KEc";
+                       reg = <0>;
                };
        };
 
index 2d6230c7ad2081b788c47c5a7259a5503ce402db..2bb774f1564d78dd8ac9fbcdc97fda9e68d70062 100644 (file)
@@ -4,8 +4,12 @@
        compatible = "ralink,rt2880-soc";
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                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 {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips24KEc";
+                       reg = <0>;
                };
        };
 
index e6e49eeafd9eba5abc77ecffb2666675fd304cab..dc9bae4665cc62d032058dc7c6a31053b85a00f0 100644 (file)
@@ -4,8 +4,12 @@
        compatible = "ralink,rt3352-soc";
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips24KEc";
+                       reg = <0>;
                };
        };
 
index 193a3ee1ccfb2e9466fd14f1bea3ec8dcf99cdeb..ceb716495195f30be551cf0c9344600c54b88cc9 100644 (file)
@@ -4,8 +4,12 @@
        compatible = "ralink,rt3883-soc";
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips74Kc";
+                       reg = <0>;
                };
        };
 
index 843ea301946ed9b8ee9b22b85898c1be4e236563..6ee3044104125e8be0b36aa4b23b2d596e31fea6 100644 (file)
@@ -4,8 +4,12 @@
        compatible = "ralink,rt5350-soc";
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips24KEc";
+                       reg = <0>;
                };
        };