diff options
Diffstat (limited to 'arch/arm/mach-imx/mm-imx5.c')
-rw-r--r-- | arch/arm/mach-imx/mm-imx5.c | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/arch/arm/mach-imx/mm-imx5.c b/arch/arm/mach-imx/mm-imx5.c index 52d8f534be10..acb0aadb4255 100644 --- a/arch/arm/mach-imx/mm-imx5.c +++ b/arch/arm/mach-imx/mm-imx5.c | |||
@@ -128,25 +128,6 @@ static struct sdma_platform_data imx51_sdma_pdata __initdata = { | |||
128 | .script_addrs = &imx51_sdma_script, | 128 | .script_addrs = &imx51_sdma_script, |
129 | }; | 129 | }; |
130 | 130 | ||
131 | static struct sdma_script_start_addrs imx53_sdma_script __initdata = { | ||
132 | .ap_2_ap_addr = 642, | ||
133 | .app_2_mcu_addr = 683, | ||
134 | .mcu_2_app_addr = 747, | ||
135 | .uart_2_mcu_addr = 817, | ||
136 | .shp_2_mcu_addr = 891, | ||
137 | .mcu_2_shp_addr = 960, | ||
138 | .uartsh_2_mcu_addr = 1032, | ||
139 | .spdif_2_mcu_addr = 1100, | ||
140 | .mcu_2_spdif_addr = 1134, | ||
141 | .firi_2_mcu_addr = 1193, | ||
142 | .mcu_2_firi_addr = 1290, | ||
143 | }; | ||
144 | |||
145 | static struct sdma_platform_data imx53_sdma_pdata __initdata = { | ||
146 | .fw_name = "sdma-imx53.bin", | ||
147 | .script_addrs = &imx53_sdma_script, | ||
148 | }; | ||
149 | |||
150 | static const struct resource imx50_audmux_res[] __initconst = { | 131 | static const struct resource imx50_audmux_res[] __initconst = { |
151 | DEFINE_RES_MEM(MX50_AUDMUX_BASE_ADDR, SZ_16K), | 132 | DEFINE_RES_MEM(MX50_AUDMUX_BASE_ADDR, SZ_16K), |
152 | }; | 133 | }; |
@@ -155,10 +136,6 @@ static const struct resource imx51_audmux_res[] __initconst = { | |||
155 | DEFINE_RES_MEM(MX51_AUDMUX_BASE_ADDR, SZ_16K), | 136 | DEFINE_RES_MEM(MX51_AUDMUX_BASE_ADDR, SZ_16K), |
156 | }; | 137 | }; |
157 | 138 | ||
158 | static const struct resource imx53_audmux_res[] __initconst = { | ||
159 | DEFINE_RES_MEM(MX53_AUDMUX_BASE_ADDR, SZ_16K), | ||
160 | }; | ||
161 | |||
162 | void __init imx50_soc_init(void) | 139 | void __init imx50_soc_init(void) |
163 | { | 140 | { |
164 | /* i.mx50 has the i.mx35 type gpio */ | 141 | /* i.mx50 has the i.mx35 type gpio */ |
@@ -196,30 +173,6 @@ void __init imx51_soc_init(void) | |||
196 | ARRAY_SIZE(imx51_audmux_res)); | 173 | ARRAY_SIZE(imx51_audmux_res)); |
197 | } | 174 | } |
198 | 175 | ||
199 | void __init imx53_soc_init(void) | ||
200 | { | ||
201 | /* i.mx53 has the i.mx35 type gpio */ | ||
202 | mxc_register_gpio("imx35-gpio", 0, MX53_GPIO1_BASE_ADDR, SZ_16K, MX53_INT_GPIO1_LOW, MX53_INT_GPIO1_HIGH); | ||
203 | mxc_register_gpio("imx35-gpio", 1, MX53_GPIO2_BASE_ADDR, SZ_16K, MX53_INT_GPIO2_LOW, MX53_INT_GPIO2_HIGH); | ||
204 | mxc_register_gpio("imx35-gpio", 2, MX53_GPIO3_BASE_ADDR, SZ_16K, MX53_INT_GPIO3_LOW, MX53_INT_GPIO3_HIGH); | ||
205 | mxc_register_gpio("imx35-gpio", 3, MX53_GPIO4_BASE_ADDR, SZ_16K, MX53_INT_GPIO4_LOW, MX53_INT_GPIO4_HIGH); | ||
206 | mxc_register_gpio("imx35-gpio", 4, MX53_GPIO5_BASE_ADDR, SZ_16K, MX53_INT_GPIO5_LOW, MX53_INT_GPIO5_HIGH); | ||
207 | mxc_register_gpio("imx35-gpio", 5, MX53_GPIO6_BASE_ADDR, SZ_16K, MX53_INT_GPIO6_LOW, MX53_INT_GPIO6_HIGH); | ||
208 | mxc_register_gpio("imx35-gpio", 6, MX53_GPIO7_BASE_ADDR, SZ_16K, MX53_INT_GPIO7_LOW, MX53_INT_GPIO7_HIGH); | ||
209 | |||
210 | pinctrl_provide_dummies(); | ||
211 | /* i.mx53 has the i.mx35 type sdma */ | ||
212 | imx_add_imx_sdma("imx35-sdma", MX53_SDMA_BASE_ADDR, MX53_INT_SDMA, &imx53_sdma_pdata); | ||
213 | |||
214 | /* Setup AIPS registers */ | ||
215 | imx_set_aips(MX53_IO_ADDRESS(MX53_AIPS1_BASE_ADDR)); | ||
216 | imx_set_aips(MX53_IO_ADDRESS(MX53_AIPS2_BASE_ADDR)); | ||
217 | |||
218 | /* i.mx53 has the i.mx31 type audmux */ | ||
219 | platform_device_register_simple("imx31-audmux", 0, imx53_audmux_res, | ||
220 | ARRAY_SIZE(imx53_audmux_res)); | ||
221 | } | ||
222 | |||
223 | void __init imx51_init_late(void) | 176 | void __init imx51_init_late(void) |
224 | { | 177 | { |
225 | mx51_neon_fixup(); | 178 | mx51_neon_fixup(); |