OSDN Git Service

ARM: dts: rockchip: add reset for CPU nodes
authorKever Yang <kever.yang@rock-chips.com>
Wed, 15 Oct 2014 17:23:05 +0000 (10:23 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 2 Nov 2014 13:47:04 +0000 (14:47 +0100)
This patch add reset for CPU nodes to use the reset controller.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Tested-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288.dtsi

index e3b8b4d..6ffd0fb 100644 (file)
@@ -53,6 +53,7 @@
                        device_type = "cpu";
                        compatible = "arm,cortex-a12";
                        reg = <0x500>;
+                       resets = <&cru SRST_CORE0>;
                        operating-points = <
                                /* KHz    uV */
                                1608000 1350000
                        device_type = "cpu";
                        compatible = "arm,cortex-a12";
                        reg = <0x501>;
+                       resets = <&cru SRST_CORE1>;
                };
                cpu@502 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a12";
                        reg = <0x502>;
+                       resets = <&cru SRST_CORE2>;
                };
                cpu@503 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a12";
                        reg = <0x503>;
+                       resets = <&cru SRST_CORE3>;
                };
        };