[PATCH] arm64: dts: allwinner: pine-h64: Enable USB 3.0 host

Chen-Yu Tsai posted 1 patch 1 month, 2 weeks ago
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 8 ++++++++
1 file changed, 8 insertions(+)
[PATCH] arm64: dts: allwinner: pine-h64: Enable USB 3.0 host
Posted by Chen-Yu Tsai 1 month, 2 weeks ago
On both Pine H64 models, there is one USB 3.0 host port directly
connected to the SoC. The VBUS is shared with the other USB 2.0 ports.
Unfortunately the DWC controller binding does not have a VBUS supply.

Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
---
 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 8 ++++++++
 1 file changed, 8 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 fa7a765ee828..f2c453ed344a 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 @@ &de {
 	status = "okay";
 };
 
+&dwc3 {
+	status = "okay";
+};
+
 &ehci0 {
 	status = "okay";
 };
@@ -333,3 +337,7 @@ &usb2phy {
 	usb3_vbus-supply = <&reg_usb_vbus>;
 	status = "okay";
 };
+
+&usb3phy {
+	status = "okay";
+};
-- 
2.47.3
Re: [PATCH] arm64: dts: allwinner: pine-h64: Enable USB 3.0 host
Posted by Jernej Škrabec 1 month, 2 weeks ago
Dne sreda, 25. februar 2026 ob 18:00:44 Srednjeevropski standardni čas je Chen-Yu Tsai napisal(a):
> On both Pine H64 models, there is one USB 3.0 host port directly
> connected to the SoC. The VBUS is shared with the other USB 2.0 ports.
> Unfortunately the DWC controller binding does not have a VBUS supply.

IIRC this is exactly the reason why it was never added. Adding it without
vbus property is not a good strategy.

Best regards,
Jernej
Re: [PATCH] arm64: dts: allwinner: pine-h64: Enable USB 3.0 host
Posted by Chen-Yu Tsai 1 month, 2 weeks ago
On Thu, Feb 26, 2026 at 1:09 AM Jernej Škrabec <jernej.skrabec@gmail.com> wrote:
>
> Dne sreda, 25. februar 2026 ob 18:00:44 Srednjeevropski standardni čas je Chen-Yu Tsai napisal(a):
> > On both Pine H64 models, there is one USB 3.0 host port directly
> > connected to the SoC. The VBUS is shared with the other USB 2.0 ports.
> > Unfortunately the DWC controller binding does not have a VBUS supply.
>
> IIRC this is exactly the reason why it was never added. Adding it without
> vbus property is not a good strategy.

Or we could describe a full usb-a-connector with vbus-supply, which still
doesn't do anything ATM. I plan on working on that in the future.


ChenYu