mirror of https://github.com/hak5/openwrt.git
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: 43678lede-17.01
parent
9013a144fd
commit
10dbdb28d7
|
@ -136,6 +136,8 @@
|
||||||
gpio-fan {
|
gpio-fan {
|
||||||
compatible = "gpio-fan";
|
compatible = "gpio-fan";
|
||||||
gpios = <&GPIOA 2 1>;
|
gpios = <&GPIOA 2 1>;
|
||||||
|
gpio-fan,speed-map = <0 0
|
||||||
|
3000 1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-poweroff {
|
gpio-poweroff {
|
||||||
|
|
|
@ -35,7 +35,7 @@ define Profile/KD20
|
||||||
NAME:=Shuttle KD20
|
NAME:=Shuttle KD20
|
||||||
PACKAGES:= \
|
PACKAGES:= \
|
||||||
kmod-usb3 kmod-usb-storage kmod-i2c-gpio kmod-rtc-pcf8563 \
|
kmod-usb3 kmod-usb-storage kmod-i2c-gpio kmod-rtc-pcf8563 \
|
||||||
kmod-gpio-beeper
|
kmod-gpio-beeper kmod-hwmon-core kmod-hwmon-gpiofan
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Profile/KD20/Description
|
define Profile/KD20/Description
|
||||||
|
|
Loading…
Reference in New Issue