Browse Source

xenvm: add a simple PSCI node and a second cpu

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
CC: rob.herring@calxeda.com
CC: will.deacon@arm.com
CC: arnd@arndb.de
Stefano Stabellini 12 years ago
parent
commit
d37a6e1687
1 changed files with 13 additions and 0 deletions
  1. 13 0
      arch/arm/boot/dts/xenvm-4.2.dts

+ 13 - 0
arch/arm/boot/dts/xenvm-4.2.dts

@@ -29,6 +29,19 @@
 			compatible = "arm,cortex-a15";
 			reg = <0>;
 		};
+
+		cpu@1 {
+			device_type = "cpu";
+			compatible = "arm,cortex-a15";
+			reg = <1>;
+		};
+	};
+
+	psci {
+		compatible      = "arm,psci";
+		method          = "hvc";
+		cpu_off         = <1>;
+		cpu_on          = <2>;
 	};
 
 	memory@80000000 {