Browse Source

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 <[email protected]>
Christian Marangi 2 months ago
parent
commit
6d51c80424
1 changed files with 11 additions and 0 deletions
  1. 11 0
      target/linux/airoha/dts/an7581-evb-emmc.dts

+ 11 - 0
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>;