]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: dts: imx93-phyboard-segin: Add USB support
authorMathieu Othacehe <othacehe@gnu.org>
Thu, 21 Mar 2024 14:45:39 +0000 (15:45 +0100)
committerFabio Estevam <festevam@gmail.com>
Sun, 24 Mar 2024 16:41:40 +0000 (13:41 -0300)
Enable both usbotg1 and usbotg2 ports. Disable over-current as OC pins are
not connected to the SoC.

This addition to imx93-phyboard-segin-u-boot.dtsi is temporary,
until USB support is added to imx93-phyboard-segin.dts in Linux.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
arch/arm/dts/imx93-phyboard-segin-u-boot.dtsi

index 8bf28c2de87c86dc89015224644c531e25974315..6897c91f4d925a45a28bce824afaeb1ab697d415 100644 (file)
        bootph-some-ram;
 };
 
+/*
+ * Remove once USB support is added to imx93-phyboard-segin.dts upstream.
+ */
+&usbotg1 {
+       disable-over-current;
+       dr_mode = "otg";
+       status = "okay";
+};
+
+&usbotg2 {
+       disable-over-current;
+       dr_mode = "host";
+       status = "okay";
+};
+
 &usdhc1 {
        bootph-pre-ram;
        bootph-some-ram;