summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91rm9200/board-ek.c
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2006-04-02 17:15:48 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-04-02 17:15:48 +0100
commitcc2832a1313340ff1de55f15fac5b7fe48fa2a72 (patch)
tree30adc6cf8f13031bc00f4619767f9642b3837317 /arch/arm/mach-at91rm9200/board-ek.c
parentb2e6f75597af8fc765707111d3a71077167bdeb1 (diff)
[ARM] 3393/2: AT91RM9200 LED support
Patch from Andrew Victor This patch adds support for the LED(s) on the AT91RM9200-based boards. (This version of the patch can be applied before Patch 3392/1) Signed-off-by: Andrew Victor <andrew@sanpeople.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91rm9200/board-ek.c')
-rw-r--r--arch/arm/mach-at91rm9200/board-ek.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-at91rm9200/board-ek.c b/arch/arm/mach-at91rm9200/board-ek.c
index fd0752eba89..1f8e450060b 100644
--- a/arch/arm/mach-at91rm9200/board-ek.c
+++ b/arch/arm/mach-at91rm9200/board-ek.c
@@ -70,6 +70,9 @@ static void __init ek_map_io(void)
/* Initialize clocks: 18.432 MHz crystal */
at91_clock_init(18432000);
+ /* Setup the LEDs */
+ at91_init_leds(AT91_PIN_PB1, AT91_PIN_PB2);
+
#ifdef CONFIG_SERIAL_AT91
at91_console_port = EK_SERIAL_CONSOLE;
memcpy(at91_serial_map, serial, sizeof(serial));