mirror of https://gitee.com/openkylin/linux.git
ARM: dts: omap4-droid4: Configure MDM6600 USB PHY
Configure MDM6600 USB PHY. Cc: Marcel Partap <mpartap@gmx.net> Cc: Michael Scott <michael.scott@linaro.org> Cc: Sebastian Reichel <sre@kernel.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
fdd192037f
commit
e5b9fd7bde
|
@ -70,6 +70,28 @@ hdmi_regulator: regulator-hdmi {
|
|||
regulator-always-on;
|
||||
};
|
||||
|
||||
/* FS USB Host PHY on port 1 for mdm6600 */
|
||||
fsusb1_phy: usb-phy@1 {
|
||||
compatible = "motorola,mapphone-mdm6600";
|
||||
pinctrl-0 = <&usb_mdm6600_pins>;
|
||||
pinctrl-names = "default";
|
||||
enable-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>; /* gpio_95 */
|
||||
power-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>; /* gpio_54 */
|
||||
reset-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>; /* gpio_49 */
|
||||
/* mode: gpio_148 gpio_149 */
|
||||
motorola,mode-gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>,
|
||||
<&gpio5 21 GPIO_ACTIVE_HIGH>;
|
||||
/* cmd: gpio_103 gpio_104 gpio_142 */
|
||||
motorola,cmd-gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>,
|
||||
<&gpio4 8 GPIO_ACTIVE_HIGH>,
|
||||
<&gpio5 14 GPIO_ACTIVE_HIGH>;
|
||||
/* status: gpio_52 gpio_53 gpio_55 */
|
||||
motorola,status-gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>,
|
||||
<&gpio2 21 GPIO_ACTIVE_HIGH>,
|
||||
<&gpio2 23 GPIO_ACTIVE_HIGH>;
|
||||
#phy-cells = <0>;
|
||||
};
|
||||
|
||||
/* HS USB host TLL nop-phy on port 2 for w3glte */
|
||||
hsusb2_phy: usb-phy@2 {
|
||||
compatible = "usb-nop-xceiv";
|
||||
|
@ -455,6 +477,43 @@ OMAP4_IOPAD(0x18c, PIN_INPUT_PULLUP | MUX_MODE3)
|
|||
>;
|
||||
};
|
||||
|
||||
usb_mdm6600_pins: pinmux_usb_mdm6600_pins {
|
||||
pinctrl-single,pins = <
|
||||
/* enable 0x4a1000d8 usbb1_ulpitll_dat7.gpio_95 ag16 */
|
||||
OMAP4_IOPAD(0x0d8, PIN_INPUT | MUX_MODE3)
|
||||
|
||||
/* power 0x4a10007c gpmc_nwp.gpio_54 c25 */
|
||||
OMAP4_IOPAD(0x07c, PIN_OUTPUT | MUX_MODE3)
|
||||
|
||||
/* reset 0x4a100072 gpmc_a25.gpio_49 d20 */
|
||||
OMAP4_IOPAD(0x072, PIN_OUTPUT | MUX_MODE3)
|
||||
|
||||
/* mode0/bpwake 0x4a10014e sdmmc5_dat1.gpio_148 af4 */
|
||||
OMAP4_IOPAD(0x14e, PIN_OUTPUT | MUX_MODE3)
|
||||
|
||||
/* mode1/apwake 0x4a100150 sdmmc5_dat2.gpio_149 ag3 */
|
||||
OMAP4_IOPAD(0x150, PIN_OFF_OUTPUT_LOW | PIN_INPUT | MUX_MODE3)
|
||||
|
||||
/* status0 0x4a10007e gpmc_clk.gpio_55 b22 */
|
||||
OMAP4_IOPAD(0x07e, PIN_INPUT | MUX_MODE3)
|
||||
|
||||
/* status1 0x4a10007a gpmc_ncs3.gpio_53 c22 */
|
||||
OMAP4_IOPAD(0x07a, PIN_INPUT | MUX_MODE3)
|
||||
|
||||
/* status2 0x4a100078 gpmc_ncs2.gpio_52 d21 */
|
||||
OMAP4_IOPAD(0x078, PIN_INPUT | MUX_MODE3)
|
||||
|
||||
/* cmd0 0x4a100094 gpmc_ncs6.gpio_103 c24 */
|
||||
OMAP4_IOPAD(0x094, PIN_OUTPUT | MUX_MODE3)
|
||||
|
||||
/* cmd1 0x4a100096 gpmc_ncs7.gpio_104 d24 */
|
||||
OMAP4_IOPAD(0x096, PIN_OUTPUT | MUX_MODE3)
|
||||
|
||||
/* cmd2 0x4a100142 uart3_rts_sd.gpio_142 f28 */
|
||||
OMAP4_IOPAD(0x142, PIN_OUTPUT | MUX_MODE3)
|
||||
>;
|
||||
};
|
||||
|
||||
usb_ulpi_pins: pinmux_usb_ulpi_pins {
|
||||
pinctrl-single,pins = <
|
||||
OMAP4_IOPAD(0x196, MUX_MODE7)
|
||||
|
@ -579,6 +638,11 @@ bluetooth {
|
|||
};
|
||||
};
|
||||
|
||||
&usbhsohci {
|
||||
phys = <&fsusb1_phy>;
|
||||
phy-names = "usb";
|
||||
};
|
||||
|
||||
&usbhsehci {
|
||||
phys = <&hsusb2_phy>;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue