From: Duje Mihanović <[email protected]>

Add function IDs for CPU_ON and CPU_OFF from vendor kernel source. This
is done for completeness and to allow PSCI to work on the occasion that
the DT is used with an ancient kernel.

Signed-off-by: Duje Mihanović <[email protected]>
---
 arch/arm64/boot/dts/marvell/mmp/pxa1908.dtsi | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/marvell/mmp/pxa1908.dtsi 
b/arch/arm64/boot/dts/marvell/mmp/pxa1908.dtsi
index 5778bfdb8567..91022b62a39b 100644
--- a/arch/arm64/boot/dts/marvell/mmp/pxa1908.dtsi
+++ b/arch/arm64/boot/dts/marvell/mmp/pxa1908.dtsi
@@ -55,8 +55,11 @@ pmu {
        };
 
        psci {
-               compatible = "arm,psci-0.2";
+               compatible = "arm,psci-0.2", "arm,psci";
                method = "smc";
+
+               cpu_off = <0x85000001>;
+               cpu_on = <0x85000002>;
        };
 
        reserved-memory {

-- 
2.53.0


Reply via email to