Message ID | 20180706153805.25842-6-icenowy@aosc.io (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, Jul 6, 2018 at 11:38 PM, Icenowy Zheng <icenowy@aosc.io> wrote: > Pine H64 board has both the USB2 OTG port and the USB2 host port on H6 Nit: USB* pins. A "port" implies something you can plug into. ChenYu > SoC wired out to USB Type-A port. > > Enable them. > > Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts index 31920d7d6666..104369228994 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts @@ -51,6 +51,22 @@ }; }; +&ehci0 { + status = "okay"; +}; + +&ehci3 { + status = "okay"; +}; + +&ohci0 { + status = "okay"; +}; + +&ohci3 { + status = "okay"; +}; + &r_i2c { status = "okay"; @@ -66,3 +82,14 @@ pinctrl-0 = <&uart0_ph_pins>; status = "okay"; }; + +&usb2otg { + dr_mode = "host"; + status = "okay"; +}; + +&usb2phy { + usb0_vbus-supply = <®_usb_vbus>; + usb3_vbus-supply = <®_usb_vbus>; + status = "okay"; +};
Pine H64 board has both the USB2 OTG port and the USB2 host port on H6 SoC wired out to USB Type-A port. Enable them. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> --- .../boot/dts/allwinner/sun50i-h6-pine-h64.dts | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+)