summaryrefslogtreecommitdiff
path: root/arch/arm/mach-sa1100
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
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')
-rw-r--r--arch/arm/mach-sa1100/assabet.c8
-rw-r--r--arch/arm/mach-sa1100/include/mach/assabet.h8
2 files changed, 8 insertions, 8 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
diff --git a/arch/arm/mach-sa1100/include/mach/assabet.h b/arch/arm/mach-sa1100/include/mach/assabet.h
index 53f05fced930..2022fcae7791 100644
--- a/arch/arm/mach-sa1100/include/mach/assabet.h
+++ b/arch/arm/mach-sa1100/include/mach/assabet.h
@@ -52,12 +52,4 @@ extern void assabet_uda1341_reset(int set);
#define ASSABET_BCR_set(x) ASSABET_BCR_frob((x), (x))
#define ASSABET_BCR_clear(x) ASSABET_BCR_frob((x), 0)
-/* GPIOs (bitmasks) for which the generic definition doesn't say much */
-#define ASSABET_GPIO_RADIO_IRQ GPIO_GPIO (14) /* Radio interrupt request */
-#define ASSABET_GPIO_PS_MODE_SYNC GPIO_GPIO (16) /* Power supply mode/sync */
-#define ASSABET_GPIO_STEREO_64FS_CLK GPIO_GPIO (19) /* SSP UDA1341 clock input */
-#define ASSABET_GPIO_GFX_IRQ GPIO_GPIO (24) /* Graphics IRQ */
-#define ASSABET_GPIO_BATT_LOW GPIO_GPIO (26) /* Low battery */
-#define ASSABET_GPIO_RCLK GPIO_GPIO (26) /* CCLK/2 */
-
#endif