From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8C324C7EE2E for ; Sat, 10 Jun 2023 00:44:17 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 96291846E1; Sat, 10 Jun 2023 02:44:15 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 944E184724; Sat, 10 Jun 2023 02:44:13 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id 1008384783 for ; Sat, 10 Jun 2023 02:44:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andre.przywara@arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0B5A22F4; Fri, 9 Jun 2023 17:44:55 -0700 (PDT) Received: from slackpad.lan (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C3C803F6C4; Fri, 9 Jun 2023 17:44:08 -0700 (PDT) Date: Sat, 10 Jun 2023 01:43:34 +0100 From: Andre Przywara To: =?UTF-8?B?6Lev6L6J?= Cc: u-boot@lists.denx.de Subject: Re: [PATCH 3/3] arm: dts: licheepi-nano: enable usb device mode Message-ID: <20230610014334.49446303@slackpad.lan> In-Reply-To: References: Organization: Arm Ltd. X-Mailer: Claws Mail 4.1.1 (GTK 3.24.31; x86_64-slackware-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On Fri, 9 Jun 2023 14:12:31 +0000 =E8=B7=AF=E8=BE=89 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/57285737cbae4638112a96e4b3ee7= 8eda6182b6e Cheers, Andre > --- > arch/arm/dts/suniv-f1c100s-licheepi-nano.dts | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) >=20 > 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 @@ >=20 > /dts-v1/; > #include "suniv-f1c100s.dtsi" > +#include >=20 > #include >=20 > @@ -71,3 +72,17 @@ > usb0_id_det-gpios =3D <&pio 4 2 GPIO_ACTIVE_HIGH>; /* PE2 */ > status =3D "okay"; > }; > + > +&otg_sram { > + status =3D "okay"; > +}; > + > +&usb_otg { > + dr_mode =3D "peripheral"; > + status =3D "okay"; > +}; > + > +&usbphy { > + usb0_id_det-gpio =3D <&pio 4 2 GPIO_ACTIVE_HIGH>; /* PE2 */ > + status =3D "okay"; > +};