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:
Daniel Golle 2022-10-21 20:47:26 +01:00
parent 63ff5b783d
commit c5c37886cf

View file

@ -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 {