https://turingpi.com logo
Here is the patch I used: `// SPDX-License-Identif...
# │firmware-dev
f
Here is the patch I used:
Copy code
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/dts-v1/;
/plugin/;

/*
 * Turing RK1: restore the two DWC3 interfaces enabled in the 22.04 image.
 * Target: supplied Ubuntu 24.10, 6.11.0-1006-rockchip DTB.
 * USB0 is USB2-only. USB1 supports USB3. Both are set to host mode.
 * Uses 24.10 labels/bindings, not the vendor 5.10 nested USB nodes.
 * USB VBUS is supplied by the carrier. Optional GPIO4_B0 power control
 * is provided separately, and must agree with the carrier wiring.
 */

/ {
    compatible = "turing,rk1", "rockchip,rk3588";
};

&u2phy0 {
    status = "okay";
};

&u2phy0_otg {
    status = "okay";
};

&usbdp_phy0 {
    /* All high-speed lanes belong to DP: USB0 has no SuperSpeed lanes.
     * Linux 6.11's USBDP driver programs the USB3-port-disable GRF bits.
     * Keep this PHY in usb_host0_xhci's existing phys list for that init.
     */
    rockchip,dp-lane-mux = <0 1 2 3>;
    status = "okay";
};

&usb_host0_xhci {
    dr_mode = "host";
    maximum-speed = "high-speed";
    extcon = <&u2phy0>;
    status = "okay";
};

&u2phy1 {
    status = "okay";
};

&u2phy1_otg {
    status = "okay";
};

&usbdp_phy1 {
    /* No DP lane assignment: use the base tree's USB3 PHY binding. */
    status = "okay";
};

&usb_host1_xhci {
    dr_mode = "host";
    extcon = <&u2phy1>;
    status = "okay";
};