From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 6/6] ARM: Layerscape: LS1046a: configure USB ports
Date: Mon, 16 Sep 2019 14:43:45 +0200 [thread overview]
Message-ID: <20190916124345.24244-6-s.trumtrar@pengutronix.de> (raw)
In-Reply-To: <20190916124345.24244-1-s.trumtrar@pengutronix.de>
The LS1046a has three USB ports:
- 2 USB Host ports
- 1 USB Device port
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
arch/arm/dts/fsl-ls1046a-rdb.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/dts/fsl-ls1046a-rdb.dts b/arch/arm/dts/fsl-ls1046a-rdb.dts
index e16948bc8a51..bb5eebcb370a 100644
--- a/arch/arm/dts/fsl-ls1046a-rdb.dts
+++ b/arch/arm/dts/fsl-ls1046a-rdb.dts
@@ -96,3 +96,17 @@
status = "disabled";
};
};
+
+&usb0 {
+ dr_mode = "host";
+};
+
+&usb1 {
+ maximum-speed = "high-speed";
+ dr_mode = "peripheral";
+ status = "okay";
+};
+
+&usb2 {
+ dr_mode = "host";
+};
--
2.23.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2019-09-16 12:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-16 12:43 [PATCH 1/6] barebox-wrapper: add IRQ_WAKE_THREAD Steffen Trumtrar
2019-09-16 12:43 ` [PATCH 2/6] usb: gadget: add usb_gadget_udc_reset function Steffen Trumtrar
2019-09-16 12:43 ` [PATCH 3/6] usb/ch9.h: add USB 3.1 isoc endpoint define Steffen Trumtrar
2019-09-16 12:43 ` [PATCH 4/6] usb: dwc3: add support for gadget mode Steffen Trumtrar
2019-09-16 12:43 ` [PATCH 5/6] usb: gadget: composite: conditionally dequeue setup requests Steffen Trumtrar
2019-09-16 12:43 ` Steffen Trumtrar [this message]
2019-09-17 9:52 ` [PATCH 1/6] barebox-wrapper: add IRQ_WAKE_THREAD Sascha Hauer
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=20190916124345.24244-6-s.trumtrar@pengutronix.de \
--to=s.trumtrar@pengutronix.de \
--cc=barebox@lists.infradead.org \
/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