diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-03-25 06:40:00 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-03-25 06:40:00 +0000 |
commit | a7b9cbd46878da0c9a74c800c04e8bba607d7410 (patch) | |
tree | 688bd365668bece945c54f13a431e9cbe9cf6a59 /target/linux/ar71xx/patches-3.8/601-MIPS-ath79-add-more-register-defines.patch | |
parent | ec437235a463b53a4b2d39ee3450fef2fa8af036 (diff) | |
download | master-187ad058-a7b9cbd46878da0c9a74c800c04e8bba607d7410.tar.gz master-187ad058-a7b9cbd46878da0c9a74c800c04e8bba607d7410.tar.bz2 master-187ad058-a7b9cbd46878da0c9a74c800c04e8bba607d7410.zip |
ar71xx: add GPIO output select values for AR934x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36121 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/patches-3.8/601-MIPS-ath79-add-more-register-defines.patch')
-rw-r--r-- | target/linux/ar71xx/patches-3.8/601-MIPS-ath79-add-more-register-defines.patch | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/target/linux/ar71xx/patches-3.8/601-MIPS-ath79-add-more-register-defines.patch b/target/linux/ar71xx/patches-3.8/601-MIPS-ath79-add-more-register-defines.patch index d9cdc9fcc3..014c7696af 100644 --- a/target/linux/ar71xx/patches-3.8/601-MIPS-ath79-add-more-register-defines.patch +++ b/target/linux/ar71xx/patches-3.8/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,139 @@ +@@ -561,4 +664,144 @@ #define AR934X_SRIF_DPLL2_OUTDIV_SHIFT 13 #define AR934X_SRIF_DPLL2_OUTDIV_MASK 0x7 @@ -278,7 +278,12 @@ +#define AR934X_GPIO_FUNC_CLK_OBS0_EN BIT(2) +#define AR934X_GPIO_FUNC_JTAG_DISABLE BIT(1) + -+#define AR934X_GPIO_OUT_GPIO 0x00 ++#define AR934X_GPIO_OUT_GPIO 0 ++#define AR934X_GPIO_OUT_LED_LINK0 41 ++#define AR934X_GPIO_OUT_LED_LINK1 42 ++#define AR934X_GPIO_OUT_LED_LINK2 43 ++#define AR934X_GPIO_OUT_LED_LINK3 44 ++#define AR934X_GPIO_OUT_LED_LINK4 45 + +/* + * MII_CTRL block |