summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/patches-3.3
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-07-12 08:34:20 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-07-12 08:34:20 +0000
commit466f010303b5c47436ec62b9fd067ce89152e5e5 (patch)
treef3052e671d9f308d2f35e3e0c535ae7fc512f6ad /target/linux/ar71xx/patches-3.3
parent5ce9c90ca8eb82bad6dcb487232766dfc8bbb538 (diff)
downloadmtk-20170518-466f010303b5c47436ec62b9fd067ce89152e5e5.zip
mtk-20170518-466f010303b5c47436ec62b9fd067ce89152e5e5.tar.gz
mtk-20170518-466f010303b5c47436ec62b9fd067ce89152e5e5.tar.bz2
ar71xx: unifi reset button support
This patch adds support for reset button to Ubiquiti UniFi AP. [juhosg: fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch] Signed-off-by: Rocco Folino <lordzen@autistici.org> SVN-Revision: 32677
Diffstat (limited to 'target/linux/ar71xx/patches-3.3')
-rw-r--r--target/linux/ar71xx/patches-3.3/608-MIPS-ath79-ubnt-xm-add-more-boards.patch6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ar71xx/patches-3.3/608-MIPS-ath79-ubnt-xm-add-more-boards.patch b/target/linux/ar71xx/patches-3.3/608-MIPS-ath79-ubnt-xm-add-more-boards.patch
index 2dd3379..ec5595f 100644
--- a/target/linux/ar71xx/patches-3.3/608-MIPS-ath79-ubnt-xm-add-more-boards.patch
+++ b/target/linux/ar71xx/patches-3.3/608-MIPS-ath79-ubnt-xm-add-more-boards.patch
@@ -57,7 +57,7 @@
ath79_register_leds_gpio(-1, ARRAY_SIZE(ubnt_xm_leds_gpio),
ubnt_xm_leds_gpio);
-@@ -79,9 +85,103 @@ static void __init ubnt_xm_init(void)
+@@ -79,9 +85,107 @@ static void __init ubnt_xm_init(void)
ath79_register_m25p80(NULL);
ap91_pci_init(eeprom, NULL);
@@ -157,6 +157,10 @@
+
+ ath79_register_leds_gpio(-1, ARRAY_SIZE(ubnt_unifi_leds_gpio),
+ ubnt_unifi_leds_gpio);
++
++ ath79_register_gpio_keys_polled(-1, UBNT_XM_KEYS_POLL_INTERVAL,
++ ARRAY_SIZE(ubnt_xm_gpio_keys),
++ ubnt_xm_gpio_keys);
+}
+
+MIPS_MACHINE(ATH79_MACH_UBNT_UNIFI, "UBNT-UF", "Ubiquiti UniFi",