diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-07-24 19:31:36 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-11-02 11:09:32 +0300 |
commit | f2f221c7810b824e15b57fe3d6c30b354299120f (patch) | |
tree | c2d8645b9ec1cd97d82d9571e9c5f3201cf2e8fb /arch/arm/boot/dts | |
parent | 90c5d7cdae64577f4f33c9d98ccaebdcb7b33433 (diff) | |
download | linux-f2f221c7810b824e15b57fe3d6c30b354299120f.tar.xz |
ARM: dts: sun8i: a711: Enable USB OTG
The TBS A711 has a micro-USB connector that can be used in OTG mode. Enable
it.
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts index 1dc935b91dbc..98715538932f 100644 --- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts +++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts @@ -335,7 +335,14 @@ status = "okay"; }; +&usb_otg { + dr_mode = "otg"; + status = "okay"; +}; + &usbphy { + usb0_id_det-gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */ + usb0_vbus-supply = <®_drivevbus>; usb1_vbus_supply = <®_vmain>; usb2_vbus_supply = <®_vmain>; status = "okay"; |