diff options
author | Yuantian Tang <andy.tang@nxp.com> | 2017-06-20 08:01:00 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-09-25 07:25:43 (GMT) |
commit | e90dc31ec95e99ffc6074cc8d86deb1e992b9535 (patch) | |
tree | cc3fbde47cb434a19ce1502f433041c4d43e4ce4 /arch/arm64/boot | |
parent | f506c916d916d5f0e4f9fdd228b61d01380338ae (diff) | |
download | linux-e90dc31ec95e99ffc6074cc8d86deb1e992b9535.tar.xz |
arm64: dts: ls1012a: add cpu idle support
Signed-off-by: Tang Yuantian <andy.tang@nxp.com>
Diffstat (limited to 'arch/arm64/boot')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi index f014b6f..e54a436 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi @@ -70,6 +70,24 @@ reg = <0x0>; clocks = <&clockgen 1 0>; #cooling-cells = <2>; + cpu-idle-states = <&CPU_PH20>; + }; + }; + + idle-states { + /* + * PSCI node is not added default, U-boot will add missing + * parts if it determines to use PSCI. + */ + entry-method = "arm,psci"; + + CPU_PH20: cpu-ph20 { + compatible = "arm,idle-state"; + idle-state-name = "PH20"; + arm,psci-suspend-param = <0x00010000>; + entry-latency-us = <1000>; + exit-latency-us = <1000>; + min-residency-us = <3000>; }; }; |