oxnas: shuttle-kd20: fix thermal zone
Fix typo ('_' vs '-') and add #cooling-cells to gpio-fan to get thermal zone into functional state. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
63ff5b783d
commit
c5c37886cf
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
|||
led-upgrade = &led_warn;
|
||||
};
|
||||
|
||||
thermal_zones {
|
||||
thermal-zones {
|
||||
chassis-thermal {
|
||||
/* Poll every 20 seconds */
|
||||
polling-delay = <20000>;
|
||||
|
@ -153,6 +153,7 @@
|
|||
gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
|
||||
gpio-fan,speed-map = <0 0
|
||||
3000 1>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
gpio-poweroff {
|
||||
|
|
Loading…
Reference in a new issue