mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
arm64: dts: rockchip: rk1808: support cpu idle
Change-Id: Ic72e2f01e81c0e8853b90158675092595973b94a Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
This commit is contained in:
committed by
Tao Huang
parent
6dfc7913e7
commit
f9d77e7b33
@@ -53,6 +53,7 @@
|
||||
operating-points-v2 = <&cpu0_opp_table>;
|
||||
dynamic-power-coefficient = <74>;
|
||||
#cooling-cells = <2>;
|
||||
cpu-idle-states = <&CPU_SLEEP>;
|
||||
};
|
||||
|
||||
cpu1: cpu@1 {
|
||||
@@ -63,6 +64,29 @@
|
||||
clocks = <&cru ARMCLK>;
|
||||
operating-points-v2 = <&cpu0_opp_table>;
|
||||
dynamic-power-coefficient = <74>;
|
||||
cpu-idle-states = <&CPU_SLEEP>;
|
||||
};
|
||||
|
||||
idle-states {
|
||||
entry-method = "psci";
|
||||
|
||||
CPU_SLEEP: cpu-sleep {
|
||||
compatible = "arm,idle-state";
|
||||
local-timer-stop;
|
||||
arm,psci-suspend-param = <0x0010000>;
|
||||
entry-latency-us = <120>;
|
||||
exit-latency-us = <250>;
|
||||
min-residency-us = <900>;
|
||||
};
|
||||
|
||||
CLUSTER_SLEEP: cluster-sleep {
|
||||
compatible = "arm,idle-state";
|
||||
local-timer-stop;
|
||||
arm,psci-suspend-param = <0x1010000>;
|
||||
entry-latency-us = <400>;
|
||||
exit-latency-us = <500>;
|
||||
min-residency-us = <2000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1115,6 +1139,14 @@
|
||||
reg = <0x0 0xff640000 0x0 0x1000>;
|
||||
};
|
||||
|
||||
rktimer: rktimer@ff700000 {
|
||||
compatible = "rockchip,rk3288-timer";
|
||||
reg = <0x0 0xff700000 0x0 0x1000>;
|
||||
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&cru PCLK_TIMER>, <&cru SCLK_TIMER0>;
|
||||
clock-names = "pclk", "timer";
|
||||
};
|
||||
|
||||
wdt: watchdog@ff720000 {
|
||||
compatible = "snps,dw-wdt";
|
||||
reg = <0x0 0xff720000 0x0 0x100>;
|
||||
|
||||
Reference in New Issue
Block a user