ARM: dts: rockchip: Enable SMP bring-up for RK3128
authorAlex Bee <knaerzche@gmail.com>
Tue, 29 Aug 2023 21:40:07 +0000 (23:40 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 4 Oct 2023 21:27:04 +0000 (23:27 +0200)
For bring-up 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@gmail.com>
Link: https://lore.kernel.org/r/20230829214004.314932-8-knaerzche@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rockchip/rk3128.dtsi

index 2778049003a18c678dba43d58305c58b08a575dc..877854dd765d6175c583e3303a289ab21177f569 100644 (file)
@@ -27,6 +27,7 @@
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
+               enable-method = "rockchip,rk3036-smp";
 
                cpu0: cpu@f00 {
                        device_type = "cpu";
                #address-cells = <1>;
                #size-cells = <1>;
                ranges = <0 0x10080000 0x2000>;
+
+               smp-sram@0 {
+                       compatible = "rockchip,rk3066-smp-sram";
+                       reg = <0x00 0x10>;
+               };
        };
 
        pmu: syscon@100a0000 {