mirror of https://github.com/hak5/openwrt.git
oxnas/kd20: use gpio-beeper
gpio-beeper module was added to the kernel recently. Make use of it to drive the piezoelectric buzzer of the kd20. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43496lede-17.01
parent
c2e57fcb2f
commit
46814be2a8
|
@ -123,10 +123,11 @@
|
||||||
label = "kd20:blue:usb";
|
label = "kd20:blue:usb";
|
||||||
gpios = <&GPIOB 8 0>;
|
gpios = <&GPIOB 8 0>;
|
||||||
};
|
};
|
||||||
buzzer {
|
|
||||||
label = "kd20:buzzer";
|
|
||||||
gpios = <&GPIOB 11 0>;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
beeper: beeper {
|
||||||
|
compatible = "gpio-beeper";
|
||||||
|
gpios = <&GPIOB 11 0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-fan {
|
gpio-fan {
|
||||||
|
|
|
@ -40,7 +40,7 @@ endef
|
||||||
define Profile/KD20
|
define Profile/KD20
|
||||||
NAME:=Shuttle KD20
|
NAME:=Shuttle KD20
|
||||||
PACKAGES:= \
|
PACKAGES:= \
|
||||||
uboot-envtools kmod-usb2-oxnas kmod-usb3 kmod-rtc-pcf8563
|
uboot-envtools kmod-usb2-oxnas kmod-usb3 kmod-rtc-pcf8563 kmod-gpio-beeper
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Profile/KD20/Description
|
define Profile/KD20/Description
|
||||||
|
|
Loading…
Reference in New Issue