ar71xx: add GPIO output select values for AR934x

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36121
lede-17.01
Gabor Juhos 2013-03-25 06:40:00 +00:00
parent 849201b1d8
commit 39c132d154
1 changed files with 7 additions and 2 deletions

View File

@ -207,7 +207,7 @@
#define AR934X_GPIO_REG_FUNC 0x6c #define AR934X_GPIO_REG_FUNC 0x6c
#define AR71XX_GPIO_COUNT 16 #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_SHIFT 13
#define AR934X_SRIF_DPLL2_OUTDIV_MASK 0x7 #define AR934X_SRIF_DPLL2_OUTDIV_MASK 0x7
@ -278,7 +278,12 @@
+#define AR934X_GPIO_FUNC_CLK_OBS0_EN BIT(2) +#define AR934X_GPIO_FUNC_CLK_OBS0_EN BIT(2)
+#define AR934X_GPIO_FUNC_JTAG_DISABLE BIT(1) +#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 + * MII_CTRL block