The Pine H64 board features an USB 3.0 type A port, which works just
fine.

Enable the controller and USB PHY in the .dts to make it usable.

Signed-off-by: Andre Przywara <andre.przyw...@arm.com>
---
 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

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 1ffd68f43f87..9061c9913f4c 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts
@@ -89,6 +89,10 @@
        status = "okay";
 };
 
+&dwc3 {
+       status = "okay";
+};
+
 &ehci0 {
        status = "okay";
 };
@@ -332,3 +336,8 @@
        usb3_vbus-supply = <&reg_usb_vbus>;
        status = "okay";
 };
+
+&usb3phy {
+       phy-supply = <&reg_usb_vbus>;
+       status = "okay";
+};
-- 
2.17.5

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/20210510130119.6534-1-andre.przywara%40arm.com.

Reply via email to