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 | 182e8ef949e422b5b06bb8bf4d5b1bc36b496b21 (patch) | |
tree | ef55ac9f51948c1e9af4190657e4aa54bb575ecc /target/linux/ar71xx/patches-3.10/601-MIPS-ath79-add-more-register-defines.patch | |
parent | 32aef686f7c8450b193ede200452a647471b9099 (diff) | |
download | mtk-20170518-182e8ef949e422b5b06bb8bf4d5b1bc36b496b21.zip mtk-20170518-182e8ef949e422b5b06bb8bf4d5b1bc36b496b21.tar.gz mtk-20170518-182e8ef949e422b5b06bb8bf4d5b1bc36b496b21.tar.bz2 |
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>
SVN-Revision: 39215
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 4812a62..81a997b 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 |