arm64: dts: allwinner: pine-h64: Enable USB 3.0 host

Message ID 20260225170045.1707778-1-wens@kernel.org (mailing list archive)
State New
Headers
Series arm64: dts: allwinner: pine-h64: Enable USB 3.0 host |

Commit Message

Chen-Yu Tsai Feb. 25, 2026, 5 p.m. UTC
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(+)
  

Comments

Jernej Skrabec Feb. 25, 2026, 5:09 p.m. UTC | #1
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
  
Chen-Yu Tsai Feb. 26, 2026, 9:18 a.m. UTC | #2
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
  

Patch

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";
+};