arm64: dts: rk3399: ajust ipa parameters
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / boot / dts / rockchip / rk3399-evb-rev2.dtsi
index 1d1f41063f8105901f52a9f47d1e376d669cfc0c..89043adc5dbea88edabc3c0e858de28bf54d6af2 100644 (file)
        };
 };
 
+&cpu_l0 {
+       dynamic-power-coefficient = <121>;
+};
+
+&cpu_b0 {
+       dynamic-power-coefficient = <1068>;
+};
+
 &cluster0_opp {
        opp@408000000 {
                opp-hz = /bits/ 64 <408000000>;
        >;
 };
 
+&soc_thermal {
+       sustainable-power = <1600>; /* milliwatts */
+
+       cooling-maps {
+               map0 {
+                       trip = <&target>;
+                       cooling-device =
+                               <&cpu_l0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+                       contribution = <10240>;
+               };
+               map1 {
+                       trip = <&target>;
+                       cooling-device =
+                               <&cpu_b0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+                       contribution = <1024>;
+               };
+               map2 {
+                       trip = <&target>;
+                       cooling-device =
+                               <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+                       contribution = <10240>;
+               };
+       };
+};
+
+&gpu_power_model {
+       dynamic-power = <1780>;
+};
+
 &i2c0 {
        vdd_cpu_b: syr827@40 {
                compatible = "silergy,syr827";