Commit 00c5ce8a authored by Ran Wang's avatar Ran Wang Committed by Shawn Guo

arm64: dts: lx2160a: add cpu idle support

lx2160a supports pw20 which could help save more power during cpu is
dile. It needs system firmware support via PSCI.
Signed-off-by: default avatarRan Wang <ran.wang_1@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent ade5a57e
...@@ -33,6 +33,7 @@ cpu@0 { ...@@ -33,6 +33,7 @@ cpu@0 {
i-cache-line-size = <64>; i-cache-line-size = <64>;
i-cache-sets = <192>; i-cache-sets = <192>;
next-level-cache = <&cluster0_l2>; next-level-cache = <&cluster0_l2>;
cpu-idle-states = <&cpu_pw20>;
}; };
cpu@1 { cpu@1 {
...@@ -48,6 +49,7 @@ cpu@1 { ...@@ -48,6 +49,7 @@ cpu@1 {
i-cache-line-size = <64>; i-cache-line-size = <64>;
i-cache-sets = <192>; i-cache-sets = <192>;
next-level-cache = <&cluster0_l2>; next-level-cache = <&cluster0_l2>;
cpu-idle-states = <&cpu_pw20>;
}; };
cpu@100 { cpu@100 {
...@@ -63,6 +65,7 @@ cpu@100 { ...@@ -63,6 +65,7 @@ cpu@100 {
i-cache-line-size = <64>; i-cache-line-size = <64>;
i-cache-sets = <192>; i-cache-sets = <192>;
next-level-cache = <&cluster1_l2>; next-level-cache = <&cluster1_l2>;
cpu-idle-states = <&cpu_pw20>;
}; };
cpu@101 { cpu@101 {
...@@ -78,6 +81,7 @@ cpu@101 { ...@@ -78,6 +81,7 @@ cpu@101 {
i-cache-line-size = <64>; i-cache-line-size = <64>;
i-cache-sets = <192>; i-cache-sets = <192>;
next-level-cache = <&cluster1_l2>; next-level-cache = <&cluster1_l2>;
cpu-idle-states = <&cpu_pw20>;
}; };
cpu@200 { cpu@200 {
...@@ -93,6 +97,7 @@ cpu@200 { ...@@ -93,6 +97,7 @@ cpu@200 {
i-cache-line-size = <64>; i-cache-line-size = <64>;
i-cache-sets = <192>; i-cache-sets = <192>;
next-level-cache = <&cluster2_l2>; next-level-cache = <&cluster2_l2>;
cpu-idle-states = <&cpu_pw20>;
}; };
cpu@201 { cpu@201 {
...@@ -108,6 +113,7 @@ cpu@201 { ...@@ -108,6 +113,7 @@ cpu@201 {
i-cache-line-size = <64>; i-cache-line-size = <64>;
i-cache-sets = <192>; i-cache-sets = <192>;
next-level-cache = <&cluster2_l2>; next-level-cache = <&cluster2_l2>;
cpu-idle-states = <&cpu_pw20>;
}; };
cpu@300 { cpu@300 {
...@@ -123,6 +129,7 @@ cpu@300 { ...@@ -123,6 +129,7 @@ cpu@300 {
i-cache-line-size = <64>; i-cache-line-size = <64>;
i-cache-sets = <192>; i-cache-sets = <192>;
next-level-cache = <&cluster3_l2>; next-level-cache = <&cluster3_l2>;
cpu-idle-states = <&cpu_pw20>;
}; };
cpu@301 { cpu@301 {
...@@ -138,6 +145,7 @@ cpu@301 { ...@@ -138,6 +145,7 @@ cpu@301 {
i-cache-line-size = <64>; i-cache-line-size = <64>;
i-cache-sets = <192>; i-cache-sets = <192>;
next-level-cache = <&cluster3_l2>; next-level-cache = <&cluster3_l2>;
cpu-idle-states = <&cpu_pw20>;
}; };
cpu@400 { cpu@400 {
...@@ -153,6 +161,7 @@ cpu@400 { ...@@ -153,6 +161,7 @@ cpu@400 {
i-cache-line-size = <64>; i-cache-line-size = <64>;
i-cache-sets = <192>; i-cache-sets = <192>;
next-level-cache = <&cluster4_l2>; next-level-cache = <&cluster4_l2>;
cpu-idle-states = <&cpu_pw20>;
}; };
cpu@401 { cpu@401 {
...@@ -168,6 +177,7 @@ cpu@401 { ...@@ -168,6 +177,7 @@ cpu@401 {
i-cache-line-size = <64>; i-cache-line-size = <64>;
i-cache-sets = <192>; i-cache-sets = <192>;
next-level-cache = <&cluster4_l2>; next-level-cache = <&cluster4_l2>;
cpu-idle-states = <&cpu_pw20>;
}; };
cpu@500 { cpu@500 {
...@@ -183,6 +193,7 @@ cpu@500 { ...@@ -183,6 +193,7 @@ cpu@500 {
i-cache-line-size = <64>; i-cache-line-size = <64>;
i-cache-sets = <192>; i-cache-sets = <192>;
next-level-cache = <&cluster5_l2>; next-level-cache = <&cluster5_l2>;
cpu-idle-states = <&cpu_pw20>;
}; };
cpu@501 { cpu@501 {
...@@ -198,6 +209,7 @@ cpu@501 { ...@@ -198,6 +209,7 @@ cpu@501 {
i-cache-line-size = <64>; i-cache-line-size = <64>;
i-cache-sets = <192>; i-cache-sets = <192>;
next-level-cache = <&cluster5_l2>; next-level-cache = <&cluster5_l2>;
cpu-idle-states = <&cpu_pw20>;
}; };
cpu@600 { cpu@600 {
...@@ -213,6 +225,7 @@ cpu@600 { ...@@ -213,6 +225,7 @@ cpu@600 {
i-cache-line-size = <64>; i-cache-line-size = <64>;
i-cache-sets = <192>; i-cache-sets = <192>;
next-level-cache = <&cluster6_l2>; next-level-cache = <&cluster6_l2>;
cpu-idle-states = <&cpu_pw20>;
}; };
cpu@601 { cpu@601 {
...@@ -228,6 +241,7 @@ cpu@601 { ...@@ -228,6 +241,7 @@ cpu@601 {
i-cache-line-size = <64>; i-cache-line-size = <64>;
i-cache-sets = <192>; i-cache-sets = <192>;
next-level-cache = <&cluster6_l2>; next-level-cache = <&cluster6_l2>;
cpu-idle-states = <&cpu_pw20>;
}; };
cpu@700 { cpu@700 {
...@@ -243,6 +257,7 @@ cpu@700 { ...@@ -243,6 +257,7 @@ cpu@700 {
i-cache-line-size = <64>; i-cache-line-size = <64>;
i-cache-sets = <192>; i-cache-sets = <192>;
next-level-cache = <&cluster7_l2>; next-level-cache = <&cluster7_l2>;
cpu-idle-states = <&cpu_pw20>;
}; };
cpu@701 { cpu@701 {
...@@ -258,6 +273,7 @@ cpu@701 { ...@@ -258,6 +273,7 @@ cpu@701 {
i-cache-line-size = <64>; i-cache-line-size = <64>;
i-cache-sets = <192>; i-cache-sets = <192>;
next-level-cache = <&cluster7_l2>; next-level-cache = <&cluster7_l2>;
cpu-idle-states = <&cpu_pw20>;
}; };
cluster0_l2: l2-cache0 { cluster0_l2: l2-cache0 {
...@@ -323,6 +339,15 @@ cluster7_l2: l2-cache7 { ...@@ -323,6 +339,15 @@ cluster7_l2: l2-cache7 {
cache-sets = <1024>; cache-sets = <1024>;
cache-level = <2>; cache-level = <2>;
}; };
cpu_pw20: cpu-pw20 {
compatible = "arm,idle-state";
idle-state-name = "PW20";
arm,psci-suspend-param = <0x0>;
entry-latency-us = <2000>;
exit-latency-us = <2000>;
min-residency-us = <6000>;
};
}; };
gic: interrupt-controller@6000000 { gic: interrupt-controller@6000000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment