From patchwork Thu Mar 21 14:45:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 1914467 X-Patchwork-Delegate: festevam@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=eQ6hI1n2; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V0pZM2Ytmz1yWy for ; Fri, 22 Mar 2024 02:01:31 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6B9CB88134; Thu, 21 Mar 2024 16:01:09 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.b="eQ6hI1n2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C776C87BE0; Thu, 21 Mar 2024 15:46:05 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C1074880BE for ; Thu, 21 Mar 2024 15:46:00 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=othacehe@gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rnJg6-0006ou-3o; Thu, 21 Mar 2024 10:45:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=tqhUSWZWFUPjsl2Euy0GSbL6gIY+3LbATeGNgmv9B6s=; b=eQ6hI1n2BI3i5tovn27W wMc8SrXNfH2gQB6043sSCObAmQ+82UAUF/qucf2S6n2F18nXfXpI3WE2S/OkmGEQyD3Bkg09EW46k HWsVqXMz+f7YRzrllIA5BkTP+qFrFmO1PeqdeIKzxPFKSMXb01GwSvED2bLAzfWQaNQhJYJpWFBBQ aIl5/fyFGz2BMb9e4lSCcvdl+gwcTx2Luw2FbW1XlCeV9xFmOpKd+7C57QqdCIf3uAlh/QZfq/nhM pgnDfhceFDf/CElcygltkD8TNaSX7z7gkuBCLgonsJEucZdpFvJfT+Yg24UQf0gGwcIwCBsKuLkOa cjhC9R2wruPRiA==; From: Mathieu Othacehe To: Tom Rini , Marek Vasut , Peng Fan , Shiji Yang , Ye Li , Alice Guo , Stefano Babic , =?utf-8?q?S=C3=A9bastien_Szymanski?= , Fabio Estevam , Simon Glass , Mathieu Othacehe , Yannic Moog , Primoz Fiser , Christoph Stoidner , Wadim Egorov Cc: u-boot@lists.denx.de, Mathieu Othacehe Subject: [PATCH v3 1/3] arm: dts: imx93-phyboard-segin: Add USB support Date: Thu, 21 Mar 2024 15:45:39 +0100 Message-ID: <20240321144541.15314-2-othacehe@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240321144541.15314-1-othacehe@gnu.org> References: <20240321144541.15314-1-othacehe@gnu.org> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 21 Mar 2024 16:01:03 +0100 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 Enable both usbotg1 and usbotg2 ports. Disable over-current as OC pins are not connected to the SoC. This is temporary, until USB support is added to imx93-phyboard-segin.dts in Linux. Signed-off-by: Mathieu Othacehe Reviewed-by: Fabio Estevam Reviewed-by: Marek Vasut --- arch/arm/dts/imx93-phyboard-segin-u-boot.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/dts/imx93-phyboard-segin-u-boot.dtsi b/arch/arm/dts/imx93-phyboard-segin-u-boot.dtsi index 8bf28c2de87..6897c91f4d9 100644 --- a/arch/arm/dts/imx93-phyboard-segin-u-boot.dtsi +++ b/arch/arm/dts/imx93-phyboard-segin-u-boot.dtsi @@ -121,6 +121,21 @@ bootph-some-ram; }; +/* + * Remove once USB support is added to imx93-phyboard-segin.dts upstream. + */ +&usbotg1 { + disable-over-current; + dr_mode = "otg"; + status = "okay"; +}; + +&usbotg2 { + disable-over-current; + dr_mode = "host"; + status = "okay"; +}; + &usdhc1 { bootph-pre-ram; bootph-some-ram;