Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3120167imw; Mon, 11 Jul 2022 02:10:20 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vWJkmXLLg8OhvehiTlPIPFAbHerFn+N+3tlv2t7xE1LJpP/2QwEhyewFfqk7CWBE/38PeF X-Received: by 2002:a17:906:58c8:b0:6fe:91d5:18d2 with SMTP id e8-20020a17090658c800b006fe91d518d2mr17714194ejs.190.1657530619729; Mon, 11 Jul 2022 02:10:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657530619; cv=none; d=google.com; s=arc-20160816; b=wnRqkVMHLL5sBNoUdGBxqVSwsT9x/T6dP8zFGijVtq9pbUzeFtzv0ewxtbI1LcY+LT IZaXHy5Bh7JRfI4alXDvYsamsqUwE6+W6faTXPol9lj/0rq/QfwQiZCX6FtbivbH7pVR hT4ifQ3HyV/3ceBg1LED8C9C2gH1YUVIvk/L2FoV5kJJum5jd9A1gzQRKJp8lCcpLi9R 5AyMC5YAoOJgccqHZ2ky5XX5zujjn/YORInJ1TQSIzzvFN/hi1n5YKJ43iIyRDBsHnQn Ad0gclE9Bl2y/JeFzev6vtNrmts2+VjTOsP/9ac7v6w/NOPJSk0t+JItowINd62DUnk0 uc3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=qrx1CkC1Z0I6PpMOoosSCsb0UbstgFHvsbdiRvadMZE=; b=MoXhWKBFyhllGUcDu70Sc/vQCRq3wnOLZ2tK9IExDabBq6YwZlNQvx/y7s3YsY9tEn bpU8dD1CWCM57QagvZ2JCl68kv46pg+K4JKN9RfRdH8dFAhDENqyK1ZQuE1rzlBePex0 oD/uZQ+2qE2u7e7wa5RJJ7hAjQMnH8KDTC20oQpZFoeB6k4DaHK2j+3/bEPvrNcxgOin dM/rbtAZjKNpzXx4GC6SA22K8eSals6FB2+HE/nRF+6N5oy1SXL4vy12JzD8PRv9pBA6 Z0fR93KvpV0rBx3m41GBzuh8CCwEvdOFFcIhM/cCvPNB72EtQ0aCUMnIzTk0JbuYgaIR 2s0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=LFU+OSCH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a67-20020a509ec9000000b0043669e9f43csi9727758edf.526.2022.07.11.02.09.54; Mon, 11 Jul 2022 02:10:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=LFU+OSCH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230337AbiGKI6O (ORCPT + 99 others); Mon, 11 Jul 2022 04:58:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230173AbiGKI6B (ORCPT ); Mon, 11 Jul 2022 04:58:01 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2631B1A048; Mon, 11 Jul 2022 01:58:00 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 26B8vm8o040995; Mon, 11 Jul 2022 03:57:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1657529868; bh=qrx1CkC1Z0I6PpMOoosSCsb0UbstgFHvsbdiRvadMZE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=LFU+OSCHHfqjORE69oOme70Aobn2C3feZRWiL0BfQxgAh2rmbxLkmttBjQv17+DH4 JlaXlvcsU5MObvXcOeTh/DPu7F5zzcDxdVnti78G5r9/zDAG8jnhITdi80nbgmz4N5 A4ff7Nko8ttGaXgyMXwcbe7E/eLVMGv6BAS5N4gE= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 26B8vmkU068276 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 11 Jul 2022 03:57:48 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Mon, 11 Jul 2022 03:57:48 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE104.ent.ti.com (10.64.6.25) 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; Mon, 11 Jul 2022 03:57:48 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 26B8vllX008198; Mon, 11 Jul 2022 03:57:47 -0500 From: Jayesh Choudhary To: , , CC: , , , , , Subject: [PATCH v2 2/2] arm64: dts: ti: k3-am64-main: Enable crypto accelerator Date: Mon, 11 Jul 2022 14:27:43 +0530 Message-ID: <20220711085743.10128-3-j-choudhary@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220711085743.10128-1-j-choudhary@ti.com> References: <20220711085743.10128-1-j-choudhary@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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: disable rng-node, change flag to shared] Signed-off-by: Jayesh Choudhary --- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 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..06fada0d82b1 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -1308,4 +1308,24 @@ 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"; + + rng: rng@40910000 { + compatible = "inside-secure,safexcel-eip76"; + reg = <0x00 0x40910000 0x00 0x7d>; + interrupts = ; + clocks = <&k3_clks 133 0>; + status = "disabled"; /* Used by OP-TEE */ + }; + }; }; -- 2.17.1