Commit d447dd88 authored by Fabio Estevam's avatar Fabio Estevam Committed by Shawn Guo

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: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 0c744ea4
...@@ -43,8 +43,9 @@ cpus { ...@@ -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>;
......
...@@ -29,12 +29,13 @@ aliases { ...@@ -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>;
}; };
}; };
......
...@@ -43,12 +43,13 @@ aliases { ...@@ -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>;
}; };
}; };
......
...@@ -65,6 +65,7 @@ cpus { ...@@ -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 */
......
...@@ -40,12 +40,13 @@ aliases { ...@@ -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>;
}; };
}; };
......
...@@ -22,12 +22,13 @@ aliases { ...@@ -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>;
}; };
}; };
......
...@@ -27,12 +27,13 @@ aliases { ...@@ -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>;
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment