From c5c37886cff1705ba9be9b33df3ab121bd27fe6b Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 21 Oct 2022 20:47:26 +0100 Subject: [PATCH] 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 --- .../linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- 2.30.2