diff options
Diffstat (limited to 'arch/arm/mach-davinci/da8xx-dt.c')
-rw-r--r-- | arch/arm/mach-davinci/da8xx-dt.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci/da8xx-dt.c index 37c27af18fa0..6b7a0a27fbd1 100644 --- a/arch/arm/mach-davinci/da8xx-dt.c +++ b/arch/arm/mach-davinci/da8xx-dt.c | |||
@@ -37,11 +37,18 @@ static void __init da8xx_init_irq(void) | |||
37 | of_irq_init(da8xx_irq_match); | 37 | of_irq_init(da8xx_irq_match); |
38 | } | 38 | } |
39 | 39 | ||
40 | struct of_dev_auxdata da850_auxdata_lookup[] __initdata = { | ||
41 | OF_DEV_AUXDATA("ti,davinci-i2c", 0x01c22000, "i2c_davinci.1", NULL), | ||
42 | OF_DEV_AUXDATA("ti,davinci-wdt", 0x01c21000, "watchdog", NULL), | ||
43 | {} | ||
44 | }; | ||
45 | |||
40 | #ifdef CONFIG_ARCH_DAVINCI_DA850 | 46 | #ifdef CONFIG_ARCH_DAVINCI_DA850 |
41 | 47 | ||
42 | static void __init da850_init_machine(void) | 48 | static void __init da850_init_machine(void) |
43 | { | 49 | { |
44 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | 50 | of_platform_populate(NULL, of_default_bus_match_table, |
51 | da850_auxdata_lookup, NULL); | ||
45 | 52 | ||
46 | da8xx_uart_clk_enable(); | 53 | da8xx_uart_clk_enable(); |
47 | } | 54 | } |
@@ -56,7 +63,7 @@ static const char *da850_boards_compat[] __initdata = { | |||
56 | DT_MACHINE_START(DA850_DT, "Generic DA850/OMAP-L138/AM18x") | 63 | DT_MACHINE_START(DA850_DT, "Generic DA850/OMAP-L138/AM18x") |
57 | .map_io = da850_init, | 64 | .map_io = da850_init, |
58 | .init_irq = da8xx_init_irq, | 65 | .init_irq = da8xx_init_irq, |
59 | .timer = &davinci_timer, | 66 | .init_time = davinci_timer_init, |
60 | .init_machine = da850_init_machine, | 67 | .init_machine = da850_init_machine, |
61 | .dt_compat = da850_boards_compat, | 68 | .dt_compat = da850_boards_compat, |
62 | .init_late = davinci_init_late, | 69 | .init_late = davinci_init_late, |