aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-07-21 16:17:39 +0200
committerMathias Kresin <dev@kresin.me>2018-08-04 08:39:35 +0200
commitb9dbf3f3c8112d6640c780bbb939ee5816b5bfb3 (patch)
tree1135ba869fdcb258f064485e20b94f922f0805ee /target
parent0ae9396556584db2dac73364af44758a5ccf4873 (diff)
downloadupstream-b9dbf3f3c8112d6640c780bbb939ee5816b5bfb3.tar.gz
upstream-b9dbf3f3c8112d6640c780bbb939ee5816b5bfb3.tar.bz2
upstream-b9dbf3f3c8112d6640c780bbb939ee5816b5bfb3.zip
ramips: fix cpu related dtc warnings
We need a reg property if we are using a unit address. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/mt7620a.dtsi4
-rw-r--r--target/linux/ramips/dts/mt7620n.dtsi4
-rw-r--r--target/linux/ramips/dts/mt7621.dtsi4
-rw-r--r--target/linux/ramips/dts/mt7628an.dtsi4
-rw-r--r--target/linux/ramips/dts/rt2880.dtsi4
-rw-r--r--target/linux/ramips/dts/rt3050.dtsi4
-rw-r--r--target/linux/ramips/dts/rt3352.dtsi4
-rw-r--r--target/linux/ramips/dts/rt3883.dtsi4
-rw-r--r--target/linux/ramips/dts/rt5350.dtsi4
9 files changed, 34 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi
index 83ff102745..f6db96ac18 100644
--- a/target/linux/ramips/dts/mt7620a.dtsi
+++ b/target/linux/ramips/dts/mt7620a.dtsi
@@ -4,8 +4,12 @@
compatible = "ralink,mtk7620a-soc";
cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
cpu@0 {
compatible = "mips,mips24KEc";
+ reg = <0>;
};
};
diff --git a/target/linux/ramips/dts/mt7620n.dtsi b/target/linux/ramips/dts/mt7620n.dtsi
index 78d12a2686..dd2cda8d80 100644
--- a/target/linux/ramips/dts/mt7620n.dtsi
+++ b/target/linux/ramips/dts/mt7620n.dtsi
@@ -4,8 +4,12 @@
compatible = "ralink,mtk7620n-soc";
cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
cpu@0 {
compatible = "mips,mips24KEc";
+ reg = <0>;
};
};
diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi
index 0655e35301..cb830128d8 100644
--- a/target/linux/ramips/dts/mt7621.dtsi
+++ b/target/linux/ramips/dts/mt7621.dtsi
@@ -12,13 +12,13 @@
cpu@0 {
device_type = "cpu";
compatible = "mips,mips1004Kc";
- reg = <0x0>;
+ reg = <0>;
};
cpu@1 {
device_type = "cpu";
compatible = "mips,mips1004Kc";
- reg = <0x1>;
+ reg = <1>;
};
};
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi
index 0afd9e3234..5998a1187b 100644
--- a/target/linux/ramips/dts/mt7628an.dtsi
+++ b/target/linux/ramips/dts/mt7628an.dtsi
@@ -4,8 +4,12 @@
compatible = "ralink,mtk7628an-soc";
cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
cpu@0 {
compatible = "mips,mips24KEc";
+ reg = <0>;
};
};
diff --git a/target/linux/ramips/dts/rt2880.dtsi b/target/linux/ramips/dts/rt2880.dtsi
index 2d6230c7ad..2bb774f156 100644
--- a/target/linux/ramips/dts/rt2880.dtsi
+++ b/target/linux/ramips/dts/rt2880.dtsi
@@ -4,8 +4,12 @@
compatible = "ralink,rt2880-soc";
cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
cpu@0 {
compatible = "mips,mips24KEc";
+ reg = <0>;
};
};
diff --git a/target/linux/ramips/dts/rt3050.dtsi b/target/linux/ramips/dts/rt3050.dtsi
index bd51838bac..7e48b6a8fd 100644
--- a/target/linux/ramips/dts/rt3050.dtsi
+++ b/target/linux/ramips/dts/rt3050.dtsi
@@ -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>;
};
};
diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi
index e6e49eeafd..dc9bae4665 100644
--- a/target/linux/ramips/dts/rt3352.dtsi
+++ b/target/linux/ramips/dts/rt3352.dtsi
@@ -4,8 +4,12 @@
compatible = "ralink,rt3352-soc";
cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
cpu@0 {
compatible = "mips,mips24KEc";
+ reg = <0>;
};
};
diff --git a/target/linux/ramips/dts/rt3883.dtsi b/target/linux/ramips/dts/rt3883.dtsi
index 193a3ee1cc..ceb7164951 100644
--- a/target/linux/ramips/dts/rt3883.dtsi
+++ b/target/linux/ramips/dts/rt3883.dtsi
@@ -4,8 +4,12 @@
compatible = "ralink,rt3883-soc";
cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
cpu@0 {
compatible = "mips,mips74Kc";
+ reg = <0>;
};
};
diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi
index 843ea30194..6ee3044104 100644
--- a/target/linux/ramips/dts/rt5350.dtsi
+++ b/target/linux/ramips/dts/rt5350.dtsi
@@ -4,8 +4,12 @@
compatible = "ralink,rt5350-soc";
cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
cpu@0 {
compatible = "mips,mips24KEc";
+ reg = <0>;
};
};