[PATCH v5 6/7] xenvm: add a simple PSCI node and a second cpu

Stefano Stabellini stefano.stabellini at eu.citrix.com
Thu Apr 25 12:57:54 EDT 2013


Signed-off-by: Stefano Stabellini <stefano.stabellini at eu.citrix.com>
Acked-by: Marc Zyngier <marc.zyngier at arm.com>
CC: rob.herring at calxeda.com
CC: will.deacon at arm.com
CC: arnd at arndb.de
---
 arch/arm/boot/dts/xenvm-4.2.dts |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/xenvm-4.2.dts b/arch/arm/boot/dts/xenvm-4.2.dts
index ec3f952..3369151 100644
--- a/arch/arm/boot/dts/xenvm-4.2.dts
+++ b/arch/arm/boot/dts/xenvm-4.2.dts
@@ -29,6 +29,19 @@
 			compatible = "arm,cortex-a15";
 			reg = <0>;
 		};
+
+		cpu at 1 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a15";
+			reg = <1>;
+		};
+	};
+
+	psci {
+		compatible      = "arm,psci";
+		method          = "hvc";
+		cpu_off         = <1>;
+		cpu_on          = <2>;
 	};
 
 	memory at 80000000 {
-- 
1.7.2.5




More information about the linux-arm-kernel mailing list