13 #include <linux/module.h>
15 #include <asm/proc-fns.h>
19 #include <asm/system_misc.h>
39 static struct clk pioA_clk = {
44 static struct clk pioB_clk = {
49 static struct clk pioC_clk = {
54 static struct clk adc_clk = {
60 static struct clk adc_op_clk = {
66 static struct clk usart0_clk = {
71 static struct clk usart1_clk = {
76 static struct clk usart2_clk = {
81 static struct clk mmc_clk = {
86 static struct clk udc_clk = {
91 static struct clk twi_clk = {
96 static struct clk spi0_clk = {
101 static struct clk spi1_clk = {
106 static struct clk ssc_clk = {
111 static struct clk tc0_clk = {
116 static struct clk tc1_clk = {
121 static struct clk tc2_clk = {
126 static struct clk ohci_clk = {
131 static struct clk macb_clk = {
136 static struct clk isi_clk = {
141 static struct clk usart3_clk = {
142 .name =
"usart3_clk",
146 static struct clk usart4_clk = {
147 .name =
"usart4_clk",
151 static struct clk usart5_clk = {
152 .name =
"usart5_clk",
156 static struct clk tc3_clk = {
161 static struct clk tc4_clk = {
166 static struct clk tc5_clk = {
202 static struct clk_lookup periph_clocks_lookups[] = {
240 static struct clk_lookup usart_clocks_lookups[] = {
254 static struct clk pck0 = {
260 static struct clk pck1 = {
267 static void __init at91sam9260_register_clocks(
void)
271 for (i = 0; i <
ARRAY_SIZE(periph_clocks); i++)
304 static void __init at91sam9xe_map_io(
void)
306 unsigned long sram_size;
320 static void __init at91sam9260_map_io(
void)
330 static void __init at91sam9260_ioremap_registers(
void)
340 static void __init at91sam9260_initialize(
void)
358 static unsigned int at91sam9260_default_irq_priority[
NR_AIC_IRQS] __initdata = {
394 .map_io = at91sam9260_map_io,
395 .default_irq_priority = at91sam9260_default_irq_priority,
396 .ioremap_registers = at91sam9260_ioremap_registers,
397 .register_clocks = at91sam9260_register_clocks,
398 .init = at91sam9260_initialize,