diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2021-03-08 16:18:26 +0100 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2021-03-15 07:13:43 +0100 |
commit | f285369a2832bd53442ad44bb1a5efa841e58603 (patch) | |
tree | 51c7fbefbfce1d58b7128c0c0bc0fde69434f2aa /arch/arm/boot/dts/imx6q-ba16.dtsi | |
parent | ARM: dts: ls1021a: mark crypto engine dma coherent (diff) | |
download | linux-f285369a2832bd53442ad44bb1a5efa841e58603.tar.xz linux-f285369a2832bd53442ad44bb1a5efa841e58603.zip |
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: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6q-ba16.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6q-ba16.dtsi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6q-ba16.dtsi b/arch/arm/boot/dts/imx6q-ba16.dtsi index e4578ed3371e..826fd51b1d98 100644 --- a/arch/arm/boot/dts/imx6q-ba16.dtsi +++ b/arch/arm/boot/dts/imx6q-ba16.dtsi @@ -124,6 +124,9 @@ regulator-name = "usb_otg_vbus"; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; + pinctrl-0 = <&pinctrl_usbotg_vbus>; + gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>; + enable-active-high; }; }; @@ -575,6 +578,12 @@ >; }; + pinctrl_usbotg_vbus: usbotgvbusgrp { + fsl,pins = < + MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x000b0 + >; + }; + pinctrl_usdhc2: usdhc2grp { fsl,pins = < MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17059 |