diff options
Diffstat (limited to 'arch/arm/mach-tegra/board-dt-tegra20.c')
-rw-r--r-- | arch/arm/mach-tegra/board-dt-tegra20.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/arch/arm/mach-tegra/board-dt-tegra20.c b/arch/arm/mach-tegra/board-dt-tegra20.c index 0952494f481a..5b9d5f4c0686 100644 --- a/arch/arm/mach-tegra/board-dt-tegra20.c +++ b/arch/arm/mach-tegra/board-dt-tegra20.c | |||
@@ -47,15 +47,7 @@ | |||
47 | #include "clock.h" | 47 | #include "clock.h" |
48 | #include "devices.h" | 48 | #include "devices.h" |
49 | 49 | ||
50 | void harmony_pinmux_init(void); | ||
51 | void paz00_pinmux_init(void); | ||
52 | void seaboard_pinmux_init(void); | ||
53 | void trimslice_pinmux_init(void); | ||
54 | void ventana_pinmux_init(void); | ||
55 | |||
56 | struct of_dev_auxdata tegra20_auxdata_lookup[] __initdata = { | 50 | struct of_dev_auxdata tegra20_auxdata_lookup[] __initdata = { |
57 | OF_DEV_AUXDATA("nvidia,tegra20-pinmux", TEGRA_APB_MISC_BASE + 0x14, "tegra-pinmux", NULL), | ||
58 | OF_DEV_AUXDATA("nvidia,tegra20-gpio", TEGRA_GPIO_BASE, "tegra-gpio", NULL), | ||
59 | OF_DEV_AUXDATA("nvidia,tegra20-sdhci", TEGRA_SDMMC1_BASE, "sdhci-tegra.0", NULL), | 51 | OF_DEV_AUXDATA("nvidia,tegra20-sdhci", TEGRA_SDMMC1_BASE, "sdhci-tegra.0", NULL), |
60 | OF_DEV_AUXDATA("nvidia,tegra20-sdhci", TEGRA_SDMMC2_BASE, "sdhci-tegra.1", NULL), | 52 | OF_DEV_AUXDATA("nvidia,tegra20-sdhci", TEGRA_SDMMC2_BASE, "sdhci-tegra.1", NULL), |
61 | OF_DEV_AUXDATA("nvidia,tegra20-sdhci", TEGRA_SDMMC3_BASE, "sdhci-tegra.2", NULL), | 53 | OF_DEV_AUXDATA("nvidia,tegra20-sdhci", TEGRA_SDMMC3_BASE, "sdhci-tegra.2", NULL), |
@@ -95,33 +87,10 @@ static struct of_device_id tegra_dt_match_table[] __initdata = { | |||
95 | {} | 87 | {} |
96 | }; | 88 | }; |
97 | 89 | ||
98 | static struct { | ||
99 | char *machine; | ||
100 | void (*init)(void); | ||
101 | } pinmux_configs[] = { | ||
102 | { "compulab,trimslice", trimslice_pinmux_init }, | ||
103 | { "nvidia,harmony", harmony_pinmux_init }, | ||
104 | { "compal,paz00", paz00_pinmux_init }, | ||
105 | { "nvidia,seaboard", seaboard_pinmux_init }, | ||
106 | { "nvidia,ventana", ventana_pinmux_init }, | ||
107 | }; | ||
108 | |||
109 | static void __init tegra_dt_init(void) | 90 | static void __init tegra_dt_init(void) |
110 | { | 91 | { |
111 | int i; | ||
112 | |||
113 | tegra_clk_init_from_table(tegra_dt_clk_init_table); | 92 | tegra_clk_init_from_table(tegra_dt_clk_init_table); |
114 | 93 | ||
115 | for (i = 0; i < ARRAY_SIZE(pinmux_configs); i++) { | ||
116 | if (of_machine_is_compatible(pinmux_configs[i].machine)) { | ||
117 | pinmux_configs[i].init(); | ||
118 | break; | ||
119 | } | ||
120 | } | ||
121 | |||
122 | WARN(i == ARRAY_SIZE(pinmux_configs), | ||
123 | "Unknown platform! Pinmuxing not initialized\n"); | ||
124 | |||
125 | /* | 94 | /* |
126 | * Finished with the static registrations now; fill in the missing | 95 | * Finished with the static registrations now; fill in the missing |
127 | * devices | 96 | * devices |