summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-sa1100/assabet.c14
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.