mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-15 19:09:46 +00:00
40 lines
1019 B
Diff
40 lines
1019 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Icenowy Zheng <icenowy@aosc.io>
|
|
Date: Mon, 25 Dec 2017 12:10:59 +0800
|
|
Subject: [PATCH] arm64: allwinner: dts: h6: enable USB3 port on Pine H64
|
|
|
|
Pine H64 board have a USB3 port, which is connected to the USB3 pins of
|
|
the H6 SoC, and the 5V power supply is controlled via GPIO (shared with
|
|
the power USB ports).
|
|
|
|
Enable this port.
|
|
|
|
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
|
|
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
|
|
---
|
|
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts | 9 +++++++++
|
|
1 file changed, 9 insertions(+)
|
|
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts
|
|
@@ -97,6 +97,10 @@
|
|
status = "okay";
|
|
};
|
|
|
|
+&dwc3 {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&emac {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&ext_rgmii_pins>;
|
|
@@ -332,3 +336,8 @@
|
|
usb3_vbus-supply = <®_usb_vbus>;
|
|
status = "okay";
|
|
};
|
|
+
|
|
+&usb3phy {
|
|
+ phy-supply = <®_usb_vbus>;
|
|
+ status = "okay";
|
|
+};
|