Skip to contentSkip to conversation

ARM: keystone: dts: add psci command definition

PATCH New Russell King 1 participant 1 message Jun 3, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 7/8 ARM: keystone: dts: add psci command definition

From: Vitaly Andrianov <[email protected]>

This commit adds definition for cpu_on, cpu_off and cpu_suspend commands. These definitions must match the corresponding PSCI definitions in boot monitor.

Having those command and corresponding PSCI support in boot monitor allows run time CPU hot plugin.

---
 arch/arm/boot/dts/keystone.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/boot/dts/keystone.dtsi +8 -0
index 3f272826f537..007648971744 100644
@@ -59,6 +59,14 @@
 			     <GIC_SPI 23 IRQ_TYPE_EDGE_RISING>;
 	};
 
+	psci {
+		compatible	= "arm,psci";
+		method		= "smc";
+		cpu_suspend	= <0x84000001>;
+		cpu_off		= <0x84000002>;
+		cpu_on		= <0x84000003>;
+	};
+
 	soc {
 		#address-cells = <1>;
 		#size-cells = <1>;
Signature · 1 line
2.1.0