arm64: dts: allwinner: h6: Enable USB 3.0 host for Beelink GS1 and Tanix TX6
diff mbox series

Message ID 20191114102541.27361-1-peron.clem@gmail.com
State New
Headers show
Series
  • arm64: dts: allwinner: h6: Enable USB 3.0 host for Beelink GS1 and Tanix TX6
Related show

Commit Message

Clément Péron Nov. 14, 2019, 10:25 a.m. UTC
Enable USB 3.0 phy and host controller.

VBUS is directly connected to DCIN 5V and doesn't
require to be switched on.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
---
 arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 8 ++++++++
 arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts   | 8 ++++++++
 2 files changed, 16 insertions(+)

Comments

Maxime Ripard Nov. 14, 2019, 1:33 p.m. UTC | #1
On Thu, Nov 14, 2019 at 11:25:41AM +0100, Clément Péron wrote:
> Enable USB 3.0 phy and host controller.
>
> VBUS is directly connected to DCIN 5V and doesn't
> require to be switched on.
>
> Signed-off-by: Clément Péron <peron.clem@gmail.com>

Queued for 5.6, thanks!
Maxime

Patch
diff mbox series

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts
index e5ed1d4bfef8..dbf353cd26c1 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts
@@ -76,6 +76,10 @@ 
 	status = "okay";
 };
 
+&dwc3 {
+	status = "okay";
+};
+
 &ehci0 {
 	status = "okay";
 };
@@ -291,3 +295,7 @@ 
 	usb0_vbus-supply = <&reg_vcc5v>;
 	status = "okay";
 };
+
+&usb3phy {
+	status = "okay";
+};
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts
index bccfe1e65b6a..0b6361a5c172 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts
@@ -45,6 +45,10 @@ 
 	status = "okay";
 };
 
+&dwc3 {
+	status = "okay";
+};
+
 &ehci0 {
 	status = "okay";
 };
@@ -102,3 +106,7 @@ 
 &usb2phy {
 	status = "okay";
 };
+
+&usb3phy {
+	status = "okay";
+};