Commit f285369a authored by Sebastian Reichel's avatar Sebastian Reichel Committed by Shawn Guo

ARM: dts: imx6q-ba16: add USB OTG VBUS enable GPIO

Add VBUS regulator GPIO information, so that USB OTG port can
also be used in host mode.
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 0f221832
...@@ -124,6 +124,9 @@ reg_usb_otg_vbus: regulator-usbotgvbus { ...@@ -124,6 +124,9 @@ reg_usb_otg_vbus: regulator-usbotgvbus {
regulator-name = "usb_otg_vbus"; regulator-name = "usb_otg_vbus";
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
pinctrl-0 = <&pinctrl_usbotg_vbus>;
gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>;
enable-active-high;
}; };
}; };
...@@ -575,6 +578,12 @@ MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059 ...@@ -575,6 +578,12 @@ MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059
>; >;
}; };
pinctrl_usbotg_vbus: usbotgvbusgrp {
fsl,pins = <
MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x000b0
>;
};
pinctrl_usdhc2: usdhc2grp { pinctrl_usdhc2: usdhc2grp {
fsl,pins = < fsl,pins = <
MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059 MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment