Skip to content
/ linux Public
forked from torvalds/linux

Commit

Permalink
arm64: dts: imx8ulp: add cpuidle node
Browse files Browse the repository at this point in the history
Add cpuidle node and enable cpuidle for dual cores. The HW mode in
Arm Trusted Firmware is SoC Application Power Domain Sleep mode.

Signed-off-by: Jacky Bai <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
  • Loading branch information
MrVan authored and Shawn Guo committed Jul 30, 2023
1 parent a9624b4 commit db2c35a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions arch/arm64/boot/dts/freescale/imx8ulp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
reg = <0x0 0x0>;
enable-method = "psci";
next-level-cache = <&A35_L2>;
cpu-idle-states = <&cpu_sleep>;
};

A35_1: cpu@1 {
Expand All @@ -48,13 +49,27 @@
reg = <0x0 0x1>;
enable-method = "psci";
next-level-cache = <&A35_L2>;
cpu-idle-states = <&cpu_sleep>;
};

A35_L2: l2-cache0 {
compatible = "cache";
cache-level = <2>;
cache-unified;
};

idle-states {
entry-method = "psci";

cpu_sleep: cpu-sleep {
compatible = "arm,idle-state";
arm,psci-suspend-param = <0x0>;
local-timer-stop;
entry-latency-us = <1000>;
exit-latency-us = <700>;
min-residency-us = <2700>;
};
};
};

gic: interrupt-controller@2d400000 {
Expand Down

0 comments on commit db2c35a

Please sign in to comment.