From: Andre Przywara <andre.przywara@arm.com>
To: 路辉 <luhux76@gmail.com>
Cc: u-boot@lists.denx.de
Subject: Re: [PATCH 3/3] arm: dts: licheepi-nano: enable usb device mode
Date: Sat, 10 Jun 2023 01:43:34 +0100 [thread overview]
Message-ID: <20230610014334.49446303@slackpad.lan> (raw)
In-Reply-To: <CAGNyveiSoeQ6_bKj=KFWKedJPMSQ86LzH0sbuD9pOgeWchJ3og@mail.gmail.com>
On Fri, 9 Jun 2023 14:12:31 +0000
路辉 <luhux76@gmail.com> wrote:
Hi,
> From fff53ba354c8eca33cb9901888778420db637073 Mon Sep 17 00:00:00 2001
> From: Lu Hui <luhux76@gmail.com>
> Date: Fri, 9 Jun 2023 22:05:53 +0800
> Subject: [PATCH 3/3] arm: dts: licheepi-nano: enable usb device mode
thanks for sending this, but this snippet was merged into the
U-Boot tree just a few days ago:
https://source.denx.de/u-boot/u-boot/-/commit/57285737cbae4638112a96e4b3ee78eda6182b6e
Cheers,
Andre
> ---
> arch/arm/dts/suniv-f1c100s-licheepi-nano.dts | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
>
> diff --git a/arch/arm/dts/suniv-f1c100s-licheepi-nano.dts
> b/arch/arm/dts/suniv-f1c100s-licheepi-nano.dts
> index 43896723a9..0ab6353727 100644
> --- a/arch/arm/dts/suniv-f1c100s-licheepi-nano.dts
> +++ b/arch/arm/dts/suniv-f1c100s-licheepi-nano.dts
> @@ -5,6 +5,7 @@
>
> /dts-v1/;
> #include "suniv-f1c100s.dtsi"
> +#include <dt-bindings/gpio/gpio.h>
>
> #include <dt-bindings/gpio/gpio.h>
>
> @@ -71,3 +72,17 @@
> usb0_id_det-gpios = <&pio 4 2 GPIO_ACTIVE_HIGH>; /* PE2 */
> status = "okay";
> };
> +
> +&otg_sram {
> + status = "okay";
> +};
> +
> +&usb_otg {
> + dr_mode = "peripheral";
> + status = "okay";
> +};
> +
> +&usbphy {
> + usb0_id_det-gpio = <&pio 4 2 GPIO_ACTIVE_HIGH>; /* PE2 */
> + status = "okay";
> +};
prev parent reply other threads:[~2023-06-10 0:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-09 14:12 [PATCH 3/3] arm: dts: licheepi-nano: enable usb device mode 路辉
2023-06-10 0:43 ` Andre Przywara [this message]
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=20230610014334.49446303@slackpad.lan \
--to=andre.przywara@arm.com \
--cc=luhux76@gmail.com \
--cc=u-boot@lists.denx.de \
/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