From a13e185e8d58e85fbd546f161c247cb6a87bee28 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Tue, 17 Feb 2026 13:22:28 -0300 Subject: [PATCH] rockchip64-6.19: mekotronics-r58x-4g: fix type-A USB ports - this gets the 3 usb type-A ports in the front working --- .../dt/rk3588-blueberry-edge-v12-linux.dts | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/patch/kernel/archive/rockchip64-6.19/dt/rk3588-blueberry-edge-v12-linux.dts b/patch/kernel/archive/rockchip64-6.19/dt/rk3588-blueberry-edge-v12-linux.dts index 9d143b8897..e91f6cd6d9 100644 --- a/patch/kernel/archive/rockchip64-6.19/dt/rk3588-blueberry-edge-v12-linux.dts +++ b/patch/kernel/archive/rockchip64-6.19/dt/rk3588-blueberry-edge-v12-linux.dts @@ -943,6 +943,10 @@ }; }; +&usbdp_phy1 { + rockchip,dp-lane-mux = <0 1 2 3>; + status = "okay"; +}; &u2phy0 { status = "okay"; @@ -960,15 +964,13 @@ status = "okay"; }; -// XHCI (USB3) stuff is disabled, as it all depends on the fusb302 USB-C controller -// the blue ports on the front of the board, labelled "USB3", arent really USB3, but USB2. &u2phy1 { // for usbdp_phy1 which is also usb_host1_xhci - status = "disabled"; + status = "okay"; }; -&u2phy1_otg { // for usb_host1_xhci +&u2phy1_otg { phy-supply = <&vcc5v0_host>; - status = "disabled"; + status = "okay"; }; // USB 2.0 stuff that somewhat works: @@ -998,6 +1000,11 @@ status = "okay"; }; +&usb_host0_xhci { + dr_mode = "host"; + status = "okay"; +}; + &usb_host1_ehci { status = "okay"; }; @@ -1006,6 +1013,11 @@ status = "okay"; }; +&usb_host1_xhci { + dr_mode = "host"; + status = "okay"; +}; + &vop { status = "okay"; };