diff mbox

[1'/2] ARM: tegra20: Add cpu node

Message ID 1357910815-31603-1-git-send-email-hdoyu@nvidia.com (mailing list archive)
State New, archived
Headers show

Commit Message

Hiroshi DOYU Jan. 11, 2013, 1:26 p.m. UTC
Add cpu node for tegra20.

Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
---
Update: To be honest, T20 doesn't have four cores but two:)
---
 arch/arm/boot/dts/tegra20.dtsi |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)

Comments

Stephen Warren Jan. 11, 2013, 6:13 p.m. UTC | #1
On 01/11/2013 06:26 AM, Hiroshi Doyu wrote:
> Add cpu node for tegra20.

Applied the series to Tegra's for-3.9/soc branch, in anticipation of the
Tegra114 changes being applied to that branch, which depend on these DT
changes.

I made some minor changes to capitalization of the commit messages.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi
index 6e13d13..10dfb83 100644
--- a/arch/arm/boot/dts/tegra20.dtsi
+++ b/arch/arm/boot/dts/tegra20.dtsi
@@ -430,6 +430,23 @@ 
 		status = "disabled";
 	};
 
+	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		cpu@0 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a9";
+			reg = <0>;
+		};
+
+		cpu@1 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a9";
+			reg = <1>;
+		};
+	};
+
 	pmu {
 		compatible = "arm,cortex-a9-pmu";
 		interrupts = <0 56 0x04