summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Marangi2025-10-28 12:19:24 +0000
committerChristian Marangi2025-10-28 12:19:24 +0000
commit6d51c80424b93b6aebacf4c47ad74597e450c8bd (patch)
treeda9804b49c9c0fef85f81c78bd4b7f4f80f3f078
parent3ba92e0e3268c07859859968368602d2dc758148 (diff)
downloadopenwrt-6d51c80424b93b6aebacf4c47ad74597e450c8bd.tar.gz
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@gmail.com>
-rw-r--r--target/linux/airoha/dts/an7581-evb-emmc.dts11
1 files changed, 11 insertions, 0 deletions
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>;