On Fri, 9 Jun 2023 14:12:31 +
路辉 wrote:
Hi,
> From fff53ba354c8eca33cb9901888778420db637073 Mon Sep 17 00:00:00 2001
> From: Lu Hui
> 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
>
> #include
>
> @@ -71,3 +72,17 @@
> usb0_id_det-gpios = < 4 2 GPIO_ACTIVE_HIGH>; /* PE2 */
> status = "okay";
> };
> +
> +_sram {
> +status = "okay";
> +};
> +
> +_otg {
> +dr_mode = "peripheral";
> +status = "okay";
> +};
> +
> + {
> +usb0_id_det-gpio = < 4 2 GPIO_ACTIVE_HIGH>; /* PE2 */
> +status = "okay";
> +};