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 83ff102..f6db96a 100644 (file)
@@ -4,8 +4,12 @@
        compatible = "ralink,mtk7620a-soc";
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips24KEc";
+                       reg = <0>;
                };
        };
 
index 78d12a2..dd2cda8 100644 (file)
@@ -4,8 +4,12 @@
        compatible = "ralink,mtk7620n-soc";
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips24KEc";
+                       reg = <0>;
                };
        };
 
index 0655e35..cb83012 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 0afd9e3..5998a11 100644 (file)
@@ -4,8 +4,12 @@
        compatible = "ralink,mtk7628an-soc";
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips24KEc";
+                       reg = <0>;
                };
        };
 
index 2d6230c..2bb774f 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 bd51838..7e48b6a 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 e6e49ee..dc9bae4 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 193a3ee..ceb7164 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 843ea30..6ee3044 100644 (file)
@@ -4,8 +4,12 @@
        compatible = "ralink,rt5350-soc";
 
        cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
                cpu@0 {
                        compatible = "mips,mips24KEc";
+                       reg = <0>;
                };
        };