mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
79 lines
1.8 KiB
Diff
79 lines
1.8 KiB
Diff
From e432309ff8bf2a148bbdd4946ca1580c6b5b610c Mon Sep 17 00:00:00 2001
|
|
From: Peter Geis <pgwipeout@gmail.com>
|
|
Date: Fri, 8 Apr 2022 11:12:36 -0400
|
|
Subject: arm64: dts: rockchip: enable dwc3 on quartz64-a
|
|
|
|
The quartz64 model a has support for both the dwc3 otg port and the dwc3
|
|
host port. Add the otg power supply and dwc3 nodes to the device tree to
|
|
enable support for these.
|
|
|
|
Signed-off-by: Peter Geis <pgwipeout@gmail.com>
|
|
Link: https://lore.kernel.org/r/20220408151237.3165046-5-pgwipeout@gmail.com
|
|
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
|
|
---
|
|
arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts | 37 ++++++++++++++++++++++
|
|
1 file changed, 37 insertions(+)
|
|
|
|
(limited to 'arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts')
|
|
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3566-quartz64-a.dts
|
|
@@ -151,6 +151,16 @@
|
|
vin-supply = <&vcc5v0_usb>;
|
|
};
|
|
|
|
+ vcc5v0_usb20_otg: vcc5v0_usb20_otg {
|
|
+ compatible = "regulator-fixed";
|
|
+ enable-active-high;
|
|
+ gpio = <&gpio4 RK_PB5 GPIO_ACTIVE_HIGH>;
|
|
+ regulator-name = "vcc5v0_usb20_otg";
|
|
+ regulator-min-microvolt = <5000000>;
|
|
+ regulator-max-microvolt = <5000000>;
|
|
+ vin-supply = <&dcdc_boost>;
|
|
+ };
|
|
+
|
|
vcc3v3_sd: vcc3v3_sd {
|
|
compatible = "regulator-fixed";
|
|
enable-active-low;
|
|
@@ -187,6 +197,10 @@
|
|
};
|
|
};
|
|
|
|
+&combphy1 {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&cpu0 {
|
|
cpu-supply = <&vdd_cpu>;
|
|
};
|
|
@@ -672,6 +686,29 @@
|
|
status = "okay";
|
|
};
|
|
|
|
+&usb_host0_xhci {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+/* usb3 controller is muxed with sata1 */
|
|
+&usb_host1_xhci {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&usb2phy0 {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&usb2phy0_host {
|
|
+ phy-supply = <&vcc5v0_usb20_host>;
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&usb2phy0_otg {
|
|
+ phy-supply = <&vcc5v0_usb20_otg>;
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&usb2phy1 {
|
|
status = "okay";
|
|
};
|