summaryrefslogtreecommitdiff
path: root/arch/arm/mach-sa1100/assabet.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2016-09-02 10:45:14 +0100
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-04-02 11:11:45 +0100
commit6a889bcd9c6d47779e06c45339611c89ad78b3f6 (patch)
treedcb770e102811b2eb53f762c15394e7553ed66da /arch/arm/mach-sa1100/assabet.c
parente5d6f24567c6a7316b7acb39ad4459c6a5847b61 (diff)
ARM: sa1100/assabet: move GPIO definitions to assabet.c
Move GPIO board definitions to assabet.c Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100/assabet.c')
-rw-r--r--arch/arm/mach-sa1100/assabet.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c
index 3609c55942ad..ef7354f644b1 100644
--- a/arch/arm/mach-sa1100/assabet.c
+++ b/arch/arm/mach-sa1100/assabet.c
@@ -54,6 +54,14 @@ enum {
SCR_FLASH_HIGH = BIT(5), /* Flash size (high bit) */
SCR_GFX = BIT(8), /* Graphics Accelerator (0=present) */
SCR_SA1111 = BIT(9), /* Neponset (0=present) */
+
+ /* GPIOs (bitmasks) for which the generic definition doesn't say much */
+ GPIO_RADIO_IRQ = GPIO_GPIO(14), /* Radio interrupt request */
+ GPIO_PS_MODE_SYNC = GPIO_GPIO(16), /* Power supply mode/sync */
+ GPIO_STEREO_64FS_CLK = GPIO_GPIO(19), /* SSP UDA1341 clock input */
+ GPIO_GFX_IRQ = GPIO_GPIO(24), /* Graphics IRQ */
+ GPIO_BATT_LOW = GPIO_GPIO(26), /* Low battery */
+ GPIO_SYS_CLK = GPIO_GPIO(27),
};
#ifdef CONFIG_ASSABET_NEPONSET