From patchwork Tue Sep 3 09:32:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ayush Singh X-Patchwork-Id: 13788436 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 991BDCD13CF for ; Tue, 3 Sep 2024 09:48:39 +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=Ueq56/ihM5P7UHNM9LExxz3BL+BrqPFaFFbdMDA7T6g=; b=pF/PwblpHnWnhfKP/p2/eDV15L zH3V9WgFY+3h4EJ/4r48rmh8yMLKPxzXe7vbUbypmzkYBIQ9cjnEKHkxw8jkNlxDJiFNNaK1Z7AHq 1FUrIiD/7wbX5RK6AI+uQnS8W3nRfJRDacq1b6lR9IoAcq50zVG56rQRrCCkcfTvArvwxzIfmrrIr yrzBuplL+gQra/QlkLLnckJIYhvCQ7fDyeB3zMV9mJdb2shuzVJbGtpLzOyNml7ApWFfmoohdphWD r520cwXIIdktmLZi9qhK3HDwjx2H83WmOAEEjRyi/5Ax59o9+WAzjDGTldd6iaK7OIHSbGrRpXUfn ea898whA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1slQ9H-0000000HEdr-0rLi; Tue, 03 Sep 2024 09:48:31 +0000 Received: from mail-oo1-xc2a.google.com ([2607:f8b0:4864:20::c2a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1slPuY-0000000HAqg-33pK for linux-arm-kernel@lists.infradead.org; Tue, 03 Sep 2024 09:33:20 +0000 Received: by mail-oo1-xc2a.google.com with SMTP id 006d021491bc7-5d5b1e33fa8so2881989eaf.3 for ; Tue, 03 Sep 2024 02:33:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beagleboard-org.20230601.gappssmtp.com; s=20230601; t=1725355997; x=1725960797; 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=Ueq56/ihM5P7UHNM9LExxz3BL+BrqPFaFFbdMDA7T6g=; b=qsihQrsH8MBD4O9admgMUlzgnRTt1EQTvNvYEyLqMd9vVQGSwWpLZnQV84iOpITQ1e EV5lsV4/NfmToi4U9adi2V9wI7+5QSaA3gw2oAgEhbOBT9dzq4e2GZoO6ePaDg3yP5IU gtEcnvznv5H8CyDS2A+TBbEV1otEEYcB93pFbk+to8aTCjP/5Pw4BZbiUu5/Am9uiga0 1FfU+ZnKvQl3Zd4GtVFDQsm2OPqFYQFY7OWTCgB3UKtb0yenTydkGUtUHsk5Tn4vC5a8 KHbK8Qem3v5QivZ6USMCZuPhSE4cqisf6UMo/jeC7iBO4wGNjSZcnwY+D5mbNIV4I/1s ZRbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725355997; x=1725960797; 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=Ueq56/ihM5P7UHNM9LExxz3BL+BrqPFaFFbdMDA7T6g=; b=rdsIltY4Lr68R7GFAq435doEzUUiHrhNfk61X4vrV+bu9+SGuQvSaB9tlhesPmsaHv Tg50rOVItyi6a63I1znZ6MkcYVpjtMEIzPH6MN1TS6JbgeODRB4otMtTKESyNDzAlwG6 82TISyO6YZlDZhEddaZH6nvNU4cUOfsyeEeUvIS8QRAbCHj6l3QE/IT9whGHYMVsnDw2 sZhPLKOX+WdErmFiLuniWQnuihb8PXunWG/SfeEkthRQ/NPalIQ3Xis8Hvif86jktshh bxfPNzbphUltWk5BtZJolXYjdwTpqWYD6k5SK67b9hbxI199hg1Hi6Ury/MGRDY2kh9y FQMg== X-Forwarded-Encrypted: i=1; AJvYcCV6Y0rpCHv6YRpxtDbhucR3ola5jAlPHdYViZN4mOJh4x0i4qRGKyzv9leLAW4EWOapMtew49EBvlLb/2unr/RW@lists.infradead.org X-Gm-Message-State: AOJu0Yz8X/wV21v1gzTyLfVM30t82j4v4GOsyVUw+HljsLjVJdKPztzm JSXJ1JUbOSYLImiHBIHD/rb+G5BDxiri5CCfp4V3FwwoUpwElaX0NUzBe7fnBw== X-Google-Smtp-Source: AGHT+IHc8yX+S1ZXZeTcmQ5A8u1mvv0IrBsqppyFA35CEi2Tk/eV8DOVds8sW0bRplyZMtz6Ke6u7g== X-Received: by 2002:a05:6870:eca7:b0:277:e94b:779c with SMTP id 586e51a60fabf-27810b95fe3mr3301878fac.19.1725355997608; Tue, 03 Sep 2024 02:33:17 -0700 (PDT) Received: from [172.22.57.189] ([117.250.76.240]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-715e56d72d1sm8365868b3a.170.2024.09.03.02.33.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2024 02:33:17 -0700 (PDT) From: Ayush Singh Date: Tue, 03 Sep 2024 15:02:19 +0530 Subject: [PATCH v4 2/3] arm64: dts: ti: k3-am625-beagleplay: Add bootloader-backdoor-gpios to cc1352p7 MIME-Version: 1.0 Message-Id: <20240903-beagleplay_fw_upgrade-v4-2-526fc62204a7@beagleboard.org> References: <20240903-beagleplay_fw_upgrade-v4-0-526fc62204a7@beagleboard.org> In-Reply-To: <20240903-beagleplay_fw_upgrade-v4-0-526fc62204a7@beagleboard.org> To: d-gole@ti.com, lorforlinux@beagleboard.org, 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.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=889; i=ayush@beagleboard.org; h=from:subject:message-id; bh=9dsYNp252XCXLeZVdDf5E51difa2bgrBMStutB0fu1Q=; b=owEBbQKS/ZANAwAIAQXO9ceJ5Vp0AcsmYgBm1tfEpliavJH9xYgy4XhOMi5G/rvxrKEVED4yY F8oY208HKmJAjMEAAEIAB0WIQTfzBMe8k8tZW+lBNYFzvXHieVadAUCZtbXxAAKCRAFzvXHieVa dFhAEACg46eymI+09SiSpRzRfg6b+SpXlknETkWrd/3opSTGuqU6gc8JKgGLfTA0DtVbDUwdJ6S eVdFWFdn/1co7872USRxL52+ATPTj6BPWlpvqMUvc2AcCC1cr/INciz0hIMueGsnQRtxdKWhRMH OhkrNEHey6kHn8fF14oUhknD8ynVMe7/81uJ767biwnU2muuLDZIyW51oVQxl3ocwIPGIXB/Cl0 rgqb2ERaN5P03slQAYquN/Jvw5xgB5H9iZ8iA+JKU/Y7DcG+qBZ9YAP3990aA/7G4dFWQmVeYeZ X4mjM2BhMm1HrIJ+3wPaXPaMP7AlJXjpMCanj3P0B8dOrrdBJvWo6x0J+E2lWzhFyq6du2KF+JC LySq4rFgP918WAH1SUC+QaWXbeBbTMS2fop8jw5hx7wmHBSlyKl3sq7iYUkruTMnN6k2+615kl+ kB8hoLCyHHvP8zlUI9FZxVt7dG1WpKIrP2/BGwuoTpLEjQlTV2eu4vTj+J4luZjYrhnADda6xnX G0TkUOUI/zhh4fxpGNjWJcHZQngTFcL38gmdHvT4ielcGZqlOBrcTLaLmHSL2ZymGNKWi+M0m3L /nYZ2dWcvAcvuTLuw7L+GUzMdnfRaf5QIS3w8Y2XQY5pq3hapEjBbq8FkDMReUKP9ZBYAKJph42 emwpHqgEqQnwt6g== 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-20240903_023318_810802_7DEB549D X-CRM114-Status: GOOD ( 11.97 ) 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 bootloader-backdoor-gpios which is required for enabling bootloader backdoor for flashing firmware to cc1352p7. Also fix the incorrect reset-gpio. Signed-off-by: Ayush Singh Reviewed-by: Dhruva Gole --- 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..a1cd47d7f5e3 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>; + bootloader-backdoor-gpios = <&main_gpio0 13 GPIO_ACTIVE_HIGH>; + reset-gpios = <&main_gpio0 14 GPIO_ACTIVE_HIGH>; vdds-supply = <&vdd_3v3>; }; };