]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
riscv: dts: starfive: jh7110-pine64-star64: enable USB 3.0 port
authorE Shattow <e@freeshell.de>
Thu, 2 Jan 2025 18:37:37 +0000 (10:37 -0800)
committerConor Dooley <conor.dooley@microchip.com>
Tue, 18 Feb 2025 16:32:25 +0000 (16:32 +0000)
One of four USB-A ports on the Pine64 Star64 is USB 3.0 which requires to
disable PCIE0 and change the mode of PCIE0 PHY to USB3.0 operation. The
remaining three USB-A ports are USB 2.0 with the USB0 PHY and do not
conflict with any of PCIE0 or PCIE1. PCIE1 (1-lane) routes to a PCIe X4
connector.

Signed-off-by: E Shattow <e@freeshell.de>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/riscv/boot/dts/starfive/jh7110-pine64-star64.dts

index b764d4d92fd9026debfbe4f33336c0df0ac6b5ac..31e825be2065af19968bf4fb0bbc025494f44d6f 100644 (file)
        pinctrl-0 = <&usb0_pins>;
        status = "okay";
 };
+
+&usb_cdns3 {
+       phys = <&usbphy0>, <&pciephy0>;
+       phy-names = "cdns3,usb2-phy", "cdns3,usb3-phy";
+};