ARM: dts: rockchip: Add CPU resets for RK3128
authorAlex Bee <knaerzche@gmail.com>
Tue, 29 Aug 2023 21:40:05 +0000 (23:40 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 4 Oct 2023 21:27:04 +0000 (23:27 +0200)
In order to support bring-up of the non-boot cores, this patch adds the
reset controls for the cpu cores.
They are required/will be used by the Rockchip platsmp driver.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
Link: https://lore.kernel.org/r/20230829214004.314932-6-knaerzche@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rockchip/rk3128.dtsi

index 3a0856973795d2c48637bba1ef8be494c2d125f4..2778049003a18c678dba43d58305c58b08a575dc 100644 (file)
@@ -34,6 +34,7 @@
                        reg = <0xf00>;
                        clock-latency = <40000>;
                        clocks = <&cru ARMCLK>;
+                       resets = <&cru SRST_CORE0>;
                        operating-points = <
                                /* KHz    uV */
                                 816000 1000000
                        device_type = "cpu";
                        compatible = "arm,cortex-a7";
                        reg = <0xf01>;
+                       resets = <&cru SRST_CORE1>;
                };
 
                cpu2: cpu@f02 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a7";
                        reg = <0xf02>;
+                       resets = <&cru SRST_CORE2>;
                };
 
                cpu3: cpu@f03 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a7";
                        reg = <0xf03>;
+                       resets = <&cru SRST_CORE3>;
                };
        };