diff options
Diffstat (limited to 'arch/arm/mach-imx/mach-imx53.c')
-rw-r--r-- | arch/arm/mach-imx/mach-imx53.c | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/arch/arm/mach-imx/mach-imx53.c b/arch/arm/mach-imx/mach-imx53.c index e71e62610eba..860284dea0e7 100644 --- a/arch/arm/mach-imx/mach-imx53.c +++ b/arch/arm/mach-imx/mach-imx53.c | |||
@@ -23,34 +23,6 @@ | |||
23 | #include "common.h" | 23 | #include "common.h" |
24 | #include "mx53.h" | 24 | #include "mx53.h" |
25 | 25 | ||
26 | /* | ||
27 | * Lookup table for attaching a specific name and platform_data pointer to | ||
28 | * devices as they get created by of_platform_populate(). Ideally this table | ||
29 | * would not exist, but the current clock implementation depends on some devices | ||
30 | * having a specific name. | ||
31 | */ | ||
32 | static const struct of_dev_auxdata imx53_auxdata_lookup[] __initconst = { | ||
33 | OF_DEV_AUXDATA("fsl,imx53-uart", MX53_UART1_BASE_ADDR, "imx21-uart.0", NULL), | ||
34 | OF_DEV_AUXDATA("fsl,imx53-uart", MX53_UART2_BASE_ADDR, "imx21-uart.1", NULL), | ||
35 | OF_DEV_AUXDATA("fsl,imx53-uart", MX53_UART3_BASE_ADDR, "imx21-uart.2", NULL), | ||
36 | OF_DEV_AUXDATA("fsl,imx53-uart", MX53_UART4_BASE_ADDR, "imx21-uart.3", NULL), | ||
37 | OF_DEV_AUXDATA("fsl,imx53-uart", MX53_UART5_BASE_ADDR, "imx21-uart.4", NULL), | ||
38 | OF_DEV_AUXDATA("fsl,imx53-fec", MX53_FEC_BASE_ADDR, "imx25-fec.0", NULL), | ||
39 | OF_DEV_AUXDATA("fsl,imx53-esdhc", MX53_ESDHC1_BASE_ADDR, "sdhci-esdhc-imx53.0", NULL), | ||
40 | OF_DEV_AUXDATA("fsl,imx53-esdhc", MX53_ESDHC2_BASE_ADDR, "sdhci-esdhc-imx53.1", NULL), | ||
41 | OF_DEV_AUXDATA("fsl,imx53-esdhc", MX53_ESDHC3_BASE_ADDR, "sdhci-esdhc-imx53.2", NULL), | ||
42 | OF_DEV_AUXDATA("fsl,imx53-esdhc", MX53_ESDHC4_BASE_ADDR, "sdhci-esdhc-imx53.3", NULL), | ||
43 | OF_DEV_AUXDATA("fsl,imx53-ecspi", MX53_ECSPI1_BASE_ADDR, "imx51-ecspi.0", NULL), | ||
44 | OF_DEV_AUXDATA("fsl,imx53-ecspi", MX53_ECSPI2_BASE_ADDR, "imx51-ecspi.1", NULL), | ||
45 | OF_DEV_AUXDATA("fsl,imx53-cspi", MX53_CSPI_BASE_ADDR, "imx35-cspi.0", NULL), | ||
46 | OF_DEV_AUXDATA("fsl,imx53-i2c", MX53_I2C1_BASE_ADDR, "imx21-i2c.0", NULL), | ||
47 | OF_DEV_AUXDATA("fsl,imx53-i2c", MX53_I2C2_BASE_ADDR, "imx21-i2c.1", NULL), | ||
48 | OF_DEV_AUXDATA("fsl,imx53-i2c", MX53_I2C3_BASE_ADDR, "imx21-i2c.2", NULL), | ||
49 | OF_DEV_AUXDATA("fsl,imx53-sdma", MX53_SDMA_BASE_ADDR, "imx35-sdma", NULL), | ||
50 | OF_DEV_AUXDATA("fsl,imx53-wdt", MX53_WDOG1_BASE_ADDR, "imx2-wdt.0", NULL), | ||
51 | { /* sentinel */ } | ||
52 | }; | ||
53 | |||
54 | static void __init imx53_qsb_init(void) | 26 | static void __init imx53_qsb_init(void) |
55 | { | 27 | { |
56 | struct clk *clk; | 28 | struct clk *clk; |
@@ -69,8 +41,7 @@ static void __init imx53_dt_init(void) | |||
69 | if (of_machine_is_compatible("fsl,imx53-qsb")) | 41 | if (of_machine_is_compatible("fsl,imx53-qsb")) |
70 | imx53_qsb_init(); | 42 | imx53_qsb_init(); |
71 | 43 | ||
72 | of_platform_populate(NULL, of_default_bus_match_table, | 44 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); |
73 | imx53_auxdata_lookup, NULL); | ||
74 | } | 45 | } |
75 | 46 | ||
76 | static void __init imx53_timer_init(void) | 47 | static void __init imx53_timer_init(void) |