From patchwork Tue Jun 18 12:41:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamlesh Gurudasani X-Patchwork-Id: 13702193 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 BB8E4C27C4F for ; Tue, 18 Jun 2024 12:41: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: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:In-Reply-To:References:List-Owner; bh=dLDjoDfQuPoFFBdhtf2P+bCl26B8J4TnpGDN58KjHMc=; b=EsiYpqpV63bhRdpagjdbnnQIR9 MoK+EM0Q/U7BVTldvgdrx6RF18n40mlAuZFjQ9aRJ5zlZy/kphaSldg2tkTXDpFraUdC8aN56zsvC WrJBwhVBHOIbEkIuVag4lhlGpT9WvQO+YMDm3rUlruZCuHuebjFfYVJkpfXOd7s1eF604jGA1JwP5 133EEhm56sbW9Y0EjB6xAqZ5tWo/5SdPZP42MktSkB3apARFsj2lsBd0XUOiZGejcDguby5ba6RpD Xoe7urQBh9KyqQmdg/Ivx6xXVqkz1QBMn1FME/4FXa+e+ZO6Fj2ApkXzYx9kvvcGOZk+Dfq12GsTR 1JuRplUw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJY9Y-0000000EvRU-34BP; Tue, 18 Jun 2024 12:41:36 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJY9U-0000000EvQD-0MfV for linux-arm-kernel@lists.infradead.org; Tue, 18 Jun 2024 12:41:36 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 45ICfPL6091833; Tue, 18 Jun 2024 07:41:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1718714485; bh=dLDjoDfQuPoFFBdhtf2P+bCl26B8J4TnpGDN58KjHMc=; h=From:Date:Subject:To:CC; b=TZ/DpiescYp6w0AJXNX962/j+DW5xpX7X/meXBHxOk+lejXCLKRQKRdVzoHrCRGYs KARfQ89jpFTtSsXL+gYqWhzZ9MB4ZTs8SHInlselLkZo5w1dwUoPnJxUiTMMy9LN/n EvY/VuISj7vRhk1Atyc+ov5M1IuwopuAtXIUlBSE= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 45ICfP8w122490 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 18 Jun 2024 07:41:25 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 18 Jun 2024 07:41:25 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE110.ent.ti.com (157.170.170.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 18 Jun 2024 07:41:25 -0500 Received: from localhost (kamlesh.dhcp.ti.com [172.24.227.123]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 45ICfORZ024773; Tue, 18 Jun 2024 07:41:25 -0500 From: Kamlesh Gurudasani Date: Tue, 18 Jun 2024 18:11:13 +0530 Subject: [PATCH v2] arm64: dts: ti: k3-am62a-main: Enable crypto accelerator MIME-Version: 1.0 Message-ID: <20240617-crytpo-am62a-v2-1-dc7a14f2635b@ti.com> X-B4-Tracking: v=1; b=H4sIAGiAcWYC/3WNQQ6CMBBFr0Jm7RhaSRtdeQ/DYtqO0gWUTBsiI dzdwt7l+z8vb4PMEjnDo9lAeIk5pqmCvjTgB5o+jDFUBt3qrjXKope1zAlpNJrQOeOsMt3Newt VcZQZndDkh0MaKReW45iF3/F7dl595SHmkmQ9s4s61j+FRaHCEGrlThyscs8Srz6N0O/7/gN8N ocBvgAAAA== To: Nishanth Menon , Vignesh Raghavendra CC: Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , , Jayesh Choudhary , Kamlesh Gurudasani X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1718714484; l=1244; i=kamlesh@ti.com; s=20230614; h=from:subject:message-id; bh=cFiJw4HI0EqviMG50wxBbVTKnh+MB/rEBCj4norM1lA=; b=FPqxIN1a/zrvHkDny25Js7SwPqlxR1Votkn+cRZvP20kKM1UEDJCBD+xowlp+zVadHI/CUP4Q 75IjW9SJ5RrDz8Z1jwZZC2mni2w6P7d+cLg8pOFn89XSmH0CyTS9ShX X-Developer-Key: i=kamlesh@ti.com; a=ed25519; pk=db9XKPVWDGJVqj2jDqgnPQd6uQf3GZ3oaQa4bq1odGo= X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240618_054134_444285_F5B1A2AF X-CRM114-Status: UNSURE ( 9.49 ) X-CRM114-Notice: Please train this message. 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 the node for sa3ul crypto accelerator. Signed-off-by: Jayesh Choudhary Signed-off-by: Kamlesh Gurudasani --- Changes in v2: - Removed unwanted properties as per Krzysztof's comments. - Link to v1: https://lore.kernel.org/r/20240617-crytpo-am62a-v1-1-ddb719aed71b@ti.com --- arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) --- base-commit: 6906a84c482f098d31486df8dc98cead21cce2d0 change-id: 20240617-crytpo-am62a-bb6b71643cc7 Best regards, diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi index ce4a2f105630..08b3aea1d30f 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi @@ -216,6 +216,14 @@ k3_reset: reset-controller { }; }; + crypto: crypto@40900000 { + compatible = "ti,am62-sa3ul"; + reg = <0x00 0x40900000 0x00 0x1200>; + dmas = <&main_pktdma 0xf501 0>, <&main_pktdma 0x7506 0>, + <&main_pktdma 0x7507 0>; + dma-names = "tx", "rx1", "rx2"; + }; + secure_proxy_sa3: mailbox@43600000 { compatible = "ti,am654-secure-proxy"; #mbox-cells = <1>;