public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mathieu Othacehe <othacehe@gnu.org>
To: "Tom Rini" <trini@konsulko.com>, "Marek Vasut" <marex@denx.de>,
	"Peng Fan" <peng.fan@nxp.com>,
	"Shiji Yang" <yangshiji66@outlook.com>, "Ye Li" <ye.li@nxp.com>,
	"Alice Guo" <alice.guo@nxp.com>, "Stefano Babic" <sbabic@denx.de>,
	"Sébastien Szymanski" <sebastien.szymanski@armadeus.com>,
	"Fabio Estevam" <festevam@gmail.com>,
	"Simon Glass" <sjg@chromium.org>,
	"Mathieu Othacehe" <m.othacehe@gmail.com>
Cc: u-boot@lists.denx.de, Mathieu Othacehe <othacehe@gnu.org>
Subject: [PATCH 2/5] arm: dts: imx93-var-som-symphony: Add USB support.
Date: Tue, 20 Feb 2024 11:35:03 +0100	[thread overview]
Message-ID: <20240220103506.17218-3-othacehe@gnu.org> (raw)
In-Reply-To: <20240220103506.17218-1-othacehe@gnu.org>

Enable both usbotg1 and usbotg2 ports.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 arch/arm/dts/imx93-var-som-symphony.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm/dts/imx93-var-som-symphony.dts b/arch/arm/dts/imx93-var-som-symphony.dts
index a67bd005e54..1bc61942716 100644
--- a/arch/arm/dts/imx93-var-som-symphony.dts
+++ b/arch/arm/dts/imx93-var-som-symphony.dts
@@ -285,6 +285,24 @@
 	status = "okay";
 };
 
+&usbotg1 {
+	dr_mode = "otg";
+	hnp-disable;
+	srp-disable;
+	adp-disable;
+	disable-over-current;
+	status = "okay";
+};
+
+&usbotg2 {
+	dr_mode = "host";
+	hnp-disable;
+	srp-disable;
+	adp-disable;
+	disable-over-current;
+	status = "okay";
+};
+
 /* SD */
 &usdhc2 {
 	pinctrl-names = "default", "state_100mhz", "state_200mhz";
-- 
2.41.0


  parent reply	other threads:[~2024-02-20 11:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-20 10:35 [PATCH 0/5] imx93_var_som: Add USB support Mathieu Othacehe
2024-02-20 10:35 ` [PATCH 1/5] arm: dts: imx93: " Mathieu Othacehe
2024-02-20 10:35 ` Mathieu Othacehe [this message]
2024-02-20 10:35 ` [PATCH 3/5] configs: imx93_var_som: " Mathieu Othacehe
2024-02-20 10:35 ` [PATCH 4/5] configs: imx93_var_som: Add fastboot support Mathieu Othacehe
2024-02-20 10:35 ` [PATCH 5/5] configs: imx93_var_som: Add EFI support Mathieu Othacehe
2024-02-24 22:12 ` [PATCH 0/5] imx93_var_som: Add USB support Fabio Estevam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240220103506.17218-3-othacehe@gnu.org \
    --to=othacehe@gnu.org \
    --cc=alice.guo@nxp.com \
    --cc=festevam@gmail.com \
    --cc=m.othacehe@gmail.com \
    --cc=marex@denx.de \
    --cc=peng.fan@nxp.com \
    --cc=sbabic@denx.de \
    --cc=sebastien.szymanski@armadeus.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=yangshiji66@outlook.com \
    --cc=ye.li@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox