Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 1 | /* |
| 2 | * arch/arm/mach-at91/at91sam9263.c |
| 3 | * |
| 4 | * Copyright (C) 2007 Atmel Corporation. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 2 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | */ |
| 12 | |
| 13 | #include <linux/module.h> |
Andrew Victor | 3ef2fb4 | 2008-04-02 21:36:06 +0100 | [diff] [blame] | 14 | #include <linux/pm.h> |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 15 | |
Russell King | 80b02c1 | 2009-01-08 10:01:47 +0000 | [diff] [blame] | 16 | #include <asm/irq.h> |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 17 | #include <asm/mach/arch.h> |
| 18 | #include <asm/mach/map.h> |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 19 | #include <mach/at91sam9263.h> |
| 20 | #include <mach/at91_pmc.h> |
| 21 | #include <mach/at91_rstc.h> |
| 22 | #include <mach/at91_shdwc.h> |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 23 | |
Jean-Christophe PLAGNIOL-VILLARD | 21d08b9 | 2011-04-23 15:28:34 +0800 | [diff] [blame] | 24 | #include "soc.h" |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 25 | #include "generic.h" |
| 26 | #include "clock.h" |
| 27 | |
Jean-Christophe PLAGNIOL-VILLARD | 21d08b9 | 2011-04-23 15:28:34 +0800 | [diff] [blame] | 28 | static struct map_desc at91sam9263_sram_desc[] __initdata = { |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 29 | { |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 30 | .virtual = AT91_IO_VIRT_BASE - AT91SAM9263_SRAM0_SIZE, |
| 31 | .pfn = __phys_to_pfn(AT91SAM9263_SRAM0_BASE), |
| 32 | .length = AT91SAM9263_SRAM0_SIZE, |
| 33 | .type = MT_DEVICE, |
| 34 | }, { |
| 35 | .virtual = AT91_IO_VIRT_BASE - AT91SAM9263_SRAM0_SIZE - AT91SAM9263_SRAM1_SIZE, |
| 36 | .pfn = __phys_to_pfn(AT91SAM9263_SRAM1_BASE), |
| 37 | .length = AT91SAM9263_SRAM1_SIZE, |
| 38 | .type = MT_DEVICE, |
| 39 | }, |
| 40 | }; |
| 41 | |
| 42 | /* -------------------------------------------------------------------- |
| 43 | * Clocks |
| 44 | * -------------------------------------------------------------------- */ |
| 45 | |
| 46 | /* |
| 47 | * The peripheral clocks. |
| 48 | */ |
| 49 | static struct clk pioA_clk = { |
| 50 | .name = "pioA_clk", |
| 51 | .pmc_mask = 1 << AT91SAM9263_ID_PIOA, |
| 52 | .type = CLK_TYPE_PERIPHERAL, |
| 53 | }; |
| 54 | static struct clk pioB_clk = { |
| 55 | .name = "pioB_clk", |
| 56 | .pmc_mask = 1 << AT91SAM9263_ID_PIOB, |
| 57 | .type = CLK_TYPE_PERIPHERAL, |
| 58 | }; |
| 59 | static struct clk pioCDE_clk = { |
| 60 | .name = "pioCDE_clk", |
| 61 | .pmc_mask = 1 << AT91SAM9263_ID_PIOCDE, |
| 62 | .type = CLK_TYPE_PERIPHERAL, |
| 63 | }; |
| 64 | static struct clk usart0_clk = { |
| 65 | .name = "usart0_clk", |
| 66 | .pmc_mask = 1 << AT91SAM9263_ID_US0, |
| 67 | .type = CLK_TYPE_PERIPHERAL, |
| 68 | }; |
| 69 | static struct clk usart1_clk = { |
| 70 | .name = "usart1_clk", |
| 71 | .pmc_mask = 1 << AT91SAM9263_ID_US1, |
| 72 | .type = CLK_TYPE_PERIPHERAL, |
| 73 | }; |
| 74 | static struct clk usart2_clk = { |
| 75 | .name = "usart2_clk", |
| 76 | .pmc_mask = 1 << AT91SAM9263_ID_US2, |
| 77 | .type = CLK_TYPE_PERIPHERAL, |
| 78 | }; |
| 79 | static struct clk mmc0_clk = { |
| 80 | .name = "mci0_clk", |
| 81 | .pmc_mask = 1 << AT91SAM9263_ID_MCI0, |
| 82 | .type = CLK_TYPE_PERIPHERAL, |
| 83 | }; |
| 84 | static struct clk mmc1_clk = { |
| 85 | .name = "mci1_clk", |
| 86 | .pmc_mask = 1 << AT91SAM9263_ID_MCI1, |
| 87 | .type = CLK_TYPE_PERIPHERAL, |
| 88 | }; |
Andrew Victor | e8788ba | 2007-05-02 17:14:57 +0100 | [diff] [blame] | 89 | static struct clk can_clk = { |
| 90 | .name = "can_clk", |
| 91 | .pmc_mask = 1 << AT91SAM9263_ID_CAN, |
| 92 | .type = CLK_TYPE_PERIPHERAL, |
| 93 | }; |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 94 | static struct clk twi_clk = { |
| 95 | .name = "twi_clk", |
| 96 | .pmc_mask = 1 << AT91SAM9263_ID_TWI, |
| 97 | .type = CLK_TYPE_PERIPHERAL, |
| 98 | }; |
| 99 | static struct clk spi0_clk = { |
| 100 | .name = "spi0_clk", |
| 101 | .pmc_mask = 1 << AT91SAM9263_ID_SPI0, |
| 102 | .type = CLK_TYPE_PERIPHERAL, |
| 103 | }; |
| 104 | static struct clk spi1_clk = { |
| 105 | .name = "spi1_clk", |
| 106 | .pmc_mask = 1 << AT91SAM9263_ID_SPI1, |
| 107 | .type = CLK_TYPE_PERIPHERAL, |
| 108 | }; |
Andrew Victor | e8788ba | 2007-05-02 17:14:57 +0100 | [diff] [blame] | 109 | static struct clk ssc0_clk = { |
| 110 | .name = "ssc0_clk", |
| 111 | .pmc_mask = 1 << AT91SAM9263_ID_SSC0, |
| 112 | .type = CLK_TYPE_PERIPHERAL, |
| 113 | }; |
| 114 | static struct clk ssc1_clk = { |
| 115 | .name = "ssc1_clk", |
| 116 | .pmc_mask = 1 << AT91SAM9263_ID_SSC1, |
| 117 | .type = CLK_TYPE_PERIPHERAL, |
| 118 | }; |
| 119 | static struct clk ac97_clk = { |
| 120 | .name = "ac97_clk", |
| 121 | .pmc_mask = 1 << AT91SAM9263_ID_AC97C, |
| 122 | .type = CLK_TYPE_PERIPHERAL, |
| 123 | }; |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 124 | static struct clk tcb_clk = { |
| 125 | .name = "tcb_clk", |
| 126 | .pmc_mask = 1 << AT91SAM9263_ID_TCB, |
| 127 | .type = CLK_TYPE_PERIPHERAL, |
| 128 | }; |
Andrew Victor | bb1ad68 | 2008-09-18 19:42:37 +0100 | [diff] [blame] | 129 | static struct clk pwm_clk = { |
| 130 | .name = "pwm_clk", |
Andrew Victor | e8788ba | 2007-05-02 17:14:57 +0100 | [diff] [blame] | 131 | .pmc_mask = 1 << AT91SAM9263_ID_PWMC, |
| 132 | .type = CLK_TYPE_PERIPHERAL, |
| 133 | }; |
Andrew Victor | 69b2e99 | 2007-02-14 08:44:43 +0100 | [diff] [blame] | 134 | static struct clk macb_clk = { |
| 135 | .name = "macb_clk", |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 136 | .pmc_mask = 1 << AT91SAM9263_ID_EMAC, |
| 137 | .type = CLK_TYPE_PERIPHERAL, |
| 138 | }; |
Andrew Victor | e8788ba | 2007-05-02 17:14:57 +0100 | [diff] [blame] | 139 | static struct clk dma_clk = { |
| 140 | .name = "dma_clk", |
| 141 | .pmc_mask = 1 << AT91SAM9263_ID_DMA, |
| 142 | .type = CLK_TYPE_PERIPHERAL, |
| 143 | }; |
| 144 | static struct clk twodge_clk = { |
| 145 | .name = "2dge_clk", |
| 146 | .pmc_mask = 1 << AT91SAM9263_ID_2DGE, |
| 147 | .type = CLK_TYPE_PERIPHERAL, |
| 148 | }; |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 149 | static struct clk udc_clk = { |
| 150 | .name = "udc_clk", |
| 151 | .pmc_mask = 1 << AT91SAM9263_ID_UDP, |
| 152 | .type = CLK_TYPE_PERIPHERAL, |
| 153 | }; |
| 154 | static struct clk isi_clk = { |
| 155 | .name = "isi_clk", |
| 156 | .pmc_mask = 1 << AT91SAM9263_ID_ISI, |
| 157 | .type = CLK_TYPE_PERIPHERAL, |
| 158 | }; |
| 159 | static struct clk lcdc_clk = { |
| 160 | .name = "lcdc_clk", |
Andrew Victor | 7f6e2d9 | 2007-02-22 07:34:56 +0100 | [diff] [blame] | 161 | .pmc_mask = 1 << AT91SAM9263_ID_LCDC, |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 162 | .type = CLK_TYPE_PERIPHERAL, |
| 163 | }; |
| 164 | static struct clk ohci_clk = { |
| 165 | .name = "ohci_clk", |
| 166 | .pmc_mask = 1 << AT91SAM9263_ID_UHP, |
| 167 | .type = CLK_TYPE_PERIPHERAL, |
| 168 | }; |
| 169 | |
| 170 | static struct clk *periph_clocks[] __initdata = { |
| 171 | &pioA_clk, |
| 172 | &pioB_clk, |
| 173 | &pioCDE_clk, |
| 174 | &usart0_clk, |
| 175 | &usart1_clk, |
| 176 | &usart2_clk, |
| 177 | &mmc0_clk, |
| 178 | &mmc1_clk, |
Andrew Victor | e8788ba | 2007-05-02 17:14:57 +0100 | [diff] [blame] | 179 | &can_clk, |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 180 | &twi_clk, |
| 181 | &spi0_clk, |
| 182 | &spi1_clk, |
Andrew Victor | e8788ba | 2007-05-02 17:14:57 +0100 | [diff] [blame] | 183 | &ssc0_clk, |
| 184 | &ssc1_clk, |
| 185 | &ac97_clk, |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 186 | &tcb_clk, |
Andrew Victor | bb1ad68 | 2008-09-18 19:42:37 +0100 | [diff] [blame] | 187 | &pwm_clk, |
Andrew Victor | 69b2e99 | 2007-02-14 08:44:43 +0100 | [diff] [blame] | 188 | &macb_clk, |
Andrew Victor | e8788ba | 2007-05-02 17:14:57 +0100 | [diff] [blame] | 189 | &twodge_clk, |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 190 | &udc_clk, |
| 191 | &isi_clk, |
| 192 | &lcdc_clk, |
Andrew Victor | e8788ba | 2007-05-02 17:14:57 +0100 | [diff] [blame] | 193 | &dma_clk, |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 194 | &ohci_clk, |
| 195 | // irq0 .. irq1 |
| 196 | }; |
| 197 | |
Jean-Christophe PLAGNIOL-VILLARD | bd60299 | 2011-02-02 07:27:07 +0100 | [diff] [blame] | 198 | static struct clk_lookup periph_clocks_lookups[] = { |
| 199 | CLKDEV_CON_DEV_ID("pclk", "ssc.0", &ssc0_clk), |
| 200 | CLKDEV_CON_DEV_ID("pclk", "ssc.1", &ssc1_clk), |
| 201 | CLKDEV_CON_DEV_ID("mci_clk", "at91_mci.0", &mmc0_clk), |
| 202 | CLKDEV_CON_DEV_ID("mci_clk", "at91_mci.1", &mmc1_clk), |
| 203 | CLKDEV_CON_DEV_ID("spi_clk", "atmel_spi.0", &spi0_clk), |
| 204 | CLKDEV_CON_DEV_ID("spi_clk", "atmel_spi.1", &spi1_clk), |
| 205 | CLKDEV_CON_DEV_ID("t0_clk", "atmel_tcb.0", &tcb_clk), |
| 206 | }; |
| 207 | |
| 208 | static struct clk_lookup usart_clocks_lookups[] = { |
| 209 | CLKDEV_CON_DEV_ID("usart", "atmel_usart.0", &mck), |
| 210 | CLKDEV_CON_DEV_ID("usart", "atmel_usart.1", &usart0_clk), |
| 211 | CLKDEV_CON_DEV_ID("usart", "atmel_usart.2", &usart1_clk), |
| 212 | CLKDEV_CON_DEV_ID("usart", "atmel_usart.3", &usart2_clk), |
| 213 | }; |
| 214 | |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 215 | /* |
| 216 | * The four programmable clocks. |
| 217 | * You must configure pin multiplexing to bring these signals out. |
| 218 | */ |
| 219 | static struct clk pck0 = { |
| 220 | .name = "pck0", |
| 221 | .pmc_mask = AT91_PMC_PCK0, |
| 222 | .type = CLK_TYPE_PROGRAMMABLE, |
| 223 | .id = 0, |
| 224 | }; |
| 225 | static struct clk pck1 = { |
| 226 | .name = "pck1", |
| 227 | .pmc_mask = AT91_PMC_PCK1, |
| 228 | .type = CLK_TYPE_PROGRAMMABLE, |
| 229 | .id = 1, |
| 230 | }; |
| 231 | static struct clk pck2 = { |
| 232 | .name = "pck2", |
| 233 | .pmc_mask = AT91_PMC_PCK2, |
| 234 | .type = CLK_TYPE_PROGRAMMABLE, |
| 235 | .id = 2, |
| 236 | }; |
| 237 | static struct clk pck3 = { |
| 238 | .name = "pck3", |
| 239 | .pmc_mask = AT91_PMC_PCK3, |
| 240 | .type = CLK_TYPE_PROGRAMMABLE, |
| 241 | .id = 3, |
| 242 | }; |
| 243 | |
| 244 | static void __init at91sam9263_register_clocks(void) |
| 245 | { |
| 246 | int i; |
| 247 | |
| 248 | for (i = 0; i < ARRAY_SIZE(periph_clocks); i++) |
| 249 | clk_register(periph_clocks[i]); |
| 250 | |
Jean-Christophe PLAGNIOL-VILLARD | bd60299 | 2011-02-02 07:27:07 +0100 | [diff] [blame] | 251 | clkdev_add_table(periph_clocks_lookups, |
| 252 | ARRAY_SIZE(periph_clocks_lookups)); |
| 253 | clkdev_add_table(usart_clocks_lookups, |
| 254 | ARRAY_SIZE(usart_clocks_lookups)); |
| 255 | |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 256 | clk_register(&pck0); |
| 257 | clk_register(&pck1); |
| 258 | clk_register(&pck2); |
| 259 | clk_register(&pck3); |
| 260 | } |
| 261 | |
Jean-Christophe PLAGNIOL-VILLARD | bd60299 | 2011-02-02 07:27:07 +0100 | [diff] [blame] | 262 | static struct clk_lookup console_clock_lookup; |
| 263 | |
| 264 | void __init at91sam9263_set_console_clock(int id) |
| 265 | { |
| 266 | if (id >= ARRAY_SIZE(usart_clocks_lookups)) |
| 267 | return; |
| 268 | |
| 269 | console_clock_lookup.con_id = "usart"; |
| 270 | console_clock_lookup.clk = usart_clocks_lookups[id].clk; |
| 271 | clkdev_add(&console_clock_lookup); |
| 272 | } |
| 273 | |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 274 | /* -------------------------------------------------------------------- |
| 275 | * GPIO |
| 276 | * -------------------------------------------------------------------- */ |
| 277 | |
| 278 | static struct at91_gpio_bank at91sam9263_gpio[] = { |
| 279 | { |
| 280 | .id = AT91SAM9263_ID_PIOA, |
| 281 | .offset = AT91_PIOA, |
| 282 | .clock = &pioA_clk, |
| 283 | }, { |
| 284 | .id = AT91SAM9263_ID_PIOB, |
| 285 | .offset = AT91_PIOB, |
| 286 | .clock = &pioB_clk, |
| 287 | }, { |
| 288 | .id = AT91SAM9263_ID_PIOCDE, |
| 289 | .offset = AT91_PIOC, |
| 290 | .clock = &pioCDE_clk, |
| 291 | }, { |
| 292 | .id = AT91SAM9263_ID_PIOCDE, |
| 293 | .offset = AT91_PIOD, |
| 294 | .clock = &pioCDE_clk, |
| 295 | }, { |
| 296 | .id = AT91SAM9263_ID_PIOCDE, |
| 297 | .offset = AT91_PIOE, |
| 298 | .clock = &pioCDE_clk, |
| 299 | } |
| 300 | }; |
| 301 | |
Andrew Victor | 3ef2fb4 | 2008-04-02 21:36:06 +0100 | [diff] [blame] | 302 | static void at91sam9263_poweroff(void) |
| 303 | { |
| 304 | at91_sys_write(AT91_SHDW_CR, AT91_SHDW_KEY | AT91_SHDW_SHDW); |
| 305 | } |
| 306 | |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 307 | |
| 308 | /* -------------------------------------------------------------------- |
| 309 | * AT91SAM9263 processor initialization |
| 310 | * -------------------------------------------------------------------- */ |
| 311 | |
Jean-Christophe PLAGNIOL-VILLARD | 21d08b9 | 2011-04-23 15:28:34 +0800 | [diff] [blame] | 312 | static void __init at91sam9263_map_io(void) |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 313 | { |
Jean-Christophe PLAGNIOL-VILLARD | 21d08b9 | 2011-04-23 15:28:34 +0800 | [diff] [blame] | 314 | iotable_init(at91sam9263_sram_desc, ARRAY_SIZE(at91sam9263_sram_desc)); |
Jean-Christophe PLAGNIOL-VILLARD | 1b021a3 | 2011-04-28 20:19:32 +0800 | [diff] [blame] | 315 | } |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 316 | |
Jean-Christophe PLAGNIOL-VILLARD | 4653937 | 2011-04-24 18:20:28 +0800 | [diff] [blame] | 317 | static void __init at91sam9263_initialize(void) |
Jean-Christophe PLAGNIOL-VILLARD | 1b021a3 | 2011-04-28 20:19:32 +0800 | [diff] [blame] | 318 | { |
Nicolas Ferre | bb413db | 2010-10-14 19:14:00 +0200 | [diff] [blame] | 319 | at91_arch_reset = at91sam9_alt_reset; |
Andrew Victor | 3ef2fb4 | 2008-04-02 21:36:06 +0100 | [diff] [blame] | 320 | pm_power_off = at91sam9263_poweroff; |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 321 | at91_extern_irq = (1 << AT91SAM9263_ID_IRQ0) | (1 << AT91SAM9263_ID_IRQ1); |
| 322 | |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 323 | /* Register GPIO subsystem */ |
| 324 | at91_gpio_init(at91sam9263_gpio, 5); |
| 325 | } |
| 326 | |
| 327 | /* -------------------------------------------------------------------- |
| 328 | * Interrupt initialization |
| 329 | * -------------------------------------------------------------------- */ |
| 330 | |
| 331 | /* |
| 332 | * The default interrupt priority levels (0 = lowest, 7 = highest). |
| 333 | */ |
| 334 | static unsigned int at91sam9263_default_irq_priority[NR_AIC_IRQS] __initdata = { |
| 335 | 7, /* Advanced Interrupt Controller (FIQ) */ |
| 336 | 7, /* System Peripherals */ |
Andrew Victor | 7cbed2b | 2007-11-20 08:46:53 +0100 | [diff] [blame] | 337 | 1, /* Parallel IO Controller A */ |
| 338 | 1, /* Parallel IO Controller B */ |
| 339 | 1, /* Parallel IO Controller C, D and E */ |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 340 | 0, |
| 341 | 0, |
Andrew Victor | 7cbed2b | 2007-11-20 08:46:53 +0100 | [diff] [blame] | 342 | 5, /* USART 0 */ |
| 343 | 5, /* USART 1 */ |
| 344 | 5, /* USART 2 */ |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 345 | 0, /* Multimedia Card Interface 0 */ |
| 346 | 0, /* Multimedia Card Interface 1 */ |
Andrew Victor | 7cbed2b | 2007-11-20 08:46:53 +0100 | [diff] [blame] | 347 | 3, /* CAN */ |
| 348 | 6, /* Two-Wire Interface */ |
| 349 | 5, /* Serial Peripheral Interface 0 */ |
| 350 | 5, /* Serial Peripheral Interface 1 */ |
| 351 | 4, /* Serial Synchronous Controller 0 */ |
| 352 | 4, /* Serial Synchronous Controller 1 */ |
| 353 | 5, /* AC97 Controller */ |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 354 | 0, /* Timer Counter 0, 1 and 2 */ |
| 355 | 0, /* Pulse Width Modulation Controller */ |
| 356 | 3, /* Ethernet */ |
| 357 | 0, |
| 358 | 0, /* 2D Graphic Engine */ |
Andrew Victor | 7cbed2b | 2007-11-20 08:46:53 +0100 | [diff] [blame] | 359 | 2, /* USB Device Port */ |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 360 | 0, /* Image Sensor Interface */ |
| 361 | 3, /* LDC Controller */ |
| 362 | 0, /* DMA Controller */ |
| 363 | 0, |
Andrew Victor | 7cbed2b | 2007-11-20 08:46:53 +0100 | [diff] [blame] | 364 | 2, /* USB Host port */ |
Andrew Victor | b2c6561 | 2007-02-08 09:42:40 +0100 | [diff] [blame] | 365 | 0, /* Advanced Interrupt Controller (IRQ0) */ |
| 366 | 0, /* Advanced Interrupt Controller (IRQ1) */ |
| 367 | }; |
| 368 | |
Jean-Christophe PLAGNIOL-VILLARD | 8c3583b | 2011-04-23 22:12:57 +0800 | [diff] [blame] | 369 | struct at91_init_soc __initdata at91sam9263_soc = { |
Jean-Christophe PLAGNIOL-VILLARD | 21d08b9 | 2011-04-23 15:28:34 +0800 | [diff] [blame] | 370 | .map_io = at91sam9263_map_io, |
Jean-Christophe PLAGNIOL-VILLARD | 92100c1 | 2011-04-23 15:28:34 +0800 | [diff] [blame] | 371 | .default_irq_priority = at91sam9263_default_irq_priority, |
Jean-Christophe PLAGNIOL-VILLARD | 51ddec7 | 2011-04-24 18:15:34 +0800 | [diff] [blame^] | 372 | .register_clocks = at91sam9263_register_clocks, |
Jean-Christophe PLAGNIOL-VILLARD | 21d08b9 | 2011-04-23 15:28:34 +0800 | [diff] [blame] | 373 | .init = at91sam9263_initialize, |
| 374 | }; |