diff options
Diffstat (limited to 'arch/arm/mach-imx/mm-imx27.c')
-rw-r--r-- | arch/arm/mach-imx/mm-imx27.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/arch/arm/mach-imx/mm-imx27.c b/arch/arm/mach-imx/mm-imx27.c index e7e24afc45ed..4f1be65a7b5f 100644 --- a/arch/arm/mach-imx/mm-imx27.c +++ b/arch/arm/mach-imx/mm-imx27.c | |||
@@ -21,12 +21,13 @@ | |||
21 | #include <linux/mm.h> | 21 | #include <linux/mm.h> |
22 | #include <linux/init.h> | 22 | #include <linux/init.h> |
23 | #include <linux/pinctrl/machine.h> | 23 | #include <linux/pinctrl/machine.h> |
24 | #include <mach/hardware.h> | ||
25 | #include <mach/common.h> | ||
26 | #include <mach/devices-common.h> | ||
27 | #include <asm/pgtable.h> | 24 | #include <asm/pgtable.h> |
28 | #include <asm/mach/map.h> | 25 | #include <asm/mach/map.h> |
29 | #include <mach/iomux-v1.h> | 26 | |
27 | #include "common.h" | ||
28 | #include "devices/devices-common.h" | ||
29 | #include "hardware.h" | ||
30 | #include "iomux-v1.h" | ||
30 | 31 | ||
31 | /* MX27 memory map definition */ | 32 | /* MX27 memory map definition */ |
32 | static struct map_desc imx27_io_desc[] __initdata = { | 33 | static struct map_desc imx27_io_desc[] __initdata = { |
@@ -81,6 +82,8 @@ static const struct resource imx27_audmux_res[] __initconst = { | |||
81 | 82 | ||
82 | void __init imx27_soc_init(void) | 83 | void __init imx27_soc_init(void) |
83 | { | 84 | { |
85 | mxc_device_init(); | ||
86 | |||
84 | /* i.mx27 has the i.mx21 type gpio */ | 87 | /* i.mx27 has the i.mx21 type gpio */ |
85 | mxc_register_gpio("imx21-gpio", 0, MX27_GPIO1_BASE_ADDR, SZ_256, MX27_INT_GPIO, 0); | 88 | mxc_register_gpio("imx21-gpio", 0, MX27_GPIO1_BASE_ADDR, SZ_256, MX27_INT_GPIO, 0); |
86 | mxc_register_gpio("imx21-gpio", 1, MX27_GPIO2_BASE_ADDR, SZ_256, MX27_INT_GPIO, 0); | 89 | mxc_register_gpio("imx21-gpio", 1, MX27_GPIO2_BASE_ADDR, SZ_256, MX27_INT_GPIO, 0); |
@@ -90,7 +93,8 @@ void __init imx27_soc_init(void) | |||
90 | mxc_register_gpio("imx21-gpio", 5, MX27_GPIO6_BASE_ADDR, SZ_256, MX27_INT_GPIO, 0); | 93 | mxc_register_gpio("imx21-gpio", 5, MX27_GPIO6_BASE_ADDR, SZ_256, MX27_INT_GPIO, 0); |
91 | 94 | ||
92 | pinctrl_provide_dummies(); | 95 | pinctrl_provide_dummies(); |
93 | imx_add_imx_dma(); | 96 | imx_add_imx_dma("imx27-dma", MX27_DMA_BASE_ADDR, |
97 | MX27_INT_DMACH0, 0); /* No ERR irq */ | ||
94 | /* imx27 has the imx21 type audmux */ | 98 | /* imx27 has the imx21 type audmux */ |
95 | platform_device_register_simple("imx21-audmux", 0, imx27_audmux_res, | 99 | platform_device_register_simple("imx21-audmux", 0, imx27_audmux_res, |
96 | ARRAY_SIZE(imx27_audmux_res)); | 100 | ARRAY_SIZE(imx27_audmux_res)); |