From patchwork Wed Jul 1 08:05:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 192123 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp258225ilg; Wed, 1 Jul 2020 01:06:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzISfB9f/TI/iUa5Lz7f3PwZDWNaJtH9vWPtJqLthURHELz3xPaU8KCf1na0pUX/cA0X6Hf X-Received: by 2002:a17:906:1f52:: with SMTP id d18mr10138618ejk.84.1593590799245; 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=BoB83UFuhD2FSDHI98TsIerZSkiroKsQIc5Rvg0a9SdUu8RubVLzSQ15wI+Zlqhyu+ pN8tm74Ac9eQQGcBu+M2nWMZMvF2ofI1w0vd7b1E7q+0wVhpdvNr/IeNlqHgVJKBese/ hJEqTzzWmOhfQqwR/Gmd/lL9Q4UohfY3YbtseOLxhHeYzUBBa0JQ4BU6NdW5HtT6mE+T RwMLAN98WqgaHFvg7RJcc4A/OIHgtddw+fYbJPf5+yW7Rg5eyU7WugGYToJ1SFm+76tB 89WaPeunzLxofe3wGCCyWB6qpSA5n4+4YPaPKt5oYXLngkhVKbc0FUm4C0HjIdJGM55z nAyA== 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=urWL+xGplHTB4efaGJSK4KzijW6kDqyDz5lf+3XyQyg=; b=vIw6Ug1IFpHnFZWfyHtq6Zoeaiy/HgCdah8qSuZy4wk35IrCrccC4p3903EfQ8yzsL 4pzH6zyLWIL2FTWxyZ6qqLbmSD5zA6DT4O7qwN6pr5/M4NeGgsghaPvD0oArU7htg20H 5lh7/j5/pdYU3y4/MOiKakRfXjzYMJ6IYr7zGts684xsnqcKwbXhxzLVgFMEHOQFLRi2 z3/DjHbvvNK6B7fCGFpygxKynVE9VureteFuwqA3IpUihoefSXnSwYIniOyOFkd+QpsO RNk9S/0Y1DurQCS9tDznPRANey2rZ1gl+plgJYfFR4ZDDdzkEkJ9Hlxj1LUAYCPAsQ0J f+qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="Sn78cx/4"; 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="Sn78cx/4"; 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 S1728481AbgGAIGe (ORCPT + 1 other); Wed, 1 Jul 2020 04:06:34 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:44274 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728812AbgGAIGP (ORCPT ); Wed, 1 Jul 2020 04:06:15 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 06186AjD081356; Wed, 1 Jul 2020 03:06:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1593590770; bh=urWL+xGplHTB4efaGJSK4KzijW6kDqyDz5lf+3XyQyg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Sn78cx/4JlqOurI8S9/afkSISt9sgKo2Am4h0Z890GpM9JvXVW8jKfPs46ywAIHet WpVsfhtRTkUqR4ploWaIXxpykdUr11X3rMmrQCCrBSA1HZXFppXZVaPuXqoZtOoNmp 09ZgER0U9ACfHcBoNdQwEuu4Ymd1SVSe989BCKzY= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 06186AVR003591 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 1 Jul 2020 03:06:10 -0500 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE102.ent.ti.com (157.170.170.32) 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:10 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE113.ent.ti.com (157.170.170.24) 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:10 -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 06185wUi078048; Wed, 1 Jul 2020 03:06:09 -0500 From: Tero Kristo To: , , CC: Subject: [PATCHv5 6/7] arm64: dts: ti: k3-am6: Add crypto accelarator node Date: Wed, 1 Jul 2020 11:05:52 +0300 Message-ID: <20200701080553.22604-7-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-am65-main.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 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-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi index 61815228e230..4615f2009a35 100644 --- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi @@ -112,6 +112,28 @@ power-domains = <&k3_pds 148 TI_SCI_PD_EXCLUSIVE>; }; + crypto: crypto@4E00000 { + compatible = "ti,am654-sa2ul"; + reg = <0x0 0x4E00000 0x0 0x1200>; + power-domains = <&k3_pds 136 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 136 1>; + }; + }; + main_pmx0: pinmux@11c000 { compatible = "pinctrl-single"; reg = <0x0 0x11c000 0x0 0x2e4>;