Skip to content

Commit 36ff67b

Browse files
Rob Herringolofj
authored andcommitted
ARM: dts: add device_type prop to cpu nodes on Calxeda platforms
While device_type is considered deprecated, it is still needed for tools like lshw to identify cpu nodes. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Olof Johansson <olof@lixom.net>
1 parent d1c3ed6 commit 36ff67b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

arch/arm/boot/dts/ecx-2000.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,31 @@
3232

3333
cpu@0 {
3434
compatible = "arm,cortex-a15";
35+
device_type = "cpu";
3536
reg = <0>;
3637
clocks = <&a9pll>;
3738
clock-names = "cpu";
3839
};
3940

4041
cpu@1 {
4142
compatible = "arm,cortex-a15";
43+
device_type = "cpu";
4244
reg = <1>;
4345
clocks = <&a9pll>;
4446
clock-names = "cpu";
4547
};
4648

4749
cpu@2 {
4850
compatible = "arm,cortex-a15";
51+
device_type = "cpu";
4952
reg = <2>;
5053
clocks = <&a9pll>;
5154
clock-names = "cpu";
5255
};
5356

5457
cpu@3 {
5558
compatible = "arm,cortex-a15";
59+
device_type = "cpu";
5660
reg = <3>;
5761
clocks = <&a9pll>;
5862
clock-names = "cpu";

arch/arm/boot/dts/highbank.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232

3333
cpu@0 {
3434
compatible = "arm,cortex-a9";
35+
device_type = "cpu";
3536
reg = <0>;
3637
next-level-cache = <&L2>;
3738
clocks = <&a9pll>;
@@ -40,6 +41,7 @@
4041

4142
cpu@1 {
4243
compatible = "arm,cortex-a9";
44+
device_type = "cpu";
4345
reg = <1>;
4446
next-level-cache = <&L2>;
4547
clocks = <&a9pll>;
@@ -48,6 +50,7 @@
4850

4951
cpu@2 {
5052
compatible = "arm,cortex-a9";
53+
device_type = "cpu";
5154
reg = <2>;
5255
next-level-cache = <&L2>;
5356
clocks = <&a9pll>;
@@ -56,6 +59,7 @@
5659

5760
cpu@3 {
5861
compatible = "arm,cortex-a9";
62+
device_type = "cpu";
5963
reg = <3>;
6064
next-level-cache = <&L2>;
6165
clocks = <&a9pll>;

0 commit comments

Comments
 (0)