From patchwork Fri Jul 19 09:45:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ayush Singh X-Patchwork-Id: 13737100 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D901CC3DA59 for ; Fri, 19 Jul 2024 09:46:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jz9ch4dVrBxP6urYri9BwgC1U24Q+OuXsXlD8NvO7qw=; b=aLFL5jWSblqzUew/hLBBkucsnk WMiCv3DtaIKkrWGwpX9r3BuaBJZrrxk5Y1gxxALpWA9zuf/mFbH44pheNiiTUuRkTM4HjW1/g/1hc FmgGA+EUO56b3V9t58n7sEQ8b2/+hUZsJQ/6OGxlFUJW5lEMxH5d1YlC8DmgX9nOczzLiWDBbonix PtxzQ0J7KfqLLGW+tsVRKLoyZOGtqt4jy8pVIgXxZBQDXvXi6OpPuBjidise5452wavhSc5idj4U6 uEgr0O7GW2Uxtrahpc0ptCo2Y5fpsIWMljMe76fcLMS9jQL+LJyZZaoMtLHa/gvhJSAdaQ3pQXFPb TaKWJt8g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUkCC-00000002IE0-3P8b; Fri, 19 Jul 2024 09:46:36 +0000 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sUkBN-00000002Hwc-16PC for linux-arm-kernel@lists.infradead.org; Fri, 19 Jul 2024 09:45:46 +0000 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1fc5a93ce94so1842165ad.1 for ; Fri, 19 Jul 2024 02:45:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beagleboard-org.20230601.gappssmtp.com; s=20230601; t=1721382344; x=1721987144; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=jz9ch4dVrBxP6urYri9BwgC1U24Q+OuXsXlD8NvO7qw=; b=GWKQgMoyYnNcLd6f7xMavXZY5ak/gX+VaIWd5h1ksZR2epqt8DgePPQkcXipRsIt63 dkOsmGZerzYl63SIt3nfsKaafdrTdpsDgigY9+ejFqNSJunndxnnbHaMvtKonHlQIpqB +vaKyqnSrqBqZQepIGKWCuZwy4fJvT5ka3uQeyXsDlppaSAm2T14zoY1eMhBl4xFoOyk TEYElv8MlKK5yfVdewHO2K2nIcONlZnFDmzuiDaIYk0osmWhaxaBCOqWVzgd1ZookORT p/b4H82vUqtTmuHnJf5LN2Hmwai/kMH7V2g2e7lxab9BCm3fJ4/50RS20ehSRHnESnSC aJhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721382344; x=1721987144; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jz9ch4dVrBxP6urYri9BwgC1U24Q+OuXsXlD8NvO7qw=; b=NB2busoNZBwokYsr5xI3X1h8zDN3L65ExN8MXOegr+Fo6H0ErrACi7G3rcE+puODwJ Mo6bmKl7XZ/aMkv43LNKV4omuMPaKOYNzZj0jGLF6uUlj/wOHxVJmPS7t66IibjIESKO M73cTnOYmxafiU5wHxRKirypKgUipGwnAwH6TrkVTSPri8T6DT9gQTOfN3oDd3V+xPQ4 CWKM2dnncnrHVeXw3hQ/h8pr3dCeb4QbVCdNNe5B7wuN1/1EyteypaHbjZwmx/WPsnBj SfEr6hwDvvDX7Pf65f/u1RzOjIKdl3SzEOHCgbDuk412X2JAgWsXoaeOs1FTM1/C+eFt GaUQ== X-Forwarded-Encrypted: i=1; AJvYcCWCdkVU4fCj254FbeKdCVERGv9Bex98Du6ZaJ2Zuqc7HhbN8C0Uw8wb9HbzuxBYmCEo29Fd7zrCWd2j96GeCxcNacn6VahRZgVmvG25NdbP8ranjMg= X-Gm-Message-State: AOJu0Yw8I6uB2y5uDgiAke6dhJcRokfPaR4nJtrs9QdiNT3awoWvsEIS raaY+ow2Zq5wapcRXfEdLZOd62+hTBIohnyjqDPrHMWBsEuDsxUfVaRS1jQ1aA== X-Google-Smtp-Source: AGHT+IG0Dk0pyXiY9meaZxdcfjUrxlBVZ658N6RulLlCRYXcYG3KDTx6qBif55oSv0WqFWNFaxs8wg== X-Received: by 2002:a17:902:b195:b0:1fc:5b41:bb1b with SMTP id d9443c01a7336-1fd5ec8ab33mr13930375ad.4.1721382344055; Fri, 19 Jul 2024 02:45:44 -0700 (PDT) Received: from [127.0.0.1] ([2401:4900:8899:6437:d031:b9ec:7ff1:6aa1]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fd6f28f67esm819025ad.96.2024.07.19.02.45.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jul 2024 02:45:43 -0700 (PDT) From: Ayush Singh Date: Fri, 19 Jul 2024 15:15:11 +0530 Subject: [PATCH 2/3] arm64: dts: ti: k3-am625-beagleplay: Add boot-gpios to cc1352p7 MIME-Version: 1.0 Message-Id: <20240719-beagleplay_fw_upgrade-v1-2-8664d4513252@beagleboard.org> References: <20240719-beagleplay_fw_upgrade-v1-0-8664d4513252@beagleboard.org> In-Reply-To: <20240719-beagleplay_fw_upgrade-v1-0-8664d4513252@beagleboard.org> To: jkridner@beagleboard.org, robertcnelson@beagleboard.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Johan Hovold , Alex Elder , Greg Kroah-Hartman Cc: greybus-dev@lists.linaro.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ayush Singh X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=859; i=ayush@beagleboard.org; h=from:subject:message-id; bh=ktL075+vgq6cWYqcECtw9d1aoTJoi7kLRDiZQD8+fpM=; b=owEBbQKS/ZANAwAIAQXO9ceJ5Vp0AcsmYgBmmjW1ukKzxE3mHOQzG3KoTViMg43jWSqDVpuRC H3CShKNvxqJAjMEAAEIAB0WIQTfzBMe8k8tZW+lBNYFzvXHieVadAUCZpo1tQAKCRAFzvXHieVa dNvOD/4zxih/AxWFlgeOf8/JryAOSm7ENtd7lwPSWatsBhNCh8aGUlUXec9zUg0uiHPK4krGM8T oepqoAJuui8ay+aQw6MrhEDV01Yg0hIDh8iQLJiKnHUAXpLbTgjhhc3qFeQ7Mt1/MkHVD6Ga1yF k0d2dK0/ZpmaG5GNk2qc1iGnAPC68lfkmc2dDWiRTzCJDFoR7Hw1twsdC8yQ2Sx4qyfTcak21Nj uI/hFtwdfS66OqU8wOpTSiMGKgEtt8dsKlKkmNEkKPoAjxTuO1/AzbOhE2XNxk03ZPq3cCXyaJa zjsA65hVmS1OEFd8oiPQUJVwOp7yuyBelJWWw6nSoSbZAuGPPNQknjSg+J8dnrdP508nFlonKjv MIQh2p+Joh3hPnkEUZrC4u+6LsAvk9MsWCVHmgFmif7guLXCQghuEADsq3nMoBwyXsM4vdEVjYu 5MTSzqvORZG86x4p4xFlaGoWDAnhEa4aiB5CL/nuvmNg9WyX0S+4zbUM4h+WNYrOhKU5AVlynpG ETumL9S6LuuZHR8wzMyD9wFwEB0Uue8YRlNDmEwrRYY++aBD2mIHgqCoOu9zeb+YOXWwBpJkxJr TQoTwYMyuwOOxaIzNBBIlK/T4vJyz8QYvS7Sqaq/DVbHaJoK5SvYaLYCzHAHc4VH7E4ZLePim33 VBXzufQnYREtRHA== X-Developer-Key: i=ayush@beagleboard.org; a=openpgp; fpr=DFCC131EF24F2D656FA504D605CEF5C789E55A74 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240719_024545_339153_B0A37148 X-CRM114-Status: GOOD ( 11.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add boot-gpios which is required for enabling bootloader backdoor for flashing firmware to cc1352p7. Also fix the incorrect reset-gpio. Signed-off-by: Ayush Singh --- arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts b/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts index 70de288d728e..6c9d1dc26379 100644 --- a/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts +++ b/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts @@ -888,7 +888,8 @@ &main_uart6 { mcu { compatible = "ti,cc1352p7"; - reset-gpios = <&main_gpio0 72 GPIO_ACTIVE_LOW>; + boot-gpios = <&main_gpio0 13 GPIO_ACTIVE_HIGH>; + reset-gpios = <&main_gpio0 14 GPIO_ACTIVE_HIGH>; vdds-supply = <&vdd_3v3>; }; };