ipq806x: add CPU idle states
[openwrt/openwrt.git] / target / linux / ipq806x / files / arch / arm / boot / dts / qcom-ipq8065.dtsi
index f09ec929198e7f4fe9c3353392c499e740aa8aa0..fcc08d91ae20c240a06a65c540f5c34f01b3635a 100644 (file)
@@ -36,6 +36,7 @@
                        cooling-min-state = <0>;
                        cooling-max-state = <10>;
                        #cooling-cells = <2>;
+                       cpu-idle-states = <&CPU_SPC>;
                };
 
                cpu1: cpu@1 {
@@ -54,6 +55,7 @@
                        cooling-min-state = <0>;
                        cooling-max-state = <10>;
                        #cooling-cells = <2>;
+                       cpu-idle-states = <&CPU_SPC>;
                };
 
                L2: l2-cache {
                qcom,l2 {
                        qcom,l2-rates = <384000000 1000000000 1200000000>;
                };
+
+               idle-states {
+                       CPU_SPC: spc {
+                               compatible = "qcom,idle-state-spc",
+                                               "arm,idle-state";
+                               entry-latency-us = <400>;
+                               exit-latency-us = <900>;
+                               min-residency-us = <3000>;
+                       };
+               };
        };
 
        cpu-pmu {