aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-at91/board-csb337.c5
-rw-r--r--arch/arm/mach-at91/board-ecbat91.c6
-rw-r--r--arch/arm/mach-at91/board-eco920.c5
-rw-r--r--arch/arm/mach-at91/board-kafa.c6
-rw-r--r--arch/arm/mach-at91/board-kb9202.c6
-rw-r--r--arch/arm/mach-at91/board-rm9200dk.c6
-rw-r--r--arch/arm/mach-at91/board-rm9200ek.c6
-rw-r--r--arch/arm/mach-at91/board-rsi-ews.c6
-rw-r--r--arch/arm/mach-at91/board-sam9-l9260.c6
-rw-r--r--arch/arm/mach-at91/board-sam9261ek.c6
-rw-r--r--arch/arm/mach-at91/board-yl-9200.c6
11 files changed, 31 insertions, 33 deletions
diff --git a/arch/arm/mach-at91/board-csb337.c b/arch/arm/mach-at91/board-csb337.c
index ad7f9f028976..cd813361cd26 100644
--- a/arch/arm/mach-at91/board-csb337.c
+++ b/arch/arm/mach-at91/board-csb337.c
@@ -47,9 +47,6 @@ static void __init csb337_init_early(void)
47{ 47{
48 /* Initialize processor: 3.6864 MHz crystal */ 48 /* Initialize processor: 3.6864 MHz crystal */
49 at91_initialize(3686400); 49 at91_initialize(3686400);
50
51 /* Setup the LEDs */
52 at91_init_leds(AT91_PIN_PB0, AT91_PIN_PB1);
53} 50}
54 51
55static struct macb_platform_data __initdata csb337_eth_data = { 52static struct macb_platform_data __initdata csb337_eth_data = {
@@ -222,6 +219,8 @@ static struct gpio_led csb_leds[] = {
222 219
223static void __init csb337_board_init(void) 220static void __init csb337_board_init(void)
224{ 221{
222 /* Setup the LEDs */
223 at91_init_leds(AT91_PIN_PB0, AT91_PIN_PB1);
225 /* Serial */ 224 /* Serial */
226 /* DBGU on ttyS0 */ 225 /* DBGU on ttyS0 */
227 at91_register_uart(0, 0, 0); 226 at91_register_uart(0, 0, 0);
diff --git a/arch/arm/mach-at91/board-ecbat91.c b/arch/arm/mach-at91/board-ecbat91.c
index 2510825f02d6..89cc3726a9ce 100644
--- a/arch/arm/mach-at91/board-ecbat91.c
+++ b/arch/arm/mach-at91/board-ecbat91.c
@@ -50,9 +50,6 @@ static void __init ecb_at91init_early(void)
50 50
51 /* Initialize processor: 18.432 MHz crystal */ 51 /* Initialize processor: 18.432 MHz crystal */
52 at91_initialize(18432000); 52 at91_initialize(18432000);
53
54 /* Setup the LEDs */
55 at91_init_leds(AT91_PIN_PC7, AT91_PIN_PC7);
56} 53}
57 54
58static struct macb_platform_data __initdata ecb_at91eth_data = { 55static struct macb_platform_data __initdata ecb_at91eth_data = {
@@ -142,6 +139,9 @@ static struct spi_board_info __initdata ecb_at91spi_devices[] = {
142 139
143static void __init ecb_at91board_init(void) 140static void __init ecb_at91board_init(void)
144{ 141{
142 /* Setup the LEDs */
143 at91_init_leds(AT91_PIN_PC7, AT91_PIN_PC7);
144
145 /* Serial */ 145 /* Serial */
146 /* DBGU on ttyS0. (Rx & Tx only) */ 146 /* DBGU on ttyS0. (Rx & Tx only) */
147 at91_register_uart(0, 0, 0); 147 at91_register_uart(0, 0, 0);
diff --git a/arch/arm/mach-at91/board-eco920.c b/arch/arm/mach-at91/board-eco920.c
index bebeae875bd3..558546cf63f4 100644
--- a/arch/arm/mach-at91/board-eco920.c
+++ b/arch/arm/mach-at91/board-eco920.c
@@ -37,9 +37,6 @@ static void __init eco920_init_early(void)
37 at91rm9200_set_type(ARCH_REVISON_9200_PQFP); 37 at91rm9200_set_type(ARCH_REVISON_9200_PQFP);
38 38
39 at91_initialize(18432000); 39 at91_initialize(18432000);
40
41 /* Setup the LEDs */
42 at91_init_leds(AT91_PIN_PB0, AT91_PIN_PB1);
43} 40}
44 41
45static struct macb_platform_data __initdata eco920_eth_data = { 42static struct macb_platform_data __initdata eco920_eth_data = {
@@ -97,6 +94,8 @@ static struct spi_board_info eco920_spi_devices[] = {
97 94
98static void __init eco920_board_init(void) 95static void __init eco920_board_init(void)
99{ 96{
97 /* Setup the LEDs */
98 at91_init_leds(AT91_PIN_PB0, AT91_PIN_PB1);
100 /* DBGU on ttyS0. (Rx & Tx only */ 99 /* DBGU on ttyS0. (Rx & Tx only */
101 at91_register_uart(0, 0, 0); 100 at91_register_uart(0, 0, 0);
102 at91_add_device_serial(); 101 at91_add_device_serial();
diff --git a/arch/arm/mach-at91/board-kafa.c b/arch/arm/mach-at91/board-kafa.c
index f46b3eb73457..f260657f32bc 100644
--- a/arch/arm/mach-at91/board-kafa.c
+++ b/arch/arm/mach-at91/board-kafa.c
@@ -47,9 +47,6 @@ static void __init kafa_init_early(void)
47 47
48 /* Initialize processor: 18.432 MHz crystal */ 48 /* Initialize processor: 18.432 MHz crystal */
49 at91_initialize(18432000); 49 at91_initialize(18432000);
50
51 /* Set up the LEDs */
52 at91_init_leds(AT91_PIN_PB4, AT91_PIN_PB4);
53} 50}
54 51
55static struct macb_platform_data __initdata kafa_eth_data = { 52static struct macb_platform_data __initdata kafa_eth_data = {
@@ -70,6 +67,9 @@ static struct at91_udc_data __initdata kafa_udc_data = {
70 67
71static void __init kafa_board_init(void) 68static void __init kafa_board_init(void)
72{ 69{
70 /* Set up the LEDs */
71 at91_init_leds(AT91_PIN_PB4, AT91_PIN_PB4);
72
73 /* Serial */ 73 /* Serial */
74 /* DBGU on ttyS0. (Rx & Tx only) */ 74 /* DBGU on ttyS0. (Rx & Tx only) */
75 at91_register_uart(0, 0, 0); 75 at91_register_uart(0, 0, 0);
diff --git a/arch/arm/mach-at91/board-kb9202.c b/arch/arm/mach-at91/board-kb9202.c
index e71b9e15c999..ba39db5482b9 100644
--- a/arch/arm/mach-at91/board-kb9202.c
+++ b/arch/arm/mach-at91/board-kb9202.c
@@ -50,9 +50,6 @@ static void __init kb9202_init_early(void)
50 50
51 /* Initialize processor: 10 MHz crystal */ 51 /* Initialize processor: 10 MHz crystal */
52 at91_initialize(10000000); 52 at91_initialize(10000000);
53
54 /* Set up the LEDs */
55 at91_init_leds(AT91_PIN_PC19, AT91_PIN_PC18);
56} 53}
57 54
58static struct macb_platform_data __initdata kb9202_eth_data = { 55static struct macb_platform_data __initdata kb9202_eth_data = {
@@ -100,6 +97,9 @@ static struct atmel_nand_data __initdata kb9202_nand_data = {
100 97
101static void __init kb9202_board_init(void) 98static void __init kb9202_board_init(void)
102{ 99{
100 /* Set up the LEDs */
101 at91_init_leds(AT91_PIN_PC19, AT91_PIN_PC18);
102
103 /* Serial */ 103 /* Serial */
104 /* DBGU on ttyS0. (Rx & Tx only) */ 104 /* DBGU on ttyS0. (Rx & Tx only) */
105 at91_register_uart(0, 0, 0); 105 at91_register_uart(0, 0, 0);
diff --git a/arch/arm/mach-at91/board-rm9200dk.c b/arch/arm/mach-at91/board-rm9200dk.c
index 4a0b09741254..afd7a4713766 100644
--- a/arch/arm/mach-at91/board-rm9200dk.c
+++ b/arch/arm/mach-at91/board-rm9200dk.c
@@ -50,9 +50,6 @@ static void __init dk_init_early(void)
50{ 50{
51 /* Initialize processor: 18.432 MHz crystal */ 51 /* Initialize processor: 18.432 MHz crystal */
52 at91_initialize(18432000); 52 at91_initialize(18432000);
53
54 /* Setup the LEDs */
55 at91_init_leds(AT91_PIN_PB2, AT91_PIN_PB2);
56} 53}
57 54
58static struct macb_platform_data __initdata dk_eth_data = { 55static struct macb_platform_data __initdata dk_eth_data = {
@@ -179,6 +176,9 @@ static struct gpio_led dk_leds[] = {
179 176
180static void __init dk_board_init(void) 177static void __init dk_board_init(void)
181{ 178{
179 /* Setup the LEDs */
180 at91_init_leds(AT91_PIN_PB2, AT91_PIN_PB2);
181
182 /* Serial */ 182 /* Serial */
183 /* DBGU on ttyS0. (Rx & Tx only) */ 183 /* DBGU on ttyS0. (Rx & Tx only) */
184 at91_register_uart(0, 0, 0); 184 at91_register_uart(0, 0, 0);
diff --git a/arch/arm/mach-at91/board-rm9200ek.c b/arch/arm/mach-at91/board-rm9200ek.c
index b68726140b6a..78ffc8315f97 100644
--- a/arch/arm/mach-at91/board-rm9200ek.c
+++ b/arch/arm/mach-at91/board-rm9200ek.c
@@ -50,9 +50,6 @@ static void __init ek_init_early(void)
50{ 50{
51 /* Initialize processor: 18.432 MHz crystal */ 51 /* Initialize processor: 18.432 MHz crystal */
52 at91_initialize(18432000); 52 at91_initialize(18432000);
53
54 /* Setup the LEDs */
55 at91_init_leds(AT91_PIN_PB1, AT91_PIN_PB2);
56} 53}
57 54
58static struct macb_platform_data __initdata ek_eth_data = { 55static struct macb_platform_data __initdata ek_eth_data = {
@@ -150,6 +147,9 @@ static struct gpio_led ek_leds[] = {
150 147
151static void __init ek_board_init(void) 148static void __init ek_board_init(void)
152{ 149{
150 /* Setup the LEDs */
151 at91_init_leds(AT91_PIN_PB1, AT91_PIN_PB2);
152
153 /* Serial */ 153 /* Serial */
154 /* DBGU on ttyS0. (Rx & Tx only) */ 154 /* DBGU on ttyS0. (Rx & Tx only) */
155 at91_register_uart(0, 0, 0); 155 at91_register_uart(0, 0, 0);
diff --git a/arch/arm/mach-at91/board-rsi-ews.c b/arch/arm/mach-at91/board-rsi-ews.c
index 10d8730aaa7e..24ab9be7510f 100644
--- a/arch/arm/mach-at91/board-rsi-ews.c
+++ b/arch/arm/mach-at91/board-rsi-ews.c
@@ -35,9 +35,6 @@ static void __init rsi_ews_init_early(void)
35{ 35{
36 /* Initialize processor: 18.432 MHz crystal */ 36 /* Initialize processor: 18.432 MHz crystal */
37 at91_initialize(18432000); 37 at91_initialize(18432000);
38
39 /* Setup the LEDs */
40 at91_init_leds(AT91_PIN_PB6, AT91_PIN_PB9);
41} 38}
42 39
43/* 40/*
@@ -187,6 +184,9 @@ static struct platform_device rsiews_nor_flash = {
187 */ 184 */
188static void __init rsi_ews_board_init(void) 185static void __init rsi_ews_board_init(void)
189{ 186{
187 /* Setup the LEDs */
188 at91_init_leds(AT91_PIN_PB6, AT91_PIN_PB9);
189
190 /* Serial */ 190 /* Serial */
191 /* DBGU on ttyS0. (Rx & Tx only) */ 191 /* DBGU on ttyS0. (Rx & Tx only) */
192 /* This one is for debugging */ 192 /* This one is for debugging */
diff --git a/arch/arm/mach-at91/board-sam9-l9260.c b/arch/arm/mach-at91/board-sam9-l9260.c
index 5343dab295d4..cdd21f2595d2 100644
--- a/arch/arm/mach-at91/board-sam9-l9260.c
+++ b/arch/arm/mach-at91/board-sam9-l9260.c
@@ -48,9 +48,6 @@ static void __init ek_init_early(void)
48{ 48{
49 /* Initialize processor: 18.432 MHz crystal */ 49 /* Initialize processor: 18.432 MHz crystal */
50 at91_initialize(18432000); 50 at91_initialize(18432000);
51
52 /* Setup the LEDs */
53 at91_init_leds(AT91_PIN_PA9, AT91_PIN_PA6);
54} 51}
55 52
56/* 53/*
@@ -170,6 +167,9 @@ static struct at91_mmc_data __initdata ek_mmc_data = {
170 167
171static void __init ek_board_init(void) 168static void __init ek_board_init(void)
172{ 169{
170 /* Setup the LEDs */
171 at91_init_leds(AT91_PIN_PA9, AT91_PIN_PA6);
172
173 /* Serial */ 173 /* Serial */
174 /* DBGU on ttyS0. (Rx & Tx only) */ 174 /* DBGU on ttyS0. (Rx & Tx only) */
175 at91_register_uart(0, 0, 0); 175 at91_register_uart(0, 0, 0);
diff --git a/arch/arm/mach-at91/board-sam9261ek.c b/arch/arm/mach-at91/board-sam9261ek.c
index 4406f6b53275..065b5ee35070 100644
--- a/arch/arm/mach-at91/board-sam9261ek.c
+++ b/arch/arm/mach-at91/board-sam9261ek.c
@@ -58,9 +58,6 @@ static void __init ek_init_early(void)
58{ 58{
59 /* Initialize processor: 18.432 MHz crystal */ 59 /* Initialize processor: 18.432 MHz crystal */
60 at91_initialize(18432000); 60 at91_initialize(18432000);
61
62 /* Setup the LEDs */
63 at91_init_leds(AT91_PIN_PA13, AT91_PIN_PA14);
64} 61}
65 62
66/* 63/*
@@ -570,6 +567,9 @@ static struct gpio_led ek_leds[] = {
570 567
571static void __init ek_board_init(void) 568static void __init ek_board_init(void)
572{ 569{
570 /* Setup the LEDs */
571 at91_init_leds(AT91_PIN_PA13, AT91_PIN_PA14);
572
573 /* Serial */ 573 /* Serial */
574 /* DBGU on ttyS0. (Rx & Tx only) */ 574 /* DBGU on ttyS0. (Rx & Tx only) */
575 at91_register_uart(0, 0, 0); 575 at91_register_uart(0, 0, 0);
diff --git a/arch/arm/mach-at91/board-yl-9200.c b/arch/arm/mach-at91/board-yl-9200.c
index db8d25c16794..d56665ea4b55 100644
--- a/arch/arm/mach-at91/board-yl-9200.c
+++ b/arch/arm/mach-at91/board-yl-9200.c
@@ -58,9 +58,6 @@ static void __init yl9200_init_early(void)
58 58
59 /* Initialize processor: 18.432 MHz crystal */ 59 /* Initialize processor: 18.432 MHz crystal */
60 at91_initialize(18432000); 60 at91_initialize(18432000);
61
62 /* Setup the LEDs D2=PB17 (timer), D3=PB16 (cpu) */
63 at91_init_leds(AT91_PIN_PB16, AT91_PIN_PB17);
64} 61}
65 62
66/* 63/*
@@ -543,6 +540,9 @@ void __init yl9200_add_device_video(void) {}
543 540
544static void __init yl9200_board_init(void) 541static void __init yl9200_board_init(void)
545{ 542{
543 /* Setup the LEDs D2=PB17 (timer), D3=PB16 (cpu) */
544 at91_init_leds(AT91_PIN_PB16, AT91_PIN_PB17);
545
546 /* Serial */ 546 /* Serial */
547 /* DBGU on ttyS0. (Rx & Tx only) */ 547 /* DBGU on ttyS0. (Rx & Tx only) */
548 at91_register_uart(0, 0, 0); 548 at91_register_uart(0, 0, 0);