diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2014-01-10 09:37:57 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2014-01-10 09:37:57 +0000 |
commit | fee259994be6ffd66c4f40a4545ef262e3289831 (patch) | |
tree | 91aabbf1ca7e57b92f4bcf56da417642fb448b38 /target/linux/ar71xx/patches-3.10/601-MIPS-ath79-add-more-register-defines.patch | |
parent | 14311df9f8456f17a8bb9c3035a121c6da5054f6 (diff) | |
download | upstream-fee259994be6ffd66c4f40a4545ef262e3289831.tar.gz upstream-fee259994be6ffd66c4f40a4545ef262e3289831.tar.bz2 upstream-fee259994be6ffd66c4f40a4545ef262e3289831.zip |
ar71xx: add a helper function for external LNA GPIO setup
The built-in wireless MAC of the AR934x SoC can handle
external LNAs and the control signal of the LNAs can be
routed to any GPIO line. Add a helper function which
can be used to configure the GPIO lines.
The helper function will be used for AR934x boards
which are using externel LNAs to improve sensitivity.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39215 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/patches-3.10/601-MIPS-ath79-add-more-register-defines.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.10/601-MIPS-ath79-add-more-register-defines.patch | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/ar71xx/patches-3.10/601-MIPS-ath79-add-more-register-defines.patch b/target/linux/ar71xx/patches-3.10/601-MIPS-ath79-add-more-register-defines.patch index 4812a624f2..81a997b85e 100644 --- a/target/linux/ar71xx/patches-3.10/601-MIPS-ath79-add-more-register-defines.patch +++ b/target/linux/ar71xx/patches-3.10/601-MIPS-ath79-add-more-register-defines.patch @@ -207,7 +207,7 @@ #define AR934X_GPIO_REG_FUNC 0x6c #define AR71XX_GPIO_COUNT 16 -@@ -561,4 +664,146 @@ +@@ -561,4 +664,148 @@ #define AR934X_SRIF_DPLL2_OUTDIV_SHIFT 13 #define AR934X_SRIF_DPLL2_OUTDIV_MASK 0x7 @@ -284,6 +284,8 @@ +#define AR934X_GPIO_OUT_LED_LINK2 43 +#define AR934X_GPIO_OUT_LED_LINK3 44 +#define AR934X_GPIO_OUT_LED_LINK4 45 ++#define AR934X_GPIO_OUT_EXT_LNA0 46 ++#define AR934X_GPIO_OUT_EXT_LNA1 47 + +/* + * MII_CTRL block |