diff options
Diffstat (limited to 'arch/arm/mach-tegra/board-dt-tegra20.c')
-rw-r--r-- | arch/arm/mach-tegra/board-dt-tegra20.c | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-dt-tegra20.c b/arch/arm/mach-tegra/board-dt-tegra20.c index 5d8c8fb060b0..57e235f4ac74 100644 --- a/arch/arm/mach-tegra/board-dt-tegra20.c +++ b/arch/arm/mach-tegra/board-dt-tegra20.c | |||
@@ -28,9 +28,11 @@ | |||
28 | #include <linux/of_irq.h> | 28 | #include <linux/of_irq.h> |
29 | #include <linux/of_platform.h> | 29 | #include <linux/of_platform.h> |
30 | #include <linux/pda_power.h> | 30 | #include <linux/pda_power.h> |
31 | #include <linux/platform_data/tegra_usb.h> | ||
31 | #include <linux/io.h> | 32 | #include <linux/io.h> |
32 | #include <linux/i2c.h> | 33 | #include <linux/i2c.h> |
33 | #include <linux/i2c-tegra.h> | 34 | #include <linux/i2c-tegra.h> |
35 | #include <linux/usb/tegra_usb_phy.h> | ||
34 | 36 | ||
35 | #include <asm/hardware/gic.h> | 37 | #include <asm/hardware/gic.h> |
36 | #include <asm/mach-types.h> | 38 | #include <asm/mach-types.h> |
@@ -43,9 +45,32 @@ | |||
43 | 45 | ||
44 | #include "board.h" | 46 | #include "board.h" |
45 | #include "clock.h" | 47 | #include "clock.h" |
46 | #include "devices.h" | ||
47 | #include "common.h" | 48 | #include "common.h" |
48 | 49 | ||
50 | struct tegra_ehci_platform_data tegra_ehci1_pdata = { | ||
51 | .operating_mode = TEGRA_USB_OTG, | ||
52 | .power_down_on_bus_suspend = 1, | ||
53 | .vbus_gpio = -1, | ||
54 | }; | ||
55 | |||
56 | struct tegra_ulpi_config tegra_ehci2_ulpi_phy_config = { | ||
57 | .reset_gpio = -1, | ||
58 | .clk = "cdev2", | ||
59 | }; | ||
60 | |||
61 | struct tegra_ehci_platform_data tegra_ehci2_pdata = { | ||
62 | .phy_config = &tegra_ehci2_ulpi_phy_config, | ||
63 | .operating_mode = TEGRA_USB_HOST, | ||
64 | .power_down_on_bus_suspend = 1, | ||
65 | .vbus_gpio = -1, | ||
66 | }; | ||
67 | |||
68 | struct tegra_ehci_platform_data tegra_ehci3_pdata = { | ||
69 | .operating_mode = TEGRA_USB_HOST, | ||
70 | .power_down_on_bus_suspend = 1, | ||
71 | .vbus_gpio = -1, | ||
72 | }; | ||
73 | |||
49 | struct of_dev_auxdata tegra20_auxdata_lookup[] __initdata = { | 74 | struct of_dev_auxdata tegra20_auxdata_lookup[] __initdata = { |
50 | OF_DEV_AUXDATA("nvidia,tegra20-sdhci", TEGRA_SDMMC1_BASE, "sdhci-tegra.0", NULL), | 75 | OF_DEV_AUXDATA("nvidia,tegra20-sdhci", TEGRA_SDMMC1_BASE, "sdhci-tegra.0", NULL), |
51 | OF_DEV_AUXDATA("nvidia,tegra20-sdhci", TEGRA_SDMMC2_BASE, "sdhci-tegra.1", NULL), | 76 | OF_DEV_AUXDATA("nvidia,tegra20-sdhci", TEGRA_SDMMC2_BASE, "sdhci-tegra.1", NULL), |