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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43678 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
John Crispin
2014-12-13 08:04:54 +00:00
parent bcb31c4bc7
commit 28619490ee
2 changed files with 3 additions and 1 deletions

View File

@@ -136,6 +136,8 @@
gpio-fan {
compatible = "gpio-fan";
gpios = <&GPIOA 2 1>;
gpio-fan,speed-map = <0 0
3000 1>;
};
gpio-poweroff {

View File

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