From: Daniel Golle Date: Fri, 21 Oct 2022 19:47:26 +0000 (+0100) Subject: oxnas: shuttle-kd20: fix thermal zone X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c5c37886cff1705ba9be9b33df3ab121bd27fe6b;p=openwrt%2Fstaging%2Fjow.git 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 --- diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts index 0bcd2fcf00..2cff439c25 100644 --- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts +++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts @@ -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 {