arm64: dts: imx93: add cpuidle node
authorPeng Fan <peng.fan@nxp.com>
Wed, 10 May 2023 08:31:52 +0000 (16:31 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 15 May 2023 03:30:14 +0000 (11:30 +0800)
Add cpuidle node to support cpu idle.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx93.dtsi

index 5c5652ae4ee07cc2bf3e6a04590e1573af3a3689..dc444ca394afdf2d4a6567ab3cdc42d2034f3da2 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
 
+               idle-states {
+                       entry-method = "psci";
+
+                       cpu_pd_wait: cpu-pd-wait {
+                               compatible = "arm,idle-state";
+                               arm,psci-suspend-param = <0x0010033>;
+                               local-timer-stop;
+                               entry-latency-us = <10000>;
+                               exit-latency-us = <7000>;
+                               min-residency-us = <27000>;
+                               wakeup-latency-us = <15000>;
+                       };
+               };
+
                A55_0: cpu@0 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a55";
                        reg = <0x0>;
                        enable-method = "psci";
                        #cooling-cells = <2>;
+                       cpu-idle-states = <&cpu_pd_wait>;
                };
 
                A55_1: cpu@100 {
@@ -60,6 +75,7 @@
                        reg = <0x100>;
                        enable-method = "psci";
                        #cooling-cells = <2>;
+                       cpu-idle-states = <&cpu_pd_wait>;
                };
 
        };