From patchwork Wed Jul 31 18:51:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ayush Singh X-Patchwork-Id: 13749059 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 2782CC3DA64 for ; Wed, 31 Jul 2024 18:54:51 +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=8Q/3E3b2eo/TFXOq6VQUHvlRBXDZ59E7fsnrItLmpMw=; b=X4DbCi3bl3gCgiOeVKm2POE0+h p/iCLnQ2a86UOTvQwF/a30+LBbf3YQz/vNYJGMfT45OW84hmFQ98VpikqTUMAaCnZC2mMXdjeFtdG HxDxlKTWYBzgSlZgyTOTvFE/0cQkserpaOvm+pwy4OZVAdp/4MC4u3L55UcbWoZkQoXW0c863ea+b YTKUg0DvHm9AhlZ0Ls3vhKIgNmMU0BMfFD65Tvpmmho9du/oibj/iJxEIFlGK1YK88Ak9gSHhVMeC 1telQJBBeNcO7nSKFTpXlliPhbQC/epmBvpjEaguuGtKzgFaF27odVoCMSU2HM1mHm2v1JCuULHi3 4eQmtGfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZETA-00000002BLW-068E; Wed, 31 Jul 2024 18:54:40 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZERu-00000002Avu-3tkv for linux-arm-kernel@lists.infradead.org; Wed, 31 Jul 2024 18:53:25 +0000 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1fd8faa28fdso2426685ad.0 for ; Wed, 31 Jul 2024 11:53:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beagleboard-org.20230601.gappssmtp.com; s=20230601; t=1722452001; x=1723056801; 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=8Q/3E3b2eo/TFXOq6VQUHvlRBXDZ59E7fsnrItLmpMw=; b=YI7JgixGncS0jemCSl7trBUSEB+BOdQJQL6JmakAI4gT1YDe+YAW9FfJWc5ENWs1rL 6ixRy2bE/jSwlflZtFoMgyRM5H75Djpd3mISqwNemzA0lFiTro4/qkY/yxtE5kOm3kNw P8mlOWleOi9VDT54Lia7CSA1S1bry+7zHIbHATL3mf59IvNv7yV4l0sasXtJfyiScnz8 qwZipVIwFQpjx3fipUPAPNhLnqEYSkv4YejFnnK/YfB+9yTtwH56uaKnvnuC1ZvPEonc 48aDkWBSuBkW44NAQMbXp6B/QhyHpM76x7ifbDKppC6RMpvnvOfwlrdOWfZbCloMksGM 4nFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722452001; x=1723056801; 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=8Q/3E3b2eo/TFXOq6VQUHvlRBXDZ59E7fsnrItLmpMw=; b=QrH2o4DPJIwQrt81dfHwlfKcMWRwZ+IZoiY7QEEGS7aE1R4bbmNSXFMauXelKUwHrv 06qjiqeRq5sJw5FKSb1/7DGoo9KkJs1H07NkovkRra4PK6Z0kNvCjAsSpWW95QsvAVdR f+Q2FjU/WN+3mks4fjxS0QhG8RpRX8lhwHUs6AwhgoqDyrEWwf6xwpxYuoFhuWco68fu xeU9u8OFvzgaQfUggspBlxwzZVK4eBVsUMHPEntUcw94COP6LvtJcEpdxmHq78VPlN4c JI6RMnNWZ8u2oW1tBVsQWWsAY8AeOCRlecbaeF1zPY2LlnZNaFGuFhutBbdgC3hJmOQT XF6w== X-Forwarded-Encrypted: i=1; AJvYcCUTbFY/on6Y0x1/oSk4NBm8q6PaJywXQhWZ9PB2BgZ9gJneOV0CYw6gwaF1fTkxHPdn5nrn1j54lpK3J3tgzN1l@lists.infradead.org X-Gm-Message-State: AOJu0YwOFAiC/bvPmhNfmKuKmgZ8f2G+bEu1IdExsyGHxPc0NTH3dXJa gquy1lhpCzCiyymTZDI79K5LdzbpIBCniZboqmY8Yvcq48g/117yPLtfcn8ASQ== X-Google-Smtp-Source: AGHT+IF9e5nH0+houYf35o7HSbuUJwbUbuVuAZal2IMrlR7X8KHx7hsAAxE0bVJaQ0L7OkSUFPL55w== X-Received: by 2002:a17:902:fa84:b0:1f7:1a37:d0b5 with SMTP id d9443c01a7336-1ff4d0f0395mr1556395ad.4.1722452001387; Wed, 31 Jul 2024 11:53:21 -0700 (PDT) Received: from [172.16.118.4] ([103.15.228.94]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fed7ff3d64sm123182825ad.299.2024.07.31.11.53.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jul 2024 11:53:21 -0700 (PDT) From: Ayush Singh Date: Thu, 01 Aug 2024 00:21:06 +0530 Subject: [PATCH v2 2/3] arm64: dts: ti: k3-am625-beagleplay: Add bootloader-backdoor-gpios to cc1352p7 MIME-Version: 1.0 Message-Id: <20240801-beagleplay_fw_upgrade-v2-2-e36928b792db@beagleboard.org> References: <20240801-beagleplay_fw_upgrade-v2-0-e36928b792db@beagleboard.org> In-Reply-To: <20240801-beagleplay_fw_upgrade-v2-0-e36928b792db@beagleboard.org> To: 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.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=889; i=ayush@beagleboard.org; h=from:subject:message-id; bh=kPfCx03ybr3MIpJmR8pHHfQuNtULEfQX762YDGBxnKs=; b=owEBbQKS/ZANAwAIAQXO9ceJ5Vp0AcsmYgBmqogQIw+1kSBa5l0LPqEzMyulYyOyGwpLiDqAl +XMMMoQrviJAjMEAAEIAB0WIQTfzBMe8k8tZW+lBNYFzvXHieVadAUCZqqIEAAKCRAFzvXHieVa dGsLEACnI9KpgROhjrZozoczEI/u+dRf5uh/LYSnTLW2PsdGjwsBfhmhQMq66oWyjLzpHwix1Fm 0F6PQev4zZVxoCKwaPMSxVaQG5eXCqM6CQL9saBrCgxR7Loh1EdSKuvwh2LXqOsIoBzhSgbe+Rq FYcxHFNfTel8mwZIMXKlL2KFWKyW16GzrCWdIQGJjc11ZgLI7Bj3OcnnjsnuFwBoXm5keHYI7+2 GB4/dHSbxr9NwzmYea3rnVUWKk1J32XaGvuCfVWgL65a5T638EIYLg/0dUZ8DhuJkWdVJizaWOU tHFKvYmmC6LWOwRwHeKnDlpelKyMb9rfzcXXRSAh4oRW41LdXX2/eIEnaACTN0d8XOII6hztQdE 1BtyqUdBF64RcCNae6VHtrEsq+11n5oClFLBQfeFPrJUGy8H0ORrROp2rZtZpOUFy+emJ6irmi8 CvUv9Z0mFVM6/LkNQYZ5dMbhJ/awOn0R7B9paKmAj1FZ/FMlXREUv9RjncR/e5o9PNZMN8uh/xF xCVOQJOj0zExhhMB7+sQ+j/6vW25brLoN5+/bzG/v9ICNe5xgCjUS03udutATd17Y39cNdse9fQ 4y6c3Sr6EzVe2Dg0fyaqQxNgN8p3BuWpUicmgbeArXp5ZbrNU7lEK3UZ7CdUlM73oQA5QXdSxRM dpFIs3qKAAPNskw== 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-20240731_115323_138315_613D4173 X-CRM114-Status: GOOD ( 11.48 ) 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 --- 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>; }; };