diff options
Diffstat (limited to 'arch/avr32/mach-at32ap/at32ap7000.c')
-rw-r--r-- | arch/avr32/mach-at32ap/at32ap7000.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/avr32/mach-at32ap/at32ap7000.c b/arch/avr32/mach-at32ap/at32ap7000.c index e8c6893a1c23..37982b60398e 100644 --- a/arch/avr32/mach-at32ap/at32ap7000.c +++ b/arch/avr32/mach-at32ap/at32ap7000.c | |||
@@ -450,6 +450,13 @@ static struct clk hramc_clk = { | |||
450 | .users = 1, | 450 | .users = 1, |
451 | }; | 451 | }; |
452 | 452 | ||
453 | static struct resource smc0_resource[] = { | ||
454 | PBMEM(0xfff03400), | ||
455 | }; | ||
456 | DEFINE_DEV(smc, 0); | ||
457 | DEV_CLK(pclk, smc0, pbb, 13); | ||
458 | DEV_CLK(mck, smc0, hsb, 0); | ||
459 | |||
453 | static struct platform_device pdc_device = { | 460 | static struct platform_device pdc_device = { |
454 | .name = "pdc", | 461 | .name = "pdc", |
455 | .id = 0, | 462 | .id = 0, |
@@ -503,6 +510,7 @@ void __init at32_add_system_devices(void) | |||
503 | 510 | ||
504 | platform_device_register(&at32_sm_device); | 511 | platform_device_register(&at32_sm_device); |
505 | platform_device_register(&at32_intc0_device); | 512 | platform_device_register(&at32_intc0_device); |
513 | platform_device_register(&smc0_device); | ||
506 | platform_device_register(&pdc_device); | 514 | platform_device_register(&pdc_device); |
507 | 515 | ||
508 | platform_device_register(&pio0_device); | 516 | platform_device_register(&pio0_device); |
@@ -796,6 +804,8 @@ struct clk *at32_clock_list[] = { | |||
796 | &at32_intc0_pclk, | 804 | &at32_intc0_pclk, |
797 | &ebi_clk, | 805 | &ebi_clk, |
798 | &hramc_clk, | 806 | &hramc_clk, |
807 | &smc0_pclk, | ||
808 | &smc0_mck, | ||
799 | &pdc_hclk, | 809 | &pdc_hclk, |
800 | &pdc_pclk, | 810 | &pdc_pclk, |
801 | &pico_clk, | 811 | &pico_clk, |