arm64: dts: rockchip: rv1126b: enable cpu-idle

Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>
Change-Id: I85b384e12692909826ad1fbe8b3d010ed0210c0d
This commit is contained in:
XiaoDong Huang
2025-04-04 17:52:11 +08:00
committed by XiaoDongHuang
parent b3f391724a
commit fa686722e4

View File

@@ -247,6 +247,7 @@
enable-method = "psci";
clocks = <&cru ARMCLK>;
operating-points-v2 = <&cpu_opp_table>;
cpu-idle-states = <&CPU_SLEEP>;
};
cpu1: cpu@1 {
device_type = "cpu";
@@ -255,6 +256,7 @@
enable-method = "psci";
clocks = <&cru ARMCLK>;
operating-points-v2 = <&cpu_opp_table>;
cpu-idle-states = <&CPU_SLEEP>;
};
cpu2: cpu@2 {
device_type = "cpu";
@@ -263,6 +265,7 @@
enable-method = "psci";
clocks = <&cru ARMCLK>;
operating-points-v2 = <&cpu_opp_table>;
cpu-idle-states = <&CPU_SLEEP>;
};
cpu3: cpu@3 {
device_type = "cpu";
@@ -271,6 +274,20 @@
enable-method = "psci";
clocks = <&cru ARMCLK>;
operating-points-v2 = <&cpu_opp_table>;
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>;
};
};
};