Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp21824767ybl; Mon, 6 Jan 2020 12:03:02 -0800 (PST) X-Google-Smtp-Source: APXvYqyFKLF28qRx5wB2DPNf0WgGQNteUQcER+y4egPhy0JIzH+j1XoU4cHq4LQQ1K15PTlUYnmm X-Received: by 2002:aca:b608:: with SMTP id g8mr6610690oif.142.1578340982877; Mon, 06 Jan 2020 12:03:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578340982; cv=none; d=google.com; s=arc-20160816; b=SbVTC/PDwwIq6IwxNQTJg3Hzxt+MsIVxDt3LFMTFo29CVWhxDcef5UAVxpVS3l86Hc i8RBeCfECPQIuqjEhx/4OglhEOIH/cBI2iVEiWxsygRQOmlXT4dnTuOvMrIqjfcvIOB5 sU0g9MNzJ4tnzu0QhoEU84+DRbgGhZHQX0grYMzRkNDNt4/qrvUiJwMrBh5guhr1Igyh ga24FcfegMDc0ylxpvKsYzIjSg1Voq5bXKFIhOBmqqCx11xZxbzLW1TMXvOdPnlm+oNV FRwTBDhjVwCQs34XsVGq+dg+7bb9n5A1fw58vQpEFXK9Qc8g/bH/msUidrLi+BBC8r8p x7aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=DfGxd/ONWr2XIbUr0R+st20pUC2tuxWKiLfqh4Oluzg=; b=WQ7fj4gNYv+QyG/x1UWlu330AY7AprjD3CYp+ucw6M6OwtVuHGr0z7/AQnOM0VOWbS BLHqiJC8ATrebKxxfC9TGrp1lyoWSnWuNpql39lbzJDm3uEpYhUCwrww6ElRDULBElLH y7jgkblRPy7uvQs+yA+8+tKJDlNpOraqtakp8z1RVJxkn2Y/7zunZmjVn7dTH4ewSN3Q TKIYAonz+vWRMVy1/aoRHo59ojbq67+UMY44HkW8ZN/HVSqNqzbsRdTDk04u3JKtF/tw pGgw1FlaEea1c9K6rjeEenrAdMt3AstMZ22dtGA0+1BrZC+jlJMUADA1XQtKPD8YIAHG 5wZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z4si31125955oix.48.2020.01.06.12.02.51; Mon, 06 Jan 2020 12:03:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726701AbgAFUCD (ORCPT + 99 others); Mon, 6 Jan 2020 15:02:03 -0500 Received: from inva020.nxp.com ([92.121.34.13]:45932 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726657AbgAFUCD (ORCPT ); Mon, 6 Jan 2020 15:02:03 -0500 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 563561A0E3F; Mon, 6 Jan 2020 21:02:01 +0100 (CET) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 469CA1A0E3C; Mon, 6 Jan 2020 21:02:01 +0100 (CET) Received: from fsr-ub1864-014.ea.freescale.net (fsr-ub1864-014.ea.freescale.net [10.171.95.219]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 89CDB203CC; Mon, 6 Jan 2020 21:02:00 +0100 (CET) From: =?UTF-8?q?Horia=20Geant=C4=83?= To: Shawn Guo , Sascha Hauer , Herbert Xu Cc: "David S. Miller" , Aymen Sghaier , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: imx8mn: add crypto node Date: Mon, 6 Jan 2020 22:01:54 +0200 Message-Id: <20200106200154.30643-2-horia.geanta@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200106200154.30643-1-horia.geanta@nxp.com> References: <20200106200154.30643-1-horia.geanta@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Add node for CAAM - Cryptographic Acceleration and Assurance Module. Signed-off-by: Horia Geantă --- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index cce65b9a861f..c3fec19f4f05 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -537,6 +537,36 @@ status = "disabled"; }; + crypto: crypto@30900000 { + compatible = "fsl,sec-v4.0"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x30900000 0x40000>; + ranges = <0 0x30900000 0x40000>; + interrupts = ; + clocks = <&clk IMX8MN_CLK_AHB>, + <&clk IMX8MN_CLK_IPG_ROOT>; + clock-names = "aclk", "ipg"; + + sec_jr0: jr0@1000 { + compatible = "fsl,sec-v4.0-job-ring"; + reg = <0x1000 0x1000>; + interrupts = ; + }; + + sec_jr1: jr1@2000 { + compatible = "fsl,sec-v4.0-job-ring"; + reg = <0x2000 0x1000>; + interrupts = ; + }; + + sec_jr2: jr2@3000 { + compatible = "fsl,sec-v4.0-job-ring"; + reg = <0x3000 0x1000>; + interrupts = ; + }; + }; + i2c1: i2c@30a20000 { compatible = "fsl,imx8mn-i2c", "fsl,imx21-i2c"; #address-cells = <1>; -- 2.17.1