13 #include <linux/module.h>
15 #include <asm/proc-fns.h>
19 #include <asm/system_misc.h>
38 static struct clk pioA_clk = {
43 static struct clk pioB_clk = {
48 static struct clk pioC_clk = {
53 static struct clk usart0_clk = {
58 static struct clk usart1_clk = {
63 static struct clk usart2_clk = {
68 static struct clk mmc_clk = {
73 static struct clk udc_clk = {
78 static struct clk twi_clk = {
83 static struct clk spi0_clk = {
88 static struct clk spi1_clk = {
93 static struct clk ssc0_clk = {
98 static struct clk ssc1_clk = {
103 static struct clk ssc2_clk = {
108 static struct clk tc0_clk = {
113 static struct clk tc1_clk = {
118 static struct clk tc2_clk = {
123 static struct clk ohci_clk = {
128 static struct clk lcdc_clk = {
135 static struct clk hck0 = {
141 static struct clk hck1 = {
171 static struct clk_lookup periph_clocks_lookups[] = {
188 static struct clk_lookup usart_clocks_lookups[] = {
199 static struct clk pck0 = {
205 static struct clk pck1 = {
211 static struct clk pck2 = {
217 static struct clk pck3 = {
224 static void __init at91sam9261_register_clocks(
void)
228 for (i = 0; i <
ARRAY_SIZE(periph_clocks); i++)
266 static void __init at91sam9261_map_io(
void)
274 static void __init at91sam9261_ioremap_registers(
void)
284 static void __init at91sam9261_initialize(
void)
302 static unsigned int at91sam9261_default_irq_priority[
NR_AIC_IRQS] __initdata = {
338 .map_io = at91sam9261_map_io,
339 .default_irq_priority = at91sam9261_default_irq_priority,
340 .ioremap_registers = at91sam9261_ioremap_registers,
341 .register_clocks = at91sam9261_register_clocks,
342 .init = at91sam9261_initialize,