ARM: vexpress: add psci support in TC2 device tree
authorAchin Gupta <achin.gupta@arm.com>
Sun, 16 Dec 2012 22:41:02 +0000 (22:41 +0000)
committerJon Medhurst <tixy@linaro.org>
Mon, 1 Jul 2013 10:05:15 +0000 (11:05 +0100)
This patch adds a psci device node to allow the ospm subsystems on the
TC2 to work with a psci backend implemented in the secure firmware. The
function offsets start from 1 instead of 0 as thats whats the current
secure firmware implements.

Signed-off-by: Achin Gupta <achin.gupta@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts

index 1abef13f9e9756190da2d4d2db6340292710e5ef..cd621a42b0da3a6e44c61ef6780845db0e197b56 100644 (file)
                clock-output-names = "oscclk6a";
        };
 
+       psci {
+               compatible      = "arm,psci";
+               method          = "smc";
+               cpu_suspend     = <0x80100001>;
+               cpu_off         = <0x80100002>;
+               cpu_on          = <0x80100003>;
+               migrate         = <0x80100004>;
+       };
+
        dcc {
                compatible = "arm,vexpress,config-bus";
                arm,vexpress,config-bridge = <&v2m_sysreg>;