diff options
Diffstat (limited to 'arch/arm/mach-at91/board-kb9202.c')
-rw-r--r-- | arch/arm/mach-at91/board-kb9202.c | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/arch/arm/mach-at91/board-kb9202.c b/arch/arm/mach-at91/board-kb9202.c index ccbc8bea5614..e71b9e15c999 100644 --- a/arch/arm/mach-at91/board-kb9202.c +++ b/arch/arm/mach-at91/board-kb9202.c | |||
@@ -53,18 +53,6 @@ static void __init kb9202_init_early(void) | |||
53 | 53 | ||
54 | /* Set up the LEDs */ | 54 | /* Set up the LEDs */ |
55 | at91_init_leds(AT91_PIN_PC19, AT91_PIN_PC18); | 55 | at91_init_leds(AT91_PIN_PC19, AT91_PIN_PC18); |
56 | |||
57 | /* DBGU on ttyS0. (Rx & Tx only) */ | ||
58 | at91_register_uart(0, 0, 0); | ||
59 | |||
60 | /* USART0 on ttyS1 (Rx & Tx only) */ | ||
61 | at91_register_uart(AT91RM9200_ID_US0, 1, 0); | ||
62 | |||
63 | /* USART1 on ttyS2 (Rx & Tx only) - IRDA (optional) */ | ||
64 | at91_register_uart(AT91RM9200_ID_US1, 2, 0); | ||
65 | |||
66 | /* USART3 on ttyS3 (Rx, Tx, CTS, RTS) - RS485 (optional) */ | ||
67 | at91_register_uart(AT91RM9200_ID_US3, 3, ATMEL_UART_CTS | ATMEL_UART_RTS); | ||
68 | } | 56 | } |
69 | 57 | ||
70 | static struct macb_platform_data __initdata kb9202_eth_data = { | 58 | static struct macb_platform_data __initdata kb9202_eth_data = { |
@@ -113,6 +101,17 @@ static struct atmel_nand_data __initdata kb9202_nand_data = { | |||
113 | static void __init kb9202_board_init(void) | 101 | static void __init kb9202_board_init(void) |
114 | { | 102 | { |
115 | /* Serial */ | 103 | /* Serial */ |
104 | /* DBGU on ttyS0. (Rx & Tx only) */ | ||
105 | at91_register_uart(0, 0, 0); | ||
106 | |||
107 | /* USART0 on ttyS1 (Rx & Tx only) */ | ||
108 | at91_register_uart(AT91RM9200_ID_US0, 1, 0); | ||
109 | |||
110 | /* USART1 on ttyS2 (Rx & Tx only) - IRDA (optional) */ | ||
111 | at91_register_uart(AT91RM9200_ID_US1, 2, 0); | ||
112 | |||
113 | /* USART3 on ttyS3 (Rx, Tx, CTS, RTS) - RS485 (optional) */ | ||
114 | at91_register_uart(AT91RM9200_ID_US3, 3, ATMEL_UART_CTS | ATMEL_UART_RTS); | ||
116 | at91_add_device_serial(); | 115 | at91_add_device_serial(); |
117 | /* Ethernet */ | 116 | /* Ethernet */ |
118 | at91_add_device_eth(&kb9202_eth_data); | 117 | at91_add_device_eth(&kb9202_eth_data); |