diff options
Diffstat (limited to 'arch/arm/mach-at91/board-eb9200.c')
-rw-r--r-- | arch/arm/mach-at91/board-eb9200.c | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/arch/arm/mach-at91/board-eb9200.c b/arch/arm/mach-at91/board-eb9200.c index d302ca3eeb64..bd1017297989 100644 --- a/arch/arm/mach-at91/board-eb9200.c +++ b/arch/arm/mach-at91/board-eb9200.c | |||
@@ -44,20 +44,6 @@ static void __init eb9200_init_early(void) | |||
44 | { | 44 | { |
45 | /* Initialize processor: 18.432 MHz crystal */ | 45 | /* Initialize processor: 18.432 MHz crystal */ |
46 | at91_initialize(18432000); | 46 | at91_initialize(18432000); |
47 | |||
48 | /* DBGU on ttyS0. (Rx & Tx only) */ | ||
49 | at91_register_uart(0, 0, 0); | ||
50 | |||
51 | /* USART1 on ttyS1. (Rx, Tx, CTS, RTS, DTR, DSR, DCD, RI) */ | ||
52 | at91_register_uart(AT91RM9200_ID_US1, 1, ATMEL_UART_CTS | ATMEL_UART_RTS | ||
53 | | ATMEL_UART_DTR | ATMEL_UART_DSR | ATMEL_UART_DCD | ||
54 | | ATMEL_UART_RI); | ||
55 | |||
56 | /* USART2 on ttyS2. (Rx, Tx) - IRDA */ | ||
57 | at91_register_uart(AT91RM9200_ID_US2, 2, 0); | ||
58 | |||
59 | /* set serial console to ttyS0 (ie, DBGU) */ | ||
60 | at91_set_serial_console(0); | ||
61 | } | 47 | } |
62 | 48 | ||
63 | static struct macb_platform_data __initdata eb9200_eth_data = { | 49 | static struct macb_platform_data __initdata eb9200_eth_data = { |
@@ -101,6 +87,16 @@ static struct i2c_board_info __initdata eb9200_i2c_devices[] = { | |||
101 | static void __init eb9200_board_init(void) | 87 | static void __init eb9200_board_init(void) |
102 | { | 88 | { |
103 | /* Serial */ | 89 | /* Serial */ |
90 | /* DBGU on ttyS0. (Rx & Tx only) */ | ||
91 | at91_register_uart(0, 0, 0); | ||
92 | |||
93 | /* USART1 on ttyS1. (Rx, Tx, CTS, RTS, DTR, DSR, DCD, RI) */ | ||
94 | at91_register_uart(AT91RM9200_ID_US1, 1, ATMEL_UART_CTS | ATMEL_UART_RTS | ||
95 | | ATMEL_UART_DTR | ATMEL_UART_DSR | ATMEL_UART_DCD | ||
96 | | ATMEL_UART_RI); | ||
97 | |||
98 | /* USART2 on ttyS2. (Rx, Tx) - IRDA */ | ||
99 | at91_register_uart(AT91RM9200_ID_US2, 2, 0); | ||
104 | at91_add_device_serial(); | 100 | at91_add_device_serial(); |
105 | /* Ethernet */ | 101 | /* Ethernet */ |
106 | at91_add_device_eth(&eb9200_eth_data); | 102 | at91_add_device_eth(&eb9200_eth_data); |