diff options
Diffstat (limited to 'arch/arm/mach-at91/board-afeb-9260v1.c')
-rw-r--r-- | arch/arm/mach-at91/board-afeb-9260v1.c | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/arch/arm/mach-at91/board-afeb-9260v1.c b/arch/arm/mach-at91/board-afeb-9260v1.c index 161efbaa1029..b7d8aa7b81e6 100644 --- a/arch/arm/mach-at91/board-afeb-9260v1.c +++ b/arch/arm/mach-at91/board-afeb-9260v1.c | |||
@@ -52,22 +52,6 @@ static void __init afeb9260_init_early(void) | |||
52 | { | 52 | { |
53 | /* Initialize processor: 18.432 MHz crystal */ | 53 | /* Initialize processor: 18.432 MHz crystal */ |
54 | at91_initialize(18432000); | 54 | at91_initialize(18432000); |
55 | |||
56 | /* DBGU on ttyS0. (Rx & Tx only) */ | ||
57 | at91_register_uart(0, 0, 0); | ||
58 | |||
59 | /* USART0 on ttyS1. (Rx, Tx, CTS, RTS, DTR, DSR, DCD, RI) */ | ||
60 | at91_register_uart(AT91SAM9260_ID_US0, 1, | ||
61 | ATMEL_UART_CTS | ATMEL_UART_RTS | ||
62 | | ATMEL_UART_DTR | ATMEL_UART_DSR | ||
63 | | ATMEL_UART_DCD | ATMEL_UART_RI); | ||
64 | |||
65 | /* USART1 on ttyS2. (Rx, Tx, RTS, CTS) */ | ||
66 | at91_register_uart(AT91SAM9260_ID_US1, 2, | ||
67 | ATMEL_UART_CTS | ATMEL_UART_RTS); | ||
68 | |||
69 | /* set serial console to ttyS0 (ie, DBGU) */ | ||
70 | at91_set_serial_console(0); | ||
71 | } | 55 | } |
72 | 56 | ||
73 | /* | 57 | /* |
@@ -183,6 +167,18 @@ static struct at91_cf_data afeb9260_cf_data = { | |||
183 | static void __init afeb9260_board_init(void) | 167 | static void __init afeb9260_board_init(void) |
184 | { | 168 | { |
185 | /* Serial */ | 169 | /* Serial */ |
170 | /* DBGU on ttyS0. (Rx & Tx only) */ | ||
171 | at91_register_uart(0, 0, 0); | ||
172 | |||
173 | /* USART0 on ttyS1. (Rx, Tx, CTS, RTS, DTR, DSR, DCD, RI) */ | ||
174 | at91_register_uart(AT91SAM9260_ID_US0, 1, | ||
175 | ATMEL_UART_CTS | ATMEL_UART_RTS | ||
176 | | ATMEL_UART_DTR | ATMEL_UART_DSR | ||
177 | | ATMEL_UART_DCD | ATMEL_UART_RI); | ||
178 | |||
179 | /* USART1 on ttyS2. (Rx, Tx, RTS, CTS) */ | ||
180 | at91_register_uart(AT91SAM9260_ID_US1, 2, | ||
181 | ATMEL_UART_CTS | ATMEL_UART_RTS); | ||
186 | at91_add_device_serial(); | 182 | at91_add_device_serial(); |
187 | /* USB Host */ | 183 | /* USB Host */ |
188 | at91_add_device_usbh(&afeb9260_usbh_data); | 184 | at91_add_device_usbh(&afeb9260_usbh_data); |