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>
openwrt-19.07
Mathias Kresin 2018-07-21 16:17:39 +02:00
parent 0ae9396556
commit b9dbf3f3c8
9 changed files with 34 additions and 2 deletions

View File

@ -4,8 +4,12 @@
compatible = "ralink,mtk7620a-soc"; compatible = "ralink,mtk7620a-soc";
cpus { cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 { cpu@0 {
compatible = "mips,mips24KEc"; compatible = "mips,mips24KEc";
reg = <0>;
}; };
}; };

View File

@ -4,8 +4,12 @@
compatible = "ralink,mtk7620n-soc"; compatible = "ralink,mtk7620n-soc";
cpus { cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 { cpu@0 {
compatible = "mips,mips24KEc"; compatible = "mips,mips24KEc";
reg = <0>;
}; };
}; };

View File

@ -12,13 +12,13 @@
cpu@0 { cpu@0 {
device_type = "cpu"; device_type = "cpu";
compatible = "mips,mips1004Kc"; compatible = "mips,mips1004Kc";
reg = <0x0>; reg = <0>;
}; };
cpu@1 { cpu@1 {
device_type = "cpu"; device_type = "cpu";
compatible = "mips,mips1004Kc"; compatible = "mips,mips1004Kc";
reg = <0x1>; reg = <1>;
}; };
}; };

View File

@ -4,8 +4,12 @@
compatible = "ralink,mtk7628an-soc"; compatible = "ralink,mtk7628an-soc";
cpus { cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 { cpu@0 {
compatible = "mips,mips24KEc"; compatible = "mips,mips24KEc";
reg = <0>;
}; };
}; };

View File

@ -4,8 +4,12 @@
compatible = "ralink,rt2880-soc"; compatible = "ralink,rt2880-soc";
cpus { cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 { cpu@0 {
compatible = "mips,mips24KEc"; compatible = "mips,mips24KEc";
reg = <0>;
}; };
}; };

View File

@ -4,8 +4,12 @@
compatible = "ralink,rt3050-soc", "ralink,rt3052-soc", "ralink,rt3350-soc"; compatible = "ralink,rt3050-soc", "ralink,rt3052-soc", "ralink,rt3350-soc";
cpus { cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 { cpu@0 {
compatible = "mips,mips24KEc"; compatible = "mips,mips24KEc";
reg = <0>;
}; };
}; };

View File

@ -4,8 +4,12 @@
compatible = "ralink,rt3352-soc"; compatible = "ralink,rt3352-soc";
cpus { cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 { cpu@0 {
compatible = "mips,mips24KEc"; compatible = "mips,mips24KEc";
reg = <0>;
}; };
}; };

View File

@ -4,8 +4,12 @@
compatible = "ralink,rt3883-soc"; compatible = "ralink,rt3883-soc";
cpus { cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 { cpu@0 {
compatible = "mips,mips74Kc"; compatible = "mips,mips74Kc";
reg = <0>;
}; };
}; };

View File

@ -4,8 +4,12 @@
compatible = "ralink,rt5350-soc"; compatible = "ralink,rt5350-soc";
cpus { cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 { cpu@0 {
compatible = "mips,mips24KEc"; compatible = "mips,mips24KEc";
reg = <0>;
}; };
}; };