aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx/dts/netgear-wndr4700.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/apm821xx/dts/netgear-wndr4700.dts')
-rw-r--r--target/linux/apm821xx/dts/netgear-wndr4700.dts25
1 files changed, 24 insertions, 1 deletions
diff --git a/target/linux/apm821xx/dts/netgear-wndr4700.dts b/target/linux/apm821xx/dts/netgear-wndr4700.dts
index 24603c4247..8972d2b030 100644
--- a/target/linux/apm821xx/dts/netgear-wndr4700.dts
+++ b/target/linux/apm821xx/dts/netgear-wndr4700.dts
@@ -36,13 +36,25 @@
thermal-sensors = <&temp0 1>;
+ /*
+ * REVISIT:
+ *
+ * Add the <&drive_temp>; sensor there and wire up
+ * the coefficients = <1 1>; property.
+ *
+ * Note: The kernel does not yet support more than
+ * one sensor (see of_thermal.c's function:
+ * thermal_of_build_thermal_zon()). Once this is
+ * implemented.
+ */
+
trips {
/*
* Once the thermal governers are a bit smarter
* and do hysteresis properly, we can disable
* the fan when the HDD and CPU has < 39 C.
*/
- cpu_alert0: cpu-alert0 {
+ cpu_alert0: board-alert0 {
temperature = <25000>;
hysteresis = <2000>;
type = "active";
@@ -145,6 +157,17 @@
&SATA1 {
status = "okay";
+
+ /*
+ * This drive may have a temperature sensor with a
+ * thermal zone we can use for thermal control of the
+ * chassis temperature using the fan.
+ */
+
+ drive_temp: sata-port@0 {
+ reg = <0>;
+ #thermal-sensor-cells = <0>;
+ };
};
&USBOTG0 {