diff options
Diffstat (limited to 'arch/arm/mach-at91/board-afeb-9260v1.c')
-rw-r--r-- | arch/arm/mach-at91/board-afeb-9260v1.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/board-afeb-9260v1.c b/arch/arm/mach-at91/board-afeb-9260v1.c index 970fd6b6753e..50667bed7cc9 100644 --- a/arch/arm/mach-at91/board-afeb-9260v1.c +++ b/arch/arm/mach-at91/board-afeb-9260v1.c | |||
@@ -53,7 +53,7 @@ static void __init afeb9260_map_io(void) | |||
53 | /* Initialize processor: 18.432 MHz crystal */ | 53 | /* Initialize processor: 18.432 MHz crystal */ |
54 | at91sam9260_initialize(18432000); | 54 | at91sam9260_initialize(18432000); |
55 | 55 | ||
56 | /* DGBU on ttyS0. (Rx & Tx only) */ | 56 | /* DBGU on ttyS0. (Rx & Tx only) */ |
57 | at91_register_uart(0, 0, 0); | 57 | at91_register_uart(0, 0, 0); |
58 | 58 | ||
59 | /* USART0 on ttyS1. (Rx, Tx, CTS, RTS, DTR, DSR, DCD, RI) */ | 59 | /* USART0 on ttyS1. (Rx, Tx, CTS, RTS, DTR, DSR, DCD, RI) */ |
@@ -174,6 +174,16 @@ static struct i2c_board_info __initdata afeb9260_i2c_devices[] = { | |||
174 | }, | 174 | }, |
175 | }; | 175 | }; |
176 | 176 | ||
177 | /* | ||
178 | * IDE (CF True IDE mode) | ||
179 | */ | ||
180 | static struct at91_cf_data afeb9260_cf_data = { | ||
181 | .chipselect = 4, | ||
182 | .irq_pin = AT91_PIN_PA6, | ||
183 | .rst_pin = AT91_PIN_PA7, | ||
184 | .flags = AT91_CF_TRUE_IDE, | ||
185 | }; | ||
186 | |||
177 | static void __init afeb9260_board_init(void) | 187 | static void __init afeb9260_board_init(void) |
178 | { | 188 | { |
179 | /* Serial */ | 189 | /* Serial */ |
@@ -202,6 +212,8 @@ static void __init afeb9260_board_init(void) | |||
202 | ARRAY_SIZE(afeb9260_i2c_devices)); | 212 | ARRAY_SIZE(afeb9260_i2c_devices)); |
203 | /* Audio */ | 213 | /* Audio */ |
204 | at91_add_device_ssc(AT91SAM9260_ID_SSC, ATMEL_SSC_TX); | 214 | at91_add_device_ssc(AT91SAM9260_ID_SSC, ATMEL_SSC_TX); |
215 | /* IDE */ | ||
216 | at91_add_device_cf(&afeb9260_cf_data); | ||
205 | } | 217 | } |
206 | 218 | ||
207 | MACHINE_START(AFEB9260, "Custom afeb9260 board") | 219 | MACHINE_START(AFEB9260, "Custom afeb9260 board") |