Skip to content

Commit 730f6b2

Browse files
MrVanShawn Guo
authored andcommitted
arm64: dts: imx952: Add idle-states node
Add idle-states node and refer it in A55 nodes to enable cpuidle. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
1 parent 5eb7405 commit 730f6b2

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

arch/arm64/boot/dts/freescale/imx952.dtsi

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: (GPL-2.0-only OR MIT)
22
/*
3-
* Copyright 2025 NXP
3+
* Copyright 2025-2026 NXP
44
*/
55

66
#include <dt-bindings/dma/fsl-edma.h>
@@ -50,12 +50,27 @@
5050
#address-cells = <1>;
5151
#size-cells = <0>;
5252

53+
idle-states {
54+
entry-method = "psci";
55+
56+
cpu_pd_wait: cpu-pd-wait {
57+
compatible = "arm,idle-state";
58+
arm,psci-suspend-param = <0x0010033>;
59+
local-timer-stop;
60+
entry-latency-us = <1000>;
61+
exit-latency-us = <700>;
62+
min-residency-us = <2700>;
63+
wakeup-latency-us = <1500>;
64+
};
65+
};
66+
5367
A55_0: cpu@0 {
5468
device_type = "cpu";
5569
compatible = "arm,cortex-a55";
5670
reg = <0x0>;
5771
enable-method = "psci";
5872
#cooling-cells = <2>;
73+
cpu-idle-states = <&cpu_pd_wait>;
5974
power-domains = <&scmi_perf IMX952_PERF_A55>;
6075
power-domain-names = "perf";
6176
i-cache-size = <32768>;
@@ -73,6 +88,7 @@
7388
reg = <0x100>;
7489
enable-method = "psci";
7590
#cooling-cells = <2>;
91+
cpu-idle-states = <&cpu_pd_wait>;
7692
power-domains = <&scmi_perf IMX952_PERF_A55>;
7793
power-domain-names = "perf";
7894
i-cache-size = <32768>;
@@ -90,6 +106,7 @@
90106
reg = <0x200>;
91107
enable-method = "psci";
92108
#cooling-cells = <2>;
109+
cpu-idle-states = <&cpu_pd_wait>;
93110
power-domains = <&scmi_perf IMX952_PERF_A55>;
94111
power-domain-names = "perf";
95112
i-cache-size = <32768>;
@@ -107,6 +124,7 @@
107124
reg = <0x300>;
108125
enable-method = "psci";
109126
#cooling-cells = <2>;
127+
cpu-idle-states = <&cpu_pd_wait>;
110128
power-domains = <&scmi_perf IMX952_PERF_A55>;
111129
power-domain-names = "perf";
112130
i-cache-size = <32768>;

0 commit comments

Comments
 (0)