diff options
author | Afzal Mohammed <afzal@ti.com> | 2013-05-27 10:36:53 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-06-13 06:50:00 -0400 |
commit | bb256f803c9f620eb5a7d1c02e53360392cffbdd (patch) | |
tree | 98bc570320152efc48ae17a5c7d94f5c1c86d895 /arch/arm/mach-omap2/board-generic.c | |
parent | 4f288f081bb67813d35c10d1b2fa68e863c4b188 (diff) |
ARM: OMAP2+: AM43x: basic dt support
Describe minimal DT boot machine details for AM43x based SoC's. AM43x
SoC's are ARM Cortex-A9 based with one core. AM43x is similar to
AM335x w.r.t L4 PER/WKUP memory map. AM43x has a sync timer, here that
is being used as clocksource, while 1ms dmtimer as clockevent.
Signed-off-by: Ankur Kishore <a-kishore@ti.com>
Signed-off-by: Afzal Mohammed <afzal@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-generic.c')
-rw-r--r-- | arch/arm/mach-omap2/board-generic.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index 88aa6b1835c3..e5fbfed69aa2 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c | |||
@@ -185,3 +185,19 @@ DT_MACHINE_START(OMAP5_DT, "Generic OMAP5 (Flattened Device Tree)") | |||
185 | .restart = omap44xx_restart, | 185 | .restart = omap44xx_restart, |
186 | MACHINE_END | 186 | MACHINE_END |
187 | #endif | 187 | #endif |
188 | |||
189 | #ifdef CONFIG_SOC_AM43XX | ||
190 | static const char *am43_boards_compat[] __initdata = { | ||
191 | "ti,am43", | ||
192 | NULL, | ||
193 | }; | ||
194 | |||
195 | DT_MACHINE_START(AM43_DT, "Generic AM43 (Flattened Device Tree)") | ||
196 | .map_io = am33xx_map_io, | ||
197 | .init_early = am43xx_init_early, | ||
198 | .init_irq = omap_gic_of_init, | ||
199 | .init_machine = omap_generic_init, | ||
200 | .init_time = omap3_sync32k_timer_init, | ||
201 | .dt_compat = am43_boards_compat, | ||
202 | MACHINE_END | ||
203 | #endif | ||