diff options
author | Chen-Yu Tsai <wens@csie.org> | 2017-08-03 11:14:11 +0300 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2017-08-18 19:25:25 +0300 |
commit | 75ce73fdadf6944d6948f45b34cbfd7aa01190cc (patch) | |
tree | 96786b905bb2fbe8ff199848e02595c301e1ca19 /arch/arm | |
parent | 9f851d4ee69d53565c1953dedbdd4ebe9acaff49 (diff) | |
download | linux-75ce73fdadf6944d6948f45b34cbfd7aa01190cc.tar.xz |
ARM: sun8i: a83t: h8homlet-v2: Enable USB ports
The h8homlet board has the A83T's standard USB 1.1/2.0 host pair routed
to a USB host port on the board. The other USB host port is routed to
USB OTG controller.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts b/arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts index e0055180d29f..1f0d60afb25b 100644 --- a/arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts +++ b/arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts @@ -58,6 +58,10 @@ }; }; +&ehci0 { + status = "okay"; +}; + &mmc0 { pinctrl-names = "default"; pinctrl-0 = <&mmc0_pins>; @@ -78,6 +82,20 @@ status = "okay"; }; +&ohci0 { + status = "okay"; +}; + +®_usb0_vbus { + gpio = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */ + status = "okay"; +}; + +®_usb1_vbus { + gpio = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */ + status = "okay"; +}; + &r_rsb { status = "okay"; @@ -118,3 +136,14 @@ pinctrl-0 = <&uart0_pb_pins>; status = "okay"; }; + +&usbphy { + usb0_vbus-supply = <®_usb0_vbus>; + usb1_vbus-supply = <®_usb1_vbus>; + status = "okay"; +}; + +&usb_otg { + dr_mode = "host"; + status = "okay"; +}; |