diff options
author | John Crispin <blogic@openwrt.org> | 2015-03-12 10:06:53 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-03-12 10:06:53 +0000 |
commit | 4d998f98f0d1b22ab34c532fb2aadbb100ae52a1 (patch) | |
tree | 49611581d077334cbeb2dcaa2da1d6691df9869a /target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c | |
parent | f30e32991d4dc21cb1c3580430314bcc56732d33 (diff) | |
download | master-187ad058-4d998f98f0d1b22ab34c532fb2aadbb100ae52a1.tar.gz master-187ad058-4d998f98f0d1b22ab34c532fb2aadbb100ae52a1.tar.bz2 master-187ad058-4d998f98f0d1b22ab34c532fb2aadbb100ae52a1.zip |
ar71xx: Ext LNA patch for TUBE2H and HORNET-UB targets
Signed-off-by: Christophe Prévotaux <c.prevotaux@rural-networks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44693 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c index b36c5115d6..93bb8f06c8 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c @@ -27,6 +27,7 @@ #define HORNET_UB_GPIO_LED_LAN 13 #define HORNET_UB_GPIO_LED_WAN 17 #define HORNET_UB_GPIO_LED_WPS 27 +#define HORNET_UB_GPIO_EXT_LNA 28 #define HORNET_UB_GPIO_BTN_RESET 12 #define HORNET_UB_GPIO_BTN_WPS 11 @@ -104,6 +105,10 @@ static void __init hornet_ub_gpio_setup(void) gpio_request_one(HORNET_UB_GPIO_USB_POWER, GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED, "USB power"); + gpio_request_one(HORNET_UB_GPIO_EXT_LNA, + GPIOF_OUT_INIT_HIGH | GPIOF_EXPORT_DIR_FIXED, + "external LNA0"); + } static void __init hornet_ub_setup(void) |