diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2014-09-28 08:13:21 -0400 |
---|---|---|
committer | Robert Jarzmik <robert.jarzmik@free.fr> | 2014-11-19 17:53:14 -0500 |
commit | 03ec7fe70c5ce850a20aabe66c88e1a39111f9dd (patch) | |
tree | 28fb5ba17a917fd6d0822a0d0f8cf14dae852ef5 /arch/arm/mach-pxa/pxa-dt.c | |
parent | bec942fcf4e7fac6965e1b5a33c51d034d276385 (diff) |
arm: pxa: add pxa27x device-tree support
Add a device-tree machine entry (DT_MACHINE_START) for pxa27x based
platforms.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-pxa/pxa-dt.c')
-rw-r--r-- | arch/arm/mach-pxa/pxa-dt.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/pxa-dt.c b/arch/arm/mach-pxa/pxa-dt.c index b070196f5a43..7e0e5bd0c9de 100644 --- a/arch/arm/mach-pxa/pxa-dt.c +++ b/arch/arm/mach-pxa/pxa-dt.c | |||
@@ -58,3 +58,18 @@ DT_MACHINE_START(PXA_DT, "Marvell PXA3xx (Device Tree Support)") | |||
58 | .dt_compat = pxa3xx_dt_board_compat, | 58 | .dt_compat = pxa3xx_dt_board_compat, |
59 | MACHINE_END | 59 | MACHINE_END |
60 | #endif | 60 | #endif |
61 | |||
62 | #ifdef CONFIG_PXA27x | ||
63 | static const char * const pxa27x_dt_board_compat[] __initconst = { | ||
64 | "marvell,pxa270", | ||
65 | NULL, | ||
66 | }; | ||
67 | |||
68 | DT_MACHINE_START(PXA27X_DT, "Marvell PXA2xx (Device Tree Support)") | ||
69 | .map_io = pxa27x_map_io, | ||
70 | .init_irq = pxa27x_dt_init_irq, | ||
71 | .handle_irq = pxa27x_handle_irq, | ||
72 | .restart = pxa_restart, | ||
73 | .dt_compat = pxa27x_dt_board_compat, | ||
74 | MACHINE_END | ||
75 | #endif | ||