From patchwork Wed Jul 1 08:05:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 192124 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp258228ilg; Wed, 1 Jul 2020 01:06:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1w44srNP3vwKTabQL+Q5nAS4BufqcHkrYxnBOpljtYWvBwH0UOnVGthOm4X6DHGlNHmHp X-Received: by 2002:a05:6402:888:: with SMTP id e8mr28467863edy.210.1593590799625; Wed, 01 Jul 2020 01:06:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593590799; cv=none; d=google.com; s=arc-20160816; b=O9MMoaTpeFSmUcwULPpOt9J8kWFJxu9DC/KVAtmLxzxP7DjvxIMqIFGkb7rKVQQkWY lqukX+KRgXXxEhVCTT1u742UIGDBxbg5zsmKZloQDg+q70mHiCss2lS4c9fox96s/TmB TXaZQCFvO0Y8AAHGPX+m+qdBMyxFa8Dzdk8MepuxlzMdEBvr4j+Ybw8EnlzuiLzm+C34 V/oMu1xuHeIlWbA8c7SGokYlD/+kmHjcRXJD5+mQ2HWZHCFxNXXVRJD+C+ilc0Pc/Rap ol09tdvzZz42aCsGl2tlljh5FnPcj/d+4YMA29Ntt0+kvwGA88iAAcmnf58582zwjoci A45A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=QIE8W5C9WJO1iDG5yGQm6hrr3BHDjz2EK02CvJCDYDw=; b=xnu8GaFtPJwwfekeL/a2zjYos2VW7F5gvf46vnpi3CgM25RnUJt+VvpqJsw4R8aFia 1Y9xm5FrRncLdN3t7oHb2HSOEPWr7oMZuqKj80MLrr7g0TYS58aY6xaoG1E0KN1A7irC h+w2UlSisLObpxecOn9JVPxMsM0raVIowg/wtZXNkBVjjzvaRleBxffDD8iA9/Fit3z3 bWfnN2NEZrJiK/S2eI1cDxMK/gaZjUiY0Uok9/6NFzumdVN1i8mlVphIKys4v/1kd8ZK TyOd3AYdoaGByU+b/qi4a3NYfb9dLhKjF0s7xtpJpek9nbZUeH5ziv2cYJx49R57oHbw EPWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=vuLZHL9U; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ci27si706357ejc.199.2020.07.01.01.06.39; Wed, 01 Jul 2020 01:06:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=vuLZHL9U; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-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 S1728479AbgGAIGe (ORCPT + 1 other); Wed, 1 Jul 2020 04:06:34 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:44276 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728825AbgGAIGQ (ORCPT ); Wed, 1 Jul 2020 04:06:16 -0400 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 06186CKv081361; Wed, 1 Jul 2020 03:06:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1593590772; bh=QIE8W5C9WJO1iDG5yGQm6hrr3BHDjz2EK02CvJCDYDw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=vuLZHL9UNr2Bm0/ayadTFLi3MzddxJcDIDwxthSeWqfuexCJROqMccmaj7UfRAKFj QpZ7BQFL228r9uHr7e5v1/TZCo7rT7tpmP2JP9QV+yCMRumFU8djl0RDKeWq6aVq6U /WoA3XCVTofzMXs3OvyukYNdhTAGpSsNwYejmiFI= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id 06186CI9103537; Wed, 1 Jul 2020 03:06:12 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Wed, 1 Jul 2020 03:06:11 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Wed, 1 Jul 2020 03:06:12 -0500 Received: from sokoban.bb.dnainternet.fi (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 06185wUj078048; Wed, 1 Jul 2020 03:06:10 -0500 From: Tero Kristo To: , , CC: Subject: [PATCHv5 7/7] arm64: dts: ti: k3-j721e-main: Add crypto accelerator node Date: Wed, 1 Jul 2020 11:05:53 +0300 Message-ID: <20200701080553.22604-8-t-kristo@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200701080553.22604-1-t-kristo@ti.com> References: <20200701080553.22604-1-t-kristo@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Keerthy Add crypto accelarator node for supporting hardware crypto algorithms, including SHA1, SHA256, SHA512, AES, 3DES, and AEAD suites. Signed-off-by: Keerthy [t-kristo@ti.com: Modifications based on introduction of yaml binding] Signed-off-by: Tero Kristo --- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) -- 2.17.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi index 96c929da639d..df640680e564 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi @@ -268,6 +268,29 @@ }; }; + main_crypto: crypto@4E00000 { + compatible = "ti,j721e-sa2ul"; + reg = <0x0 0x4E00000 0x0 0x1200>; + power-domains = <&k3_pds 264 TI_SCI_PD_EXCLUSIVE>; + #address-cells = <2>; + #size-cells = <2>; + ranges = <0x0 0x04E00000 0x00 0x04E00000 0x0 0x30000>; + + status = "okay"; + + dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>, + <&main_udmap 0x4001>; + dma-names = "tx", "rx1", "rx2"; + dma-coherent; + + rng: rng@4e10000 { + compatible = "inside-secure,safexcel-eip76"; + reg = <0x0 0x4e10000 0x0 0x7d>; + interrupts = ; + clocks = <&k3_clks 264 1>; + }; + }; + main_pmx0: pinmux@11c000 { compatible = "pinctrl-single"; /* Proxy 0 addressing */