Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp810490ybh; Mon, 13 Jul 2020 01:35:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVChVfvt4dPqxQUDwFmFwXC93Dzk5wCZGX6i1JZjNEVFEcu9UwslEJuq0dd4ZmUJ7F1BDr X-Received: by 2002:a17:906:7283:: with SMTP id b3mr75524713ejl.163.1594629352056; Mon, 13 Jul 2020 01:35:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594629352; cv=none; d=google.com; s=arc-20160816; b=PeKooLWKfmziy4N2KPmjyuh+IgZ5XL76Vyawem4kgYOBZrgE32T6BG9tlx/9O1j9fx JzzxzsvGKNjUDMUnNC1691uDKpMa/oj4aXdkfD0N0+AIq6EtGv1GIMeBMKc1jEKeNe9h OXzxawcZC8pK+G4S+SO/14O7P0LRkgRVQQP0lJ7328x4JNCUnBZcJYj+goWH4GhxRu2n rW6XL0Ax8TtdqM8QiDWeQOUZAVJZ6CI1B5dk1w0HbdOshIjMOPfavaGMVBiyWW9IE6Sv hsC2Mg9HbMYEuPyKbFQnAPx5r/wUxYtRg27awxj3ciuYmmcd7Yq2ws3GkmkIv2MyamA+ bsoA== 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=PGOv4wc+G0S1+Y4zOc+ZdOv0XFKXPVkvNsaf8kQks2NsAhbC+olrN0j+nahtzL1lC0 YZCUNeS1ftza1bbGEgsO6/kO8yvMPNedOycpPuVia/EbiYpTsrDCnVSdcdZIZ/XSJbC6 9v2xF6xBnMZgs05r+nCcJfCf2d9aW0pONzAPZqYM2X2idq+Yl8wbA3f1Vk6KP1PeUQbI Kb6SKHG7MJ0MJhT7446hjXu9mHbWKZlvg7RY3raFGBr2xq8sStplpEJd1XuEMis6ITsm x61z9bpN2lb52LWRPqLpOsr9IdVZERcjEQ/QTnU6ZQg8z6W9xkwssamUdUW7sxP0DFqe tMrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Qjk6AkBX; 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 lc15si8592221ejb.526.2020.07.13.01.35.28; Mon, 13 Jul 2020 01:35:52 -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=Qjk6AkBX; 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 S1726725AbgGMIe4 (ORCPT + 99 others); Mon, 13 Jul 2020 04:34:56 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:49330 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727834AbgGMIe4 (ORCPT ); Mon, 13 Jul 2020 04:34:56 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 06D8YmAB018216; Mon, 13 Jul 2020 03:34:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1594629288; bh=QIE8W5C9WJO1iDG5yGQm6hrr3BHDjz2EK02CvJCDYDw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Qjk6AkBXzS4uMM3RTJ0I1VxJgRW3DyYCgbjg9kRCdkjcWGjauTJ4eDw5zPn8EOk7b oBQQVZn1MawWIMsHJjrZPP95Lr8E3g3d6Vgp+0UgYJz4q4ameNgqxso2H9GxCEhl6M oEY5Oii7VkK3177R3hRnWPB0hBQWHSGFBaf1pwP0= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 06D8YmjJ023177 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 13 Jul 2020 03:34:48 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE100.ent.ti.com (10.64.6.21) 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:48 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE102.ent.ti.com (10.64.6.23) 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:48 -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 06D8YYi9032127; Mon, 13 Jul 2020 03:34:47 -0500 From: Tero Kristo To: , , CC: , Subject: [PATCHv6 7/7] arm64: dts: ti: k3-j721e-main: Add crypto accelerator node Date: Mon, 13 Jul 2020 11:34:27 +0300 Message-ID: <20200713083427.30117-8-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 Content-Type: text/plain 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(+) 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 */ -- 2.17.1 -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki