~ubuntu-branches/ubuntu/saucy/linux-ti-omap4/saucy-proposed

« back to all changes in this revision

Viewing changes to arch/arm/mach-at91/board-afeb-9260v1.c

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati, Stefan Bader, Upstream Kernel Changes
  • Date: 2012-08-15 17:17:43 UTC
  • Revision ID: package-import@ubuntu.com-20120815171743-h5wnuf51xe7pvdid
Tags: 3.5.0-207.13
[ Paolo Pisati ]

* Start new release

[ Stefan Bader ]

* (config) Enable getabis to use local package copies

[ Upstream Kernel Changes ]

* fixup: gargabe collect iva_seq[0|1] init
* [Config] enable all SND_OMAP_SOC_*s
* fixup: cm2xxx_3xxx.o is needed for omap2_cm_read|write_reg
* fixup: add some snd_soc_dai* helper functions
* fixup: s/snd_soc_dpcm_params/snd_soc_dpcm/g
* fixup: typo, no_host_mode and useless SDP4430 init
* fixup: enable again aess hwmod

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
{
53
53
        /* Initialize processor: 18.432 MHz crystal */
54
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
167
static void __init afeb9260_board_init(void)
184
168
{
185
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
182
        at91_add_device_serial();
187
183
        /* USB Host */
188
184
        at91_add_device_usbh(&afeb9260_usbh_data);