diff options
Diffstat (limited to 'arch/arm/mach-vexpress/v2m.c')
| -rw-r--r-- | arch/arm/mach-vexpress/v2m.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-vexpress/v2m.c b/arch/arm/mach-vexpress/v2m.c index 9e6b93b1a043..1fafc3244607 100644 --- a/arch/arm/mach-vexpress/v2m.c +++ b/arch/arm/mach-vexpress/v2m.c | |||
| @@ -318,6 +318,10 @@ static struct clk v2m_sp804_clk = { | |||
| 318 | .rate = 1000000, | 318 | .rate = 1000000, |
| 319 | }; | 319 | }; |
| 320 | 320 | ||
| 321 | static struct clk v2m_ref_clk = { | ||
| 322 | .rate = 32768, | ||
| 323 | }; | ||
| 324 | |||
| 321 | static struct clk dummy_apb_pclk; | 325 | static struct clk dummy_apb_pclk; |
| 322 | 326 | ||
| 323 | static struct clk_lookup v2m_lookups[] = { | 327 | static struct clk_lookup v2m_lookups[] = { |
| @@ -348,6 +352,9 @@ static struct clk_lookup v2m_lookups[] = { | |||
| 348 | }, { /* CLCD */ | 352 | }, { /* CLCD */ |
| 349 | .dev_id = "mb:clcd", | 353 | .dev_id = "mb:clcd", |
| 350 | .clk = &osc1_clk, | 354 | .clk = &osc1_clk, |
| 355 | }, { /* SP805 WDT */ | ||
| 356 | .dev_id = "mb:wdt", | ||
| 357 | .clk = &v2m_ref_clk, | ||
| 351 | }, { /* SP804 timers */ | 358 | }, { /* SP804 timers */ |
| 352 | .dev_id = "sp804", | 359 | .dev_id = "sp804", |
| 353 | .con_id = "v2m-timer0", | 360 | .con_id = "v2m-timer0", |
| @@ -436,7 +443,7 @@ static void __init v2m_init(void) | |||
| 436 | } | 443 | } |
| 437 | 444 | ||
| 438 | MACHINE_START(VEXPRESS, "ARM-Versatile Express") | 445 | MACHINE_START(VEXPRESS, "ARM-Versatile Express") |
| 439 | .boot_params = PLAT_PHYS_OFFSET + 0x00000100, | 446 | .atag_offset = 0x100, |
| 440 | .map_io = v2m_map_io, | 447 | .map_io = v2m_map_io, |
| 441 | .init_early = v2m_init_early, | 448 | .init_early = v2m_init_early, |
| 442 | .init_irq = v2m_init_irq, | 449 | .init_irq = v2m_init_irq, |
