From patchwork Mon Jul 13 08:34:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 235371 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2637292ilg; Mon, 13 Jul 2020 01:34:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOuMHU67EgnXw5hZpcKlQkaUia3zfttfvSgxm+RYJVJFCO73ziE2EeFnN+l3vkTOxbTWA1 X-Received: by 2002:a17:907:a92:: with SMTP id by18mr76404742ejc.116.1594629296643; Mon, 13 Jul 2020 01:34:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594629296; cv=none; d=google.com; s=arc-20160816; b=ZT/liVq9+9c+4ahGMEaCBF/6nNVoZMLLgefhJP6PRBFWDP3bkTsyH0nPX2RpwWV+4N 2L4ThJIH+ZiGdim/IpqHrHjNI8dvDliMPftVbEF7Ta39fRp1ElIjHwhpbwyjGicP0NGq ZZccUxRXBeYVZ/b3u+CPaQRk/bk0W7bUW72FtDfpZe9u6AyjXZLJ+2Zyfvkho4yyv19m FJDYzfWDQbmNcTJVhBWKNkt5/H83RVikbGMfj68Gm8sldBs5EeCLp3wwPps14vemDr0n x/65GkyVtyk6QCMEnG8oFb3rYeOKJ2/CqZ9EqTotbMDJbTLo7lnjEEbjcaIWVKzVTNcm izPg== 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=eZGfvhd3PdKMvbdbtXifj0gBUuFnfzU7KaCq28YO3Ptlldy0fp2jQP/9ynUlLyTqxi jmAF8ce9FfK99ygVKHkn9mgHKzijn8btuTJ9q4eRL3xIt6akf+EdyNdqqG+lIIid2JEz zkIdBzzvP9g84DpvhlB7rnzU8t1M/xsEFfQ8WlMypmxjUNaVAtnJ8g5M4s532G0MVFir C53tuzKMmldyUq/q0Rujyw/+m2rpYvSya/5DMRmJv67TRx4XWBLDdjLixu4fyYo/UI4Y OhinQ88GSkwGEBnbuwEpNVBYvMQ0wjKnsCgqaudvaqjtNKKLEzI3MEK+x3QWyaXU1jQT dpfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Sgl1vUj9; 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 v12si8052682ejc.292.2020.07.13.01.34.56; Mon, 13 Jul 2020 01:34:56 -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=Sgl1vUj9; 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 S1727890AbgGMIe4 (ORCPT + 1 other); Mon, 13 Jul 2020 04:34:56 -0400 Received: from lelv0142.ext.ti.com ([198.47.23.249]:57454 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726360AbgGMIez (ORCPT ); Mon, 13 Jul 2020 04:34:55 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 06D8YlDd033399; Mon, 13 Jul 2020 03:34:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1594629287; bh=urWL+xGplHTB4efaGJSK4KzijW6kDqyDz5lf+3XyQyg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Sgl1vUj9dfK0UTvbeNbj2klBGadtFo2XmobLxmz68IYmSSlSTy1SUujeMe1+u67rN Eh6Pp/CsYFwAknzRaXPEzTxPFALcn5t4izCkOXqyVKdHawfWX2iC/J1x2zi7dYs2rF 0ba36HyJKvBU2xNTPbOqyPc9Kyeahf0VwWsHx1AM= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 06D8YlBW040833 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 13 Jul 2020 03:34:47 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 13 Jul 2020 03:34:46 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE106.ent.ti.com (157.170.170.36) 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; Mon, 13 Jul 2020 03:34:46 -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 06D8YYi8032127; Mon, 13 Jul 2020 03:34:45 -0500 From: Tero Kristo To: , , CC: , Subject: [PATCHv6 6/7] arm64: dts: ti: k3-am6: Add crypto accelarator node Date: Mon, 13 Jul 2020 11:34:26 +0300 Message-ID: <20200713083427.30117-7-t-kristo@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200713083427.30117-1-t-kristo@ti.com> References: <20200713083427.30117-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>;