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 BC5FDC433EF for ; Thu, 30 Jun 2022 14:20:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7BFD6842A2; Thu, 30 Jun 2022 16:20:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=dh-electronics.com 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=dh-electronics.com header.i=@dh-electronics.com header.b="X2qPjDg3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 497E7842A2; Thu, 30 Jun 2022 16:20:37 +0200 (CEST) Received: from mx4.securetransport.de (mx4.securetransport.de [178.254.6.145]) by phobos.denx.de (Postfix) with ESMTP id 1D5B483BFE for ; Thu, 30 Jun 2022 16:20:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=dh-electronics.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jneuhauser@dh-electronics.com Received: from mail.dh-electronics.com (business-24-134-97-169.pool2.vodafone-ip.de [24.134.97.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx4.securetransport.de (Postfix) with ESMTPSA id 0FE9A720507; Thu, 30 Jun 2022 16:20:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dh-electronics.com; s=dhelectronicscom; t=1656598820; bh=hMrdvXVjFgeMKCNfgchOwStS6qkv/LIDjUb0z7T1P0Q=; h=From:To:CC:Subject:Date:From; b=X2qPjDg3hYCgickb5RHrplwUcMmUgOTN9771AFhtR/FYaL6QHbk2r4jofVPmfYntK FrJOhckcg8ry9mLh2WqSIMEcarOXi8xiapj+qcx5plk8zMEXaSADgoZvKcC4VquYH5 Wb3aAGX8xFOHg2eJIqysBOHDT31Yt70MI5H98R+97M35PZSTlMkLd04PBizZtJCKho 3oGVWhL/y3SaoDE684ss6E40jZlR6swUZr+uLZtg/se3nWQoQfeN0iLMhZHv7Xryhk Btf3GmhCk586FGhTbVeKlCSmAzfUasSH9alPWLR/M1/QpjAq0Rq4K3XS5sedod3X1S xsZmz/vp80oWQ== Received: from DHPWEX01.DH-ELECTRONICS.ORG (10.64.2.30) by DHPWEX01.DH-ELECTRONICS.ORG (10.64.2.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.9; Thu, 30 Jun 2022 16:20:13 +0200 Received: from debian-vm.dh-electronics.org (10.64.6.150) by DHPWEX01.DH-ELECTRONICS.ORG (10.64.2.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.9 via Frontend Transport; Thu, 30 Jun 2022 16:20:12 +0200 From: Johann Neuhauser To: CC: Patrick Delaunay , Marek Vasut , , , Tom Rini , Patrice Chotard , Johann Neuhauser Subject: [PATCH] arm: dts: stm32mp1: Drop fastboot and stm32prog trigger gpios on DHCOM Date: Thu, 30 Jun 2022 16:19:48 +0200 Message-ID: <20220630141949.10585-1-jneuhauser@dh-electronics.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Klartext: yes Content-Type: text/plain 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.6 at phobos.denx.de X-Virus-Status: Clean PA13 and PA14 are used for USB power control and can't be used to enforce fastboot or stm32prog mode by pressing a button. Defining CONFIG_FASTBOOT/CONFIG_CMD_STM32PROG without this patch applied results in fastboot/stm32prog always starting, because PA13/PA14 are always low during boot. So drop the wrong trigger gpios definitions. Signed-off-by: Johann Neuhauser --- arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi b/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi index d73967ac1b5d..ee747a52bb7c 100644 --- a/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi +++ b/arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi @@ -27,8 +27,6 @@ config { u-boot,boot-led = "heartbeat"; u-boot,error-led = "error"; - st,fastboot-gpios = <&gpioa 13 GPIO_ACTIVE_LOW>; - st,stm32prog-gpios = <&gpioa 14 GPIO_ACTIVE_LOW>; dh,som-coding-gpios = <&gpiof 12 0>, <&gpiof 13 0>, <&gpiof 15 0>; dh,ddr3-coding-gpios = <&gpioz 6 0>, <&gpioz 7 0>; }; -- 2.30.2