aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-3.3
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-07-12 08:34:18 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-07-12 08:34:18 +0000
commit43b88ffc17bd57a3a60b05cb4b6aee9d5d9d73b0 (patch)
tree6a81f3c13642829f1b3969403122d241d0841951 /target/linux/ar71xx/patches-3.3
parent2bcc527dd7f0babdceb5c1dfc7a623b73a2fb80d (diff)
downloadupstream-43b88ffc17bd57a3a60b05cb4b6aee9d5d9d73b0.tar.gz
upstream-43b88ffc17bd57a3a60b05cb4b6aee9d5d9d73b0.tar.bz2
upstream-43b88ffc17bd57a3a60b05cb4b6aee9d5d9d73b0.zip
ar71xx: airrouter reset button support
This patch adds support for reset button to Ubiquiti Airrouter AP. [juhosg: fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch] Signed-off-by: Rocco Folino <lordzen@autistici.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32676 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 a61c1cbac0..2dd3379693 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,99 @@ static void __init ubnt_xm_init(void)
+@@ -79,9 +85,103 @@ static void __init ubnt_xm_init(void)
ath79_register_m25p80(NULL);
ap91_pci_init(eeprom, NULL);
@@ -120,6 +120,10 @@
+ ap91_pci_init(ee, NULL);
+ ath79_register_leds_gpio(-1, ARRAY_SIZE(ubnt_airrouter_leds_gpio),
+ ubnt_airrouter_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_AIRROUTER, "UBNT-AR", "Ubiquiti AirRouter",