airoha: an7581: enable USB node on eMMC RFB board
authorChristian Marangi <ansuelsmth@gmail.com>
Tue, 28 Oct 2025 12:19:24 +0000 (13:19 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 10 Nov 2025 17:20:44 +0000 (18:20 +0100)
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>
(cherry picked from commit 6d51c80424b93b6aebacf4c47ad74597e450c8bd)

target/linux/airoha/dts/an7581-evb-emmc.dts

index b814834c28ddc9c64bbad0a267d47848c963da57..25d9b87af0f3bece327d501ca1a72ff9dac6c43c 100644 (file)
        };
 };
 
+&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>;