Commit 0ae92144 authored by Frank Wang's avatar Frank Wang Committed by Heiko Stuebner

ARM: dts: rockchip: add cpu enable method for rk3228 SoC

This patch sets PSCI as the default cpu enable-method for RK3228 SoC.
Signed-off-by: default avatarFrank Wang <frank.wang@rock-chips.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent ec6ca8e1
...@@ -70,6 +70,7 @@ cpu0: cpu@f00 { ...@@ -70,6 +70,7 @@ cpu0: cpu@f00 {
#cooling-cells = <2>; /* min followed by max */ #cooling-cells = <2>; /* min followed by max */
clock-latency = <40000>; clock-latency = <40000>;
clocks = <&cru ARMCLK>; clocks = <&cru ARMCLK>;
enable-method = "psci";
}; };
cpu1: cpu@f01 { cpu1: cpu@f01 {
...@@ -78,6 +79,7 @@ cpu1: cpu@f01 { ...@@ -78,6 +79,7 @@ cpu1: cpu@f01 {
reg = <0xf01>; reg = <0xf01>;
resets = <&cru SRST_CORE1>; resets = <&cru SRST_CORE1>;
operating-points-v2 = <&cpu0_opp_table>; operating-points-v2 = <&cpu0_opp_table>;
enable-method = "psci";
}; };
cpu2: cpu@f02 { cpu2: cpu@f02 {
...@@ -86,6 +88,7 @@ cpu2: cpu@f02 { ...@@ -86,6 +88,7 @@ cpu2: cpu@f02 {
reg = <0xf02>; reg = <0xf02>;
resets = <&cru SRST_CORE2>; resets = <&cru SRST_CORE2>;
operating-points-v2 = <&cpu0_opp_table>; operating-points-v2 = <&cpu0_opp_table>;
enable-method = "psci";
}; };
cpu3: cpu@f03 { cpu3: cpu@f03 {
...@@ -94,6 +97,7 @@ cpu3: cpu@f03 { ...@@ -94,6 +97,7 @@ cpu3: cpu@f03 {
reg = <0xf03>; reg = <0xf03>;
resets = <&cru SRST_CORE3>; resets = <&cru SRST_CORE3>;
operating-points-v2 = <&cpu0_opp_table>; operating-points-v2 = <&cpu0_opp_table>;
enable-method = "psci";
}; };
}; };
...@@ -151,6 +155,11 @@ arm-pmu { ...@@ -151,6 +155,11 @@ arm-pmu {
interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
}; };
psci {
compatible = "arm,psci-1.0", "arm,psci-0.2";
method = "smc";
};
timer { timer {
compatible = "arm,armv7-timer"; compatible = "arm,armv7-timer";
arm,cpu-registers-not-fw-configured; arm,cpu-registers-not-fw-configured;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment