diff --git a/arch/arm/boot/dts/imx6ul-oas.dts b/arch/arm/boot/dts/imx6ul-oas.dts index ac179c7f30055..c1b473e3f59a2 100644 --- a/arch/arm/boot/dts/imx6ul-oas.dts +++ b/arch/arm/boot/dts/imx6ul-oas.dts @@ -41,6 +41,17 @@ "LineInB", "INB2"; status = "okay"; }; + + reg_usb_otg2_vbus: reg_usb_otg2@0 { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb_otg2_vbus>; + regulator-name = "usb_otg2_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; }; &can1 { @@ -159,6 +170,7 @@ dr_mode = "host"; digi,power-line-active-high; disable-over-current; + vbus-supply = <®_usb_otg2_vbus>; status = "okay"; }; @@ -315,5 +327,11 @@ MX6UL_PAD_SNVS_TAMPER5__GPIO5_IO05 0x80000000 >; }; + + pinctrl_usb_otg2_vbus: usbotg2vbusgrp { + fsl,pins = < + MX6UL_PAD_GPIO1_IO02__GPIO1_IO02 0x10b0 + >; + }; }; };