From: 陈亮 <cl@rock-chips.com>
Date: Wed, 17 Sep 2014 01:38:14 +0000 (-0700)
Subject: rk3126-86v: add temperature control config
X-Git-Tag: firefly_0821_release~4691
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3eb1b59a12ac47a4e223b0b7f0c373e9913a8267;p=firefly-linux-kernel-4.4.55.git

rk3126-86v: add temperature control config

Signed-off-by: 陈亮 <cl@rock-chips.com>
---

diff --git a/arch/arm/boot/dts/rk3126-86v.dts b/arch/arm/boot/dts/rk3126-86v.dts
index 6a41fcb4cda9..00c81f8dc015 100644
--- a/arch/arm/boot/dts/rk3126-86v.dts
+++ b/arch/arm/boot/dts/rk3126-86v.dts
@@ -132,7 +132,36 @@
 
 
 				>;
-
+		virt-temp-limit-1-cpu-busy = <
+		/* target-temp	limit-freq */
+			75	1008000
+			85	1200000
+			95	1200000
+			100	1200000
+			>;
+		virt-temp-limit-2-cpu-busy = <
+		/* target-temp	limit-freq */
+			75	912000
+			85	1008000
+			95	1104000
+			100	1200000
+			>;
+		virt-temp-limit-3-cpu-busy = <
+		/* target-temp	limit-freq */
+			75	816000
+			85	912000
+			95	100800
+			100	110400
+			>;
+		virt-temp-limit-4-cpu-busy = <
+		/* target-temp	limit-freq */
+			75	816000
+			85	912000
+			95	100800
+			100	110400
+			>;
+		temp-limit-enable = <1>;
+		target-temp = <85>;
 	      };
 	 };
 };