diff options
author | Yuantian Tang <andy.tang@nxp.com> | 2018-02-08 10:54:34 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-02-24 10:09:51 +0300 |
commit | 9b4eefcb70ca79d7dbd3a2a2d29ef9682762eeeb (patch) | |
tree | 5a46766359b8f1545ce3958ba59544cc0e9fbede /arch/arm64/boot/dts/freescale | |
parent | 8acb019209a646db73934c52a57d4021e533f679 (diff) | |
download | linux-9b4eefcb70ca79d7dbd3a2a2d29ef9682762eeeb.tar.xz |
arm64: dts: ls1012a: add cpu idle support
Signed-off-by: Tang Yuantian <andy.tang@nxp.com>
Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale')
-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 4e98d057253b..d79d8fea1bb3 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>; }; }; |