aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-19 15:57:04 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-03-19 15:57:04 +0000
commit8a2e4b49dee0cb5289581375929147e9d72c7b9b (patch)
treed56b58aeea3726df44f88e0a59bbc1404d4c9fb6 /target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79
parentd19f3dd5121927747d3f56a0939db9a17bf8fc6b (diff)
downloadupstream-8a2e4b49dee0cb5289581375929147e9d72c7b9b.tar.gz
upstream-8a2e4b49dee0cb5289581375929147e9d72c7b9b.tar.bz2
upstream-8a2e4b49dee0cb5289581375929147e9d72c7b9b.zip
ar71xx: add initial support for RB750GL
SVN-Revision: 31025
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79')
-rw-r--r--target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/mach-rb750.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/mach-rb750.h b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/mach-rb750.h
index 8d1d22eea7..50d5a20974 100644
--- a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/mach-rb750.h
+++ b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/mach-rb750.h
@@ -50,6 +50,16 @@
#define RB750_LED_BITS (RB750_LED_PORT1 | RB750_LED_PORT2 | RB750_LED_PORT3 | \
RB750_LED_PORT4 | RB750_LED_PORT5 | RB750_LED_ACT)
+#define RB7XX_GPIO_NAND_NCE 0
+#define RB7XX_GPIO_MON 9
+#define RB7XX_GPIO_LED_ACT 11
+#define RB7XX_GPIO_USB_POWERON 13
+
+#define RB7XX_NAND_NCE BIT(RB7XX_GPIO_NAND_NCE)
+#define RB7XX_LED_ACT BIT(RB7XX_GPIO_LED_ACT)
+#define RB7XX_MONITOR BIT(RB7XX_GPIO_MON)
+#define RB7XX_USB_POWERON BIT(RB7XX_GPIO_USB_POWERON)
+
struct rb750_led_data {
char *name;
char *default_trigger;