summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/include
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-03-19 15:57:04 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-03-19 15:57:04 +0000
commitfd48e871d05a06fab6a273dc7344125cd23e0943 (patch)
treeaa662c0f46a83cdc9fc8a2b6f6d9b2c31e17ccfd /target/linux/ar71xx/files/arch/mips/include
parentc8aab4b6c246f2ccfeff8176485b6cece5629f3c (diff)
ar71xx: add initial support for RB750GL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31025 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/include')
-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 8d1d22eea..50d5a2097 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;