diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2014-09-11 13:11:00 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2014-09-11 13:11:00 +0200 |
commit | b85abe2b76fe3ec0b6aa29c979621c310fc2379d (patch) | |
tree | f6e1c3413e0535c97f8d2122fbed6dfd19fe8bee /arch/arm | |
parent | c998c37a53d4c6a4c4019dc91461714e770d73a3 (diff) |
Colibri iMX6 dtb: enable OTG port to work as peripheral
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-colibri.dtsi | 20 |
2 files changed, 3 insertions, 23 deletions
diff --git a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts index c3e3a3278c48..03c03cd91d75 100644 --- a/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts +++ b/arch/arm/boot/dts/imx6dl-colibri-eval-v3.dts @@ -70,10 +70,6 @@ }; regulators { - reg_usb_otg_vbus: usb_otg_vbus { - status = "okay"; - }; - reg_usb_host_vbus: usb_host_vbus { status = "okay"; }; @@ -212,11 +208,9 @@ status = "okay"; }; -#if 0 /* TODO */ &usbotg { status = "okay"; }; -#endif /* MMC */ &usdhc1 { diff --git a/arch/arm/boot/dts/imx6qdl-colibri.dtsi b/arch/arm/boot/dts/imx6qdl-colibri.dtsi index 85d8316b45ab..a5829c14098d 100644 --- a/arch/arm/boot/dts/imx6qdl-colibri.dtsi +++ b/arch/arm/boot/dts/imx6qdl-colibri.dtsi @@ -115,19 +115,6 @@ regulator-max-microvolt = <3300000>; regulator-always-on; }; -#if 0 //TODO - reg_usb_otg_vbus: usb_otg_vbus { - compatible = "regulator-fixed"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_regulator_usbotg_pwr>; - regulator-name = "usb_otg_vbus"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - gpio = <&gpio3 22 0>; - enable-active-high; - status = "disabled"; - }; -#endif reg_usb_host_vbus: usb_host_vbus { compatible = "regulator-fixed"; @@ -445,15 +432,14 @@ status = "disabled"; }; -#if 0 //TODO &usbotg { - vbus-supply = <®_usb_otg_vbus>; pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_usbotg_2>; +// pinctrl-0 = <&pinctrl_usbotg_2>; disable-over-current; +// dr_mode = "host"; //working when connected at boot + dr_mode = "otg"; //working as peripheral status = "disabled"; }; -#endif /* MMC */ &usdhc1 { |