[PATCH v3 4/6] arm: sunplus: enable SMP via PSCI on SP7021
Andrew Gaylard
ag at ffroot.co.za
Mon Sep 21 11:26:18 PDT 2026
The SP7021 firmware implements PSCI 0.2 via HVC. Add the psci node
and enable-method = "psci" on each CPU node to allow the kernel to
bring up all four Cortex-A7 cores.
Signed-off-by: Andrew Gaylard <ag at ffroot.co.za>
---
arch/arm/boot/dts/sunplus/sunplus-sp7021-achip.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/sunplus/sunplus-sp7021-achip.dtsi b/arch/arm/boot/dts/sunplus/sunplus-sp7021-achip.dtsi
index 493d32357e4e..b73cfde7ace4 100644
--- a/arch/arm/boot/dts/sunplus/sunplus-sp7021-achip.dtsi
+++ b/arch/arm/boot/dts/sunplus/sunplus-sp7021-achip.dtsi
@@ -24,27 +24,36 @@ cpu0: cpu at 0 {
device_type = "cpu";
reg = <0>;
clock-frequency = <931000000>;
+ enable-method = "psci";
};
cpu1: cpu at 1 {
compatible = "arm,cortex-a7";
device_type = "cpu";
reg = <1>;
clock-frequency = <931000000>;
+ enable-method = "psci";
};
cpu2: cpu at 2 {
compatible = "arm,cortex-a7";
device_type = "cpu";
reg = <2>;
clock-frequency = <931000000>;
+ enable-method = "psci";
};
cpu3: cpu at 3 {
compatible = "arm,cortex-a7";
device_type = "cpu";
reg = <3>;
clock-frequency = <931000000>;
+ enable-method = "psci";
};
};
+ psci {
+ compatible = "arm,psci-0.2";
+ method = "smc";
+ };
+
gic: interrupt-controller at 9f101000 {
compatible = "arm,cortex-a7-gic";
interrupt-controller;
--
2.53.0
More information about the linux-arm-kernel
mailing list