aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-12-13 08:04:54 +0000
committerJohn Crispin <john@openwrt.org>2014-12-13 08:04:54 +0000
commit10dbdb28d70470e75bc8a765926cf0272c3635b9 (patch)
treeae328f175598e40669692a0e7299eaa29b2beb1e /target/linux/oxnas
parent9013a144fd4fb3b5e9e38948f85650a961053d45 (diff)
downloadupstream-10dbdb28d70470e75bc8a765926cf0272c3635b9.tar.gz
upstream-10dbdb28d70470e75bc8a765926cf0272c3635b9.tar.bz2
upstream-10dbdb28d70470e75bc8a765926cf0272c3635b9.zip
oxnas: fix gpio-fan on kd20
define speed-map and include kmod-hwmon-gpiofan in kd20 profile Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43678
Diffstat (limited to 'target/linux/oxnas')
-rw-r--r--target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts2
-rw-r--r--target/linux/oxnas/profiles/100-Generic.mk2
2 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
index 9375748b91..217d812b96 100644
--- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
+++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
@@ -136,6 +136,8 @@
gpio-fan {
compatible = "gpio-fan";
gpios = <&GPIOA 2 1>;
+ gpio-fan,speed-map = <0 0
+ 3000 1>;
};
gpio-poweroff {
diff --git a/target/linux/oxnas/profiles/100-Generic.mk b/target/linux/oxnas/profiles/100-Generic.mk
index 6681c23cb9..5304839754 100644
--- a/target/linux/oxnas/profiles/100-Generic.mk
+++ b/target/linux/oxnas/profiles/100-Generic.mk
@@ -35,7 +35,7 @@ define Profile/KD20
NAME:=Shuttle KD20
PACKAGES:= \
kmod-usb3 kmod-usb-storage kmod-i2c-gpio kmod-rtc-pcf8563 \
- kmod-gpio-beeper
+ kmod-gpio-beeper kmod-hwmon-core kmod-hwmon-gpiofan
endef
define Profile/KD20/Description