diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2016-09-02 10:50:25 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-04-02 11:11:46 +0100 |
commit | 59050a7ec24f77509613f44dee0e3913e05740ca (patch) | |
tree | f0308cd15635b6ce78b64e808e82039a8a181a34 /arch/arm/mach-sa1100/assabet.c | |
parent | 6a889bcd9c6d47779e06c45339611c89ad78b3f6 (diff) |
ARM: sa1100/assabet: use assabet GPIO definitions
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.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c index ef7354f644b1..6c021f2ae232 100644 --- a/arch/arm/mach-sa1100/assabet.c +++ b/arch/arm/mach-sa1100/assabet.c @@ -577,8 +577,8 @@ static void __init assabet_init(void) /* * Ensure that the power supply is in "high power" mode. */ - GPSR = GPIO_GPIO16; - GPDR |= GPIO_GPIO16; + GPSR = GPIO_PS_MODE_SYNC; + GPDR |= GPIO_PS_MODE_SYNC; /* * Ensure that these pins are set as outputs and are driving @@ -590,12 +590,12 @@ static void __init assabet_init(void) GPDR |= GPIO_SSP_TXD | GPIO_SSP_SCLK | GPIO_SSP_SFRM; /* - * Also set GPIO27 as an output; this is used to clock UART3 - * via the FPGA and as otherwise has no pullups or pulldowns, - * so stop it floating. + * Also set GPIO27 as an output; this can be used supply an + * external clock via the FPGA and GPIO18 to clock UART3 and + * radio. It has no pullups or pulldowns, so stop it floating. */ - GPCR = GPIO_GPIO27; - GPDR |= GPIO_GPIO27; + GPCR = GPIO_SYS_CLK; + GPDR |= GPIO_SYS_CLK; /* * Set up registers for sleep mode. |