12 #include <linux/module.h>
14 #include <asm/proc-fns.h>
18 #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 pioD_clk = {
58 static struct clk usart0_clk = {
63 static struct clk usart1_clk = {
68 static struct clk usart2_clk = {
73 static struct clk usart3_clk = {
78 static struct clk mmc_clk = {
83 static struct clk twi0_clk = {
88 static struct clk twi1_clk = {
93 static struct clk spi_clk = {
98 static struct clk ssc0_clk = {
103 static struct clk ssc1_clk = {
108 static struct clk tc0_clk = {
113 static struct clk tc1_clk = {
118 static struct clk tc2_clk = {
123 static struct clk pwm_clk = {
128 static struct clk tsc_clk = {
133 static struct clk dma_clk = {
138 static struct clk udphs_clk = {
143 static struct clk lcdc_clk = {
148 static struct clk ac97_clk = {
181 static struct clk_lookup periph_clocks_lookups[] = {
197 static struct clk_lookup usart_clocks_lookups[] = {
209 static struct clk pck0 = {
215 static struct clk pck1 = {
222 static void __init at91sam9rl_register_clocks(
void)
226 for (i = 0; i <
ARRAY_SIZE(periph_clocks); i++)
262 static void __init at91sam9rl_map_io(
void)
264 unsigned long sram_size;
279 static void __init at91sam9rl_ioremap_registers(
void)
289 static void __init at91sam9rl_initialize(
void)
306 static unsigned int at91sam9rl_default_irq_priority[
NR_AIC_IRQS] __initdata = {
342 .map_io = at91sam9rl_map_io,
343 .default_irq_priority = at91sam9rl_default_irq_priority,
344 .ioremap_registers = at91sam9rl_ioremap_registers,
345 .register_clocks = at91sam9rl_register_clocks,
346 .init = at91sam9rl_initialize,