[openwrt/openwrt] airoha: an7581: correctly attach the USB2 PHY for 3rd PCIe line

LEDE Commits lede-commits at lists.infradead.org
Tue Oct 28 05:21:29 PDT 2025


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/3ba92e0e3268c07859859968368602d2dc758148

commit 3ba92e0e3268c07859859968368602d2dc758148
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Tue Oct 28 13:17:38 2025 +0100

    airoha: an7581: correctly attach the USB2 PHY for 3rd PCIe line
    
    The 3rd PCIe line use the USB2 serdes for PCIe operation. Correctly set
    it to the DT node so that the mode can be correctly set in the PHY
    driver.
    
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 target/linux/airoha/dts/an7581.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/airoha/dts/an7581.dtsi b/target/linux/airoha/dts/an7581.dtsi
index 367779e544..32bc6b5df7 100644
--- a/target/linux/airoha/dts/an7581.dtsi
+++ b/target/linux/airoha/dts/an7581.dtsi
@@ -780,7 +780,7 @@
 			clocks = <&scuclk EN7523_CLK_PCIE>;
 			clock-names = "sys-ck";
 
-			phys = <&pciephy>;
+			phys = <&usb1_phy PHY_TYPE_USB3>;
 			phy-names = "pcie-phy";
 
 			ranges = <0x02000000 0 0x28000000 0x0 0x28000000 0 0x4000000>;




More information about the lede-commits mailing list