ARM: dts: imx: Adjust CPU nodes

Make CPU nodes consistent throughout the i.MX dts files, which
also matches the description from ePAPR spec.

This also fixes the following W=1 warning in some cases:

Warning (unit_address_vs_reg): Node /cpus/cpu@0 has a unit name, but no reg property

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Fabio Estevam 2016-11-16 13:15:38 -02:00 committed by Shawn Guo
parent 0c744ea4f7
commit d447dd884a
7 changed files with 18 additions and 11 deletions

View File

@ -43,8 +43,9 @@ cpus {
#size-cells = <0>; #size-cells = <0>;
#address-cells = <1>; #address-cells = <1>;
cpu: cpu@0 { cpu@0 {
device_type = "cpu"; device_type = "cpu";
reg = <0>;
compatible = "arm,arm920t"; compatible = "arm,arm920t";
operating-points = <200000 1900000>; operating-points = <200000 1900000>;
clock-latency = <62500>; clock-latency = <62500>;

View File

@ -29,12 +29,13 @@ aliases {
}; };
cpus { cpus {
#address-cells = <0>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
cpu { cpu@0 {
compatible = "arm,arm926ej-s"; compatible = "arm,arm926ej-s";
device_type = "cpu"; device_type = "cpu";
reg = <0>;
}; };
}; };

View File

@ -43,12 +43,13 @@ aliases {
}; };
cpus { cpus {
#address-cells = <0>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
cpu { cpu@0 {
compatible = "arm,arm926ej-s"; compatible = "arm,arm926ej-s";
device_type = "cpu"; device_type = "cpu";
reg = <0>;
}; };
}; };

View File

@ -65,6 +65,7 @@ cpus {
cpu: cpu@0 { cpu: cpu@0 {
device_type = "cpu"; device_type = "cpu";
reg = <0>;
compatible = "arm,arm926ej-s"; compatible = "arm,arm926ej-s";
operating-points = < operating-points = <
/* kHz uV */ /* kHz uV */

View File

@ -40,12 +40,13 @@ aliases {
}; };
cpus { cpus {
#address-cells = <0>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
cpu { cpu@0 {
compatible = "arm,arm926ej-s"; compatible = "arm,arm926ej-s";
device_type = "cpu"; device_type = "cpu";
reg = <0>;
}; };
}; };

View File

@ -22,12 +22,13 @@ aliases {
}; };
cpus { cpus {
#address-cells = <0>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
cpu { cpu@0 {
compatible = "arm,arm1136jf-s"; compatible = "arm,arm1136jf-s";
device_type = "cpu"; device_type = "cpu";
reg = <0>;
}; };
}; };

View File

@ -27,12 +27,13 @@ aliases {
}; };
cpus { cpus {
#address-cells = <0>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
cpu { cpu@0 {
compatible = "arm,arm1136jf-s"; compatible = "arm,arm1136jf-s";
device_type = "cpu"; device_type = "cpu";
reg = <0>;
}; };
}; };