[openwrt/openwrt] airoha: an7581: enable USB node on eMMC RFB board

LEDE Commits lede-commits at lists.infradead.org
Mon Nov 10 09:36:05 PST 2025


ansuel pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/e905c45b059b4058bf2df2bd433de813b1248377

commit e905c45b059b4058bf2df2bd433de813b1248377
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Tue Oct 28 13:19:24 2025 +0100

    airoha: an7581: enable USB node on eMMC RFB board
    
    Enable USB node on eMMC RFB board and disable USB2 3.0 port to make the
    3rd PCIe line correctly work.
    
    This is needed to prevent the xHCI driver to mess with PCIe by
    configuring the USB2 3.0 port. Port will still be detected but won't be
    configureed by the driver and won't have PHY to configure for.
    
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
    (cherry picked from commit 6d51c80424b93b6aebacf4c47ad74597e450c8bd)
---
 target/linux/airoha/dts/an7581-evb-emmc.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/target/linux/airoha/dts/an7581-evb-emmc.dts b/target/linux/airoha/dts/an7581-evb-emmc.dts
index b814834c28..25d9b87af0 100644
--- a/target/linux/airoha/dts/an7581-evb-emmc.dts
+++ b/target/linux/airoha/dts/an7581-evb-emmc.dts
@@ -106,6 +106,17 @@
 	};
 };
 
+&usb0 {
+	status = "okay";
+};
+
+&usb1 {
+	status = "okay";
+
+	mediatek,u3p-dis-msk = <0x1>;
+	phys = <&usb1_phy PHY_TYPE_USB2>;
+};
+
 &mmc0 {
 	pinctrl-names = "default", "state_uhs";
 	pinctrl-0 = <&mmc_pins>;




More information about the lede-commits mailing list