aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2024-03-21 15:45:39 +0100
committerFabio Estevam <festevam@gmail.com>2024-03-24 13:41:40 -0300
commit1be8b6a24d356fa80210f78d8ad39aaafbfd55ca (patch)
treea0c3ac7d570f10e4c08854cc8a6dc84fefc357eb
parent6bb745844c2aeaa7d7a1c0d1178b5b83d8b4c9ca (diff)
downloadu-boot-1be8b6a24d356fa80210f78d8ad39aaafbfd55ca.zip
u-boot-1be8b6a24d356fa80210f78d8ad39aaafbfd55ca.tar.gz
u-boot-1be8b6a24d356fa80210f78d8ad39aaafbfd55ca.tar.bz2
arm: dts: imx93-phyboard-segin: Add USB support
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>
-rw-r--r--arch/arm/dts/imx93-phyboard-segin-u-boot.dtsi15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/dts/imx93-phyboard-segin-u-boot.dtsi b/arch/arm/dts/imx93-phyboard-segin-u-boot.dtsi
index 8bf28c2..6897c91 100644
--- a/arch/arm/dts/imx93-phyboard-segin-u-boot.dtsi
+++ b/arch/arm/dts/imx93-phyboard-segin-u-boot.dtsi
@@ -121,6 +121,21 @@
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;