]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: imx93-kontron: Fix USB port assignment
authorFrieder Schrempf <frieder.schrempf@kontron.de>
Mon, 21 Jul 2025 10:05:46 +0000 (12:05 +0200)
committerShawn Guo <shawnguo@kernel.org>
Fri, 22 Aug 2025 03:04:19 +0000 (11:04 +0800)
The assignment of the USB ports is wrong and needs to be swapped.
The OTG (USB-C) port is on the first port and the host port with
the onboard hub is on the second port.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Fixes: 2b52fd6035b7 ("arm64: dts: Add support for Kontron i.MX93 OSM-S SoM and BL carrier board")
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx93-kontron-bl-osm-s.dts

index 9a9e5d0daf3babc1dcb950a3215ccf05ba36d5d5..c3d2ddd887fdf0863d50b6ff1bde6193d448d409 100644 (file)
 };
 
 &usbotg1 {
+       adp-disable;
+       hnp-disable;
+       srp-disable;
+       disable-over-current;
+       dr_mode = "otg";
+       usb-role-switch;
+       status = "okay";
+};
+
+&usbotg2 {
        #address-cells = <1>;
        #size-cells = <0>;
        disable-over-current;
        };
 };
 
-&usbotg2 {
-       adp-disable;
-       hnp-disable;
-       srp-disable;
-       disable-over-current;
-       dr_mode = "otg";
-       usb-role-switch;
-       status = "okay";
-};
-
 &usdhc2 {
        vmmc-supply = <&reg_vdd_3v3>;
        status = "okay";