diff options
author | John Crispin <blogic@openwrt.org> | 2014-12-13 08:04:54 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-12-13 08:04:54 +0000 |
commit | 28619490eee769a392c0ea11188b99dc5aa10a53 (patch) | |
tree | 22e8855485dfb7c1216489cddd7e2f5ba7de14e7 /target | |
parent | bcb31c4bc74ad61dca1f68aa50df03c896d5d4b9 (diff) | |
download | upstream-28619490eee769a392c0ea11188b99dc5aa10a53.tar.gz upstream-28619490eee769a392c0ea11188b99dc5aa10a53.tar.bz2 upstream-28619490eee769a392c0ea11188b99dc5aa10a53.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43678 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts | 2 | ||||
-rw-r--r-- | target/linux/oxnas/profiles/100-Generic.mk | 2 |
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 |