summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/board-sam9261ek.c
diff options
context:
space:
mode:
authorAndrew Victor <andrew@sanpeople.com>2007-05-09 12:42:53 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-05-11 18:20:21 +0200
commit302c0ef7317ddd49c0ae82004cfe308b5a2b6ab3 (patch)
tree59f6dc616326413fe0fad3782530d4597daa3f6b /arch/arm/mach-at91/board-sam9261ek.c
parent[ARM] Fix iop32x/iop33x build (diff)
downloadlinux-302c0ef7317ddd49c0ae82004cfe308b5a2b6ab3.tar.xz
linux-302c0ef7317ddd49c0ae82004cfe308b5a2b6ab3.zip
[ARM] 4364/1: AT91: LEDS on AT91SAM9261-EK
Attached you can find a patch needed to make the LEDS for 'CPU-Idle' and 'Timer' work on the AT91SAM9261-EK board. The kernel configuration options are already there, but the implementation is not available. Signed-off-by: Remy Bohmer <l.pinguin@gmail.com> 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-at91/board-sam9261ek.c')
-rw-r--r--arch/arm/mach-at91/board-sam9261ek.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/board-sam9261ek.c b/arch/arm/mach-at91/board-sam9261ek.c
index bcf71536cc6d..1f0c8a400b3a 100644
--- a/arch/arm/mach-at91/board-sam9261ek.c
+++ b/arch/arm/mach-at91/board-sam9261ek.c
@@ -60,6 +60,9 @@ static void __init ek_map_io(void)
/* Initialize processor: 18.432 MHz crystal */
at91sam9261_initialize(18432000);
+ /* Setup the LEDs */
+ at91_init_leds(AT91_PIN_PA13, AT91_PIN_PA14);
+
/* Setup the serial ports and console */
at91_init_serial(&ek_uart_config);
}