aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-10-21 20:47:26 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-10-21 20:57:53 +0100
commitc5c37886cff1705ba9be9b33df3ab121bd27fe6b (patch)
treea1175aac22097f6be67767ec2c7d72a9cb389262 /target/linux/oxnas
parent63ff5b783d227bcdfb8db4500b84a3acf68b0f4c (diff)
downloadupstream-c5c37886cff1705ba9be9b33df3ab121bd27fe6b.tar.gz
upstream-c5c37886cff1705ba9be9b33df3ab121bd27fe6b.tar.bz2
upstream-c5c37886cff1705ba9be9b33df3ab121bd27fe6b.zip
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>
Diffstat (limited to 'target/linux/oxnas')
-rw-r--r--target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts3
1 files changed, 2 insertions, 1 deletions
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 {