[PATCH 18/31] ARM: dts: rockchip: Enable SMP bringup for RK312x
Alex Bee
knaerzche at gmail.com
Tue Aug 29 10:16:34 PDT 2023
For bringup of the non-boot cpu cores the enable-method for RK3036 can be
re-used.
This adds a (small) chunk of SRAM for execution of the SMP trampoline code
and the respective enable-method property to the cpus.
Signed-off-by: Alex Bee <knaerzche at gmail.com>
---
arch/arm/boot/dts/rockchip/rk312x.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/rockchip/rk312x.dtsi b/arch/arm/boot/dts/rockchip/rk312x.dtsi
index b195ac525c37..08b953b005ff 100644
--- a/arch/arm/boot/dts/rockchip/rk312x.dtsi
+++ b/arch/arm/boot/dts/rockchip/rk312x.dtsi
@@ -27,6 +27,7 @@ arm-pmu {
cpus {
#address-cells = <1>;
#size-cells = <0>;
+ enable-method = "rockchip,rk3036-smp";
cpu0: cpu at f00 {
device_type = "cpu";
@@ -87,6 +88,11 @@ imem: sram at 10080000 {
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0x10080000 0x2000>;
+
+ smp-sram at 0 {
+ compatible = "rockchip,rk3066-smp-sram";
+ reg = <0x00 0x10>;
+ };
};
pmu: syscon at 100a0000 {
--
2.42.0
More information about the Linux-rockchip
mailing list