public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Sjoerd Simons <sjoerd@collabora.com>
To: u-boot@lists.denx.de
Cc: Dhruva Gole <d-gole@ti.com>, Georgi Vlaev <g-vlaev@ti.com>,
	Nishanth Menon <nm@ti.com>, Tom Rini <trini@konsulko.com>,
	Vignesh Raghavendra <vigneshr@ti.com>
Subject: [PATCH 7/8] arm: dts: k3-am625-sk: Enable usb ports in u-boot
Date: Sat, 21 Jan 2023 16:54:33 +0100	[thread overview]
Message-ID: <20230121155435.2858173-8-sjoerd@collabora.com> (raw)
In-Reply-To: <20230121155435.2858173-1-sjoerd@collabora.com>

Enable both usb0 as a peripheral for use with DFU and usb1 as a host
port for usage with e.g. usb storage.

Signed-off-by: Sjoerd Simons <sjoerd@collabora.com>
---

 arch/arm/dts/k3-am625-sk-u-boot.dtsi | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
index 32163e5373a..5a5b539f97a 100644
--- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi
+++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
@@ -154,3 +154,26 @@
 &cpsw_port2 {
 	status = "disabled";
 };
+
+&usbss0 {
+	u-boot,dm-spl;
+};
+
+&usb0 {
+	dr_mode = "peripheral";
+	/* Since role switching is not supported in U-Boot */
+	/delete-property/ extcon;
+	u-boot,dm-spl;
+};
+
+&usbss1 {
+	u-boot,dm-spl;
+};
+
+&usb1 {
+	u-boot,dm-spl;
+};
+
+&main_usb1_pins_default {
+	u-boot,dm-spl;
+};
-- 
2.39.0


  parent reply	other threads:[~2023-01-21 15:55 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-21 15:54 [PATCH 0/8] Add DFU, emmc and usb boot for TI am62x Sjoerd Simons
2023-01-21 15:54 ` [PATCH 1/8] omap: timer: add ti,am654-timer compatibility Sjoerd Simons
2023-01-24 20:47   ` Tom Rini
2023-01-25 12:18   ` Dhruva Gole
2023-01-21 15:54 ` [PATCH 2/8] arm: mach-k3: am62: Add timer0 id to the dev list Sjoerd Simons
2023-01-24 20:47   ` Tom Rini
2023-01-21 15:54 ` [PATCH 3/8] arm: dts: k3-am62: Bump dtsi from ti-next Sjoerd Simons
2023-01-24 20:47   ` Tom Rini
2023-01-25  7:32     ` Sjoerd Simons
2023-01-25 14:05       ` Tom Rini
2023-01-21 15:54 ` [PATCH 4/8] arm: dts: k3-am625-sk: Enable emmc in SPL Sjoerd Simons
2023-01-24 20:47   ` Tom Rini
2023-01-26 18:26   ` Tom Rini
2023-01-21 15:54 ` [PATCH 5/8] usb: dwc3: Add dwc3 glue for am62 Sjoerd Simons
2023-01-27 19:30   ` Tom Rini
2023-01-21 15:54 ` [PATCH 6/8] configs: am62: Add configs for enabling USB in U-Boot Sjoerd Simons
2023-01-21 15:54 ` Sjoerd Simons [this message]
2023-01-24 20:47   ` [PATCH 7/8] arm: dts: k3-am625-sk: Enable usb ports in u-boot Tom Rini
2023-01-21 15:54 ` [PATCH 8/8] configs: am62x_evm_*: Enable USB and DFU support Sjoerd Simons

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=20230121155435.2858173-8-sjoerd@collabora.com \
    --to=sjoerd@collabora.com \
    --cc=d-gole@ti.com \
    --cc=g-vlaev@ti.com \
    --cc=nm@ti.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.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