summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts
diff options
context:
space:
mode:
authorYuantian Tang <andy.tang@nxp.com>2017-06-20 08:02:34 (GMT)
committerXie Xiaobo <xiaobo.xie@nxp.com>2017-09-25 07:25:42 (GMT)
commitc3531b4949137655056cae7b99c9885aaf145ee0 (patch)
treeaf38b30712d0b9a2cd2641400344cf3ab55aa548 /arch/arm64/boot/dts
parentfde2fa751a1ec74444a226995dc65e3f509241c8 (diff)
downloadlinux-c3531b4949137655056cae7b99c9885aaf145ee0.tar.xz
arm64: dts: ls2088a: add cpu idle support
Signed-off-by: Tang Yuantian <andy.tang@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts')
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi
index 7d26531..65677d1 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2088a.dtsi
@@ -55,6 +55,7 @@
clocks = <&clockgen 1 0>;
next-level-cache = <&cluster0_l2>;
#cooling-cells = <2>;
+ cpu-idle-states = <&CPU_PH20>;
};
cpu1: cpu@1 {
@@ -63,6 +64,7 @@
reg = <0x1>;
clocks = <&clockgen 1 0>;
next-level-cache = <&cluster0_l2>;
+ cpu-idle-states = <&CPU_PH20>;
};
cpu2: cpu@100 {
@@ -72,6 +74,7 @@
clocks = <&clockgen 1 1>;
next-level-cache = <&cluster1_l2>;
#cooling-cells = <2>;
+ cpu-idle-states = <&CPU_PH20>;
};
cpu3: cpu@101 {
@@ -80,6 +83,7 @@
reg = <0x101>;
clocks = <&clockgen 1 1>;
next-level-cache = <&cluster1_l2>;
+ cpu-idle-states = <&CPU_PH20>;
};
cpu4: cpu@200 {
@@ -89,6 +93,7 @@
clocks = <&clockgen 1 2>;
next-level-cache = <&cluster2_l2>;
#cooling-cells = <2>;
+ cpu-idle-states = <&CPU_PH20>;
};
cpu5: cpu@201 {
@@ -97,6 +102,7 @@
reg = <0x201>;
clocks = <&clockgen 1 2>;
next-level-cache = <&cluster2_l2>;
+ cpu-idle-states = <&CPU_PH20>;
};
cpu6: cpu@300 {
@@ -106,6 +112,7 @@
clocks = <&clockgen 1 3>;
next-level-cache = <&cluster3_l2>;
#cooling-cells = <2>;
+ cpu-idle-states = <&CPU_PH20>;
};
cpu7: cpu@301 {
@@ -114,6 +121,24 @@
reg = <0x301>;
clocks = <&clockgen 1 3>;
next-level-cache = <&cluster3_l2>;
+ 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>;
+ };
};
cluster0_l2: l2-cache0 {