[OpenWrt-Devel] [PATCH 3/3] ralink: add FireWRT button detail
wengbj
fl.service at t-firefly.com
Fri Jan 30 02:19:14 EST 2015
---
target/linux/ramips/dts/FIREWRT.dts | 12 ++++++++++++
target/linux/ramips/mt7621/profiles/firefly.mk | 2 +-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/target/linux/ramips/dts/FIREWRT.dts b/target/linux/ramips/dts/FIREWRT.dts
index ddad8bf..58049b7 100644
--- a/target/linux/ramips/dts/FIREWRT.dts
+++ b/target/linux/ramips/dts/FIREWRT.dts
@@ -92,4 +92,16 @@
};
};
+ gpio-keys-polled {
+ compatible = "gpio-keys-polled";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ poll-interval = <20>;
+ wps {
+ label = "wps";
+ gpios = <&gpio0 18 1>;
+ linux,code = <0x211>;
+ };
+ };
+
};
diff --git a/target/linux/ramips/mt7621/profiles/firefly.mk b/target/linux/ramips/mt7621/profiles/firefly.mk
index c8292b0..b095979 100644
--- a/target/linux/ramips/mt7621/profiles/firefly.mk
+++ b/target/linux/ramips/mt7621/profiles/firefly.mk
@@ -8,7 +8,7 @@
define Profile/Firefly
NAME:=Firefly Device
PACKAGES:=\
- kmod-usb-core kmod-usb3 kmod-usb-hid kmod-usb-storage mount-utils usbutils \
+ kmod-usb-core kmod-usb3 kmod-usb-hid kmod-usb-storage mount-utils usbutils hostapd-utils \
kmod-sdhci-mt7620 \
kmod-fs-ext3 kmod-fs-vfat kmod-fs-ntfs \
kmod-nls-cp437 kmod-nls-iso8859-1 kmod-nls-utf8 \
--
1.7.9.5
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list