From patchwork Mon Jul 13 08:34:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 235373 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2637304ilg; Mon, 13 Jul 2020 01:34:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhPUFOaRFU+YSvrMokyZWohIKJ1oDobA8IbvzrmU8AC7M8xKIu0/r+GHPHaP8BErIZoLqs X-Received: by 2002:a17:906:2851:: with SMTP id s17mr75152190ejc.347.1594629297397; Mon, 13 Jul 2020 01:34:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594629297; cv=none; d=google.com; s=arc-20160816; b=K+s/hmRC5P8Pb1TzA3kjA5DEWewgH4lcIipEJFOLJ1e9FnFkh+D1bd00zIO7U2gWHk AxW1QPzmCm+2PIniKbkN8+0IEJTh48F6RjiYYs2VOcNuHPmQruJ4Pmc6cClXT8a0vJq9 nXvKHFM7nhU88KcRdKN8RjqZ5DKwkj6MvcsXSvJK8VDZyk0Awa4pQNd/ZVT0LSXXm2NS HkSZr1aJDupmYt4w3mWmKrNSpCt72kpblP5R9iuSkkX/ewo1rX467wwuLGUczvrkc6f6 AqLJ8yKW5S2Y2XmLKYB8WOlc/1/gmSPRyzbPxeonDkl0hUbz3dkl0ViZeM3XMklQSCyT ZCBg== 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 v12si8052682ejc.292.2020.07.13.01.34.57; Mon, 13 Jul 2020 01:34:57 -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 + 1 other); 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 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 */