summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/sun6i-a31-pangolin.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boot/dts/sun6i-a31-pangolin.dts')
-rw-r--r--arch/arm/boot/dts/sun6i-a31-pangolin.dts57
1 files changed, 57 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun6i-a31-pangolin.dts b/arch/arm/boot/dts/sun6i-a31-pangolin.dts
index 1401dd2ef02a..fc5826dcbaa1 100644
--- a/arch/arm/boot/dts/sun6i-a31-pangolin.dts
+++ b/arch/arm/boot/dts/sun6i-a31-pangolin.dts
@@ -78,6 +78,7 @@
};
};
};
+
&cpu0 {
cpu-supply = <&vdd_cpu>;
operating-points = <
@@ -90,6 +91,55 @@
sampling-rate = <160000>;
};
+&cpu_thermal {
+ cooling-maps {
+ map_fan {
+ trip = <&cpu_active>;
+ cooling-device = <&fan 0 9>;
+ };
+ map0 {
+ trip = <&cpu_alert0>;
+ cooling-device = <&cpu0 0 1>;
+ };
+ map1 {
+ trip = <&cpu_alert1>;
+ cooling-device = <&cpu0 0 2>;
+ };
+ map2 {
+ trip = <&cpu_alert2>;
+ cooling-device = <&cpu0 0 3>;
+ };
+ };
+
+ trips {
+ cpu_active: cpu_active {
+ temperature = <40000>;
+ hysteresis = <2000>;
+ type = "active";
+ };
+ cpu_alert0: cpu_alert0 {
+ temperature = <70000>;
+ hysteresis = <2000>;
+ type = "passive";
+ };
+ cpu_alert1: cpu_alert1 {
+ temperature = <80000>;
+ hysteresis = <2000>;
+ type = "passive";
+ };
+ cpu_alert2: cpu_alert2 {
+ temperature = <90000>;
+ hysteresis = <2000>;
+ type = "passive";
+ };
+ cpu_crit: cpu_crit {
+ temperature = <100000>;
+ hysteresis = <2000>;
+ type = "critical";
+ };
+ };
+};
+
&rtc {
status = "disabled";
};
@@ -153,6 +203,13 @@
compatible = "isil,isl1208";
reg = <0x6f>;
};
+ fan: fan@18 {
+ compatible = "ti,amc6821";
+ reg = <0x18>;
+ cooling-min-state = <0>;
+ cooling-max-state = <9>;
+ #cooling-cells = <2>;
+ };
};
&gpu {