From patchwork Fri Jul 8 11:27:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jayesh Choudhary X-Patchwork-Id: 12911039 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 90E62C433EF for ; Fri, 8 Jul 2022 11:29:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lOJu8247CKoIuJrkE5NYbXuaZ2gjlb3gikbfNhKDBds=; b=HXWlweJ9dZwDFt EFN3+5ipxKQpUkLjQAQ8zvd3FrhFEZBDhwP7rYzcZYUHIQcrRdsHnDcXDhFF1I9NzYQwHGxLJoQLW fZ/l/cgt6JnjCoNy6XHliszjcclTXz6cJNnEAg86v5weuQQIp5iFDl15Y5XY2qjmjjXd1yZVnNezV a9hKEQkR3WG3huPERCNsjkigTzY90B1U/QLQwSm8Fmeu5fVWHSZht/vq2PaoTGLLO2bxotdGOSBCe eDMUCsRx5RsvthQlR8UzWtoCiAByCEow0g7BiR5xPH7bOQSd0Q3QatT3A1wuWGMkId/8kUpuEHvct IJYkqYEW8QeMoMzWDaew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9m9q-003Oqh-A2; Fri, 08 Jul 2022 11:28:26 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o9m9Y-003Oh7-4d for linux-arm-kernel@lists.infradead.org; Fri, 08 Jul 2022 11:28:09 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 268BRxcj068525; Fri, 8 Jul 2022 06:27:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1657279679; bh=+cjIkzcAUeJCDXeJLK7xoOIL/3yaylxgHyw3XoY/wLc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=WVJGkWvCQJ08+etbIb0l8fFpCpwaZVCTTmi7k3HwV5T3wvf3YOOfyZ+uEBi37/Qxg LRjOu8AC44ZQNr2hvtFuGf6BxkP2tDVYqnMivgko0hM1MXNztOCmS8k36FsNXb6mRB OCHKDEPm9vvyXrNd1IhU1zSwsT+NLYoW9jO1V9y8= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 268BRxvG029618 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 8 Jul 2022 06:27:59 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) 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.2308.14; Fri, 8 Jul 2022 06:27:59 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Fri, 8 Jul 2022 06:27:59 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 268BRw71091358; Fri, 8 Jul 2022 06:27:59 -0500 From: Jayesh Choudhary To: , , CC: , , , , , Subject: [PATCH 2/2] arm64: dts: ti: k3-am64-main: Enable crypto accelerator Date: Fri, 8 Jul 2022 16:57:55 +0530 Message-ID: <20220708112755.105642-3-j-choudhary@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220708112755.105642-1-j-choudhary@ti.com> References: <20220708112755.105642-1-j-choudhary@ti.com> MIME-Version: 1.0 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-20220708_042808_276518_28EFE330 X-CRM114-Status: UNSURE ( 9.73 ) 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 From: Peter Ujfalusi Add the node for SA2UL. Signed-off-by: Peter Ujfalusi [s-anna@ti.com: drop label, minor cleanups] Signed-off-by: Suman Anna [j-choudhary@ti.com: drop rng-node, change flag to shared] Signed-off-by: Jayesh Choudhary --- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi index ada00575f0f2..dd2848cd0740 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -1308,4 +1308,16 @@ interrupt-names = "int0", "int1"; bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; }; + + crypto: crypto@40900000 { + compatible = "ti,am64-sa2ul"; + reg = <0x00 0x40900000 0x00 0x1200>; + power-domains = <&k3_pds 133 TI_SCI_PD_SHARED>; + #address-cells = <2>; + #size-cells = <2>; + ranges = <0x00 0x40900000 0x00 0x40900000 0x00 0x30000>; + dmas = <&main_pktdma 0xc001 0>, <&main_pktdma 0x4002 0>, + <&main_pktdma 0x4003 0>; + dma-names = "tx", "rx1", "rx2"; + }; };