From patchwork Wed Jan 24 14:50:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 125677 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp464910ljf; Wed, 24 Jan 2018 06:52:08 -0800 (PST) X-Google-Smtp-Source: AH8x225U4fd1+fSX8h3j+mmVTJxSZvuoNkWnvN8zWW+FecOlYwPjgNYrGlPz+sGvyCvAYgIj0Yzb X-Received: by 2002:a17:902:51a9:: with SMTP id y38-v6mr8565761plh.223.1516805528331; Wed, 24 Jan 2018 06:52:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516805528; cv=none; d=google.com; s=arc-20160816; b=Q0mBtVPduLqJiZitJ03txCkrxQhYuIh0JAyLx5HJ+dv7Wi3nba2BqAjklQIRz5dM2u I6hpWsKzyevGqOnV10HlBj2qvHcuKsVd3cKJddIBzSmDVXxusO+ktxSZOp5c2PaAqf6I m8+u16rer2WXAwCZFkt92EI0MCJK4eOzvEFI/8a3gpd1iA1Cfc0WE7TnhF+EbtdYQ+Rn i0HNtGUZviosh0CQMeG+NcYaF45aaYnO5VYgQ5jTfM35s+YUuYoHCQ9ZfIl3DOoEllPb yL0Jqf44/zYGeNB3O0JvLt8oyOdM+WEuzThD8lJdFnJ81LihVFtpBYqvmhb+HmKCUEQY jx1w== 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 :dkim-signature:arc-authentication-results; bh=bpR90yKqvhjaTavGPq1cJ9BDQIlQmO/+tlTChqGRfns=; b=G1DrUxevBYvg4YOWTCiOk7By/12+ZHMZsuSfVfSj+CC3cOq32F5YbGr7+IXugCnIZl 53WN/rBUIfAmKUtViCXD/jrcokzZ1J9/wDhHOf2aeagGzqI/xp9+4uqfz2OY+Zg6Nx2+ HzAYCLGUQtrehez9V/iTPWTWO01v3zJh2Ef0VFBWKTWQ2cE7Ay34HMcUWzmXvopAi/Mt IYMke9vL+um2ZeNgk4L1wcHeEWGfrarY6dBGpzqVTBMi/nEWjwMfxzQbIc03+AU4YDv2 XswBajCdwQVfT7q15Ev2KHAsi5+Yz40Mf3nrM+hdoNhLr0WM5CFQcUma7DW2a4l0q1+X +VUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexus-software-ie.20150623.gappssmtp.com header.s=20150623 header.b=VtDwyuiN; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t2-v6si299222plo.811.2018.01.24.06.52.08; Wed, 24 Jan 2018 06:52:08 -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; dkim=pass header.i=@nexus-software-ie.20150623.gappssmtp.com header.s=20150623 header.b=VtDwyuiN; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934010AbeAXOwG (ORCPT + 1 other); Wed, 24 Jan 2018 09:52:06 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:42605 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933837AbeAXOus (ORCPT ); Wed, 24 Jan 2018 09:50:48 -0500 Received: by mail-wm0-f65.google.com with SMTP id r71so9038224wmd.1 for ; Wed, 24 Jan 2018 06:50:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexus-software-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bpR90yKqvhjaTavGPq1cJ9BDQIlQmO/+tlTChqGRfns=; b=VtDwyuiNXjLQ2ZU6P+9DXWp6EEDabCQVJdSxXvVrE7b1/9jv5hJ+TEoWM8pj1Jpy/G jcR0AhChxlyh2pqmgBjb3kqak/eqqNWts4qQ4lNaAAddrvMhtE5J8Rtu9MeNcfgQJFoM zz49Xe3JdLdXrzsKzVB3+qF7p1b03b7E+zm5V9emuN4gE5DiJL0t9pVt5V2JQ2Dw0/Us V3GB0W9X1C8GoAsuPy6yDMQYTcMWO4a2z8QqPsqbwgw5iVzd513B0b5L8kJkPX4+3//p DtbW8MtGxl0Q7Iz66nBqNLfjeEUqXvNGuIOThS7NlzQF7hSDQQ8kINsO2EgyGO3g9KxV N0TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bpR90yKqvhjaTavGPq1cJ9BDQIlQmO/+tlTChqGRfns=; b=dCRAs3HLsUEPVsl2E4m1LqkTe9eLX1crFlhgZtS7usp2/WhZq/MXWzL3MoKFiOGXYU fT5uV7NSDV3jQgGs3W8t5JpdplZjP/f/4/PCjSF4AL1gBV7jyRWNGLRtKtZHdCcmEWQH QZ7kUNlg6yzaj855vglJySz5obx711L65PX1YbJ9h91PEElBp3V8Ak4NSYFn5OjOOzxN S/T6/4xFY2nd+nqVXTZeFsV2pAPfkNq1I83TPTEPcl7Hr3uNiLEDA2fiHgVmpA1Sxxa+ /FdFeKo1koqsBgS8S5/8+tEVbfifvdjX6enzX5QwWo/2Z32D4EW4MKru4kO0dJcZJway GUTQ== X-Gm-Message-State: AKwxytdlxm6XwGd5rfYYmXyhctAPvjViMqUo2zx0RrChYc1lWV1N5War wh97xPNPWTP0I3h2kDtxT5ZrqQ== X-Received: by 10.80.214.215 with SMTP id l23mr25345485edj.44.1516805446798; Wed, 24 Jan 2018 06:50:46 -0800 (PST) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id p6sm324449edb.62.2018.01.24.06.50.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 24 Jan 2018 06:50:46 -0800 (PST) From: Bryan O'Donoghue To: horia.geanta@nxp.com, aymen.sghaier@nxp.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: fabio.estevam@nxp.com, peng.fan@nxp.com, herbert@gondor.apana.org.au, davem@davemloft.net, lukas.auer@aisec.fraunhofer.de, rui.silva@linaro.org, ryan.harkin@linaro.org, Bryan O'Donoghue Subject: [RESEND PATCH 3/6] ARM: dts: imx7s: add CAAM device node Date: Wed, 24 Jan 2018 14:50:32 +0000 Message-Id: <1516805435-15034-4-git-send-email-pure.logic@nexus-software.ie> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516805435-15034-1-git-send-email-pure.logic@nexus-software.ie> References: <1516805435-15034-1-git-send-email-pure.logic@nexus-software.ie> MIME-Version: 1.0 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Rui Miguel Silva Add CAAM device node to the i.MX7s device tree. Signed-off-by: Rui Miguel Silva Cc: "Horia Geantă" Cc: Aymen Sghaier Cc: Fabio Estevam Cc: Peng Fan Cc: Herbert Xu Cc: "David S. Miller" Cc: Lukas Auer Signed-off-by: Bryan O'Donoghue --- arch/arm/boot/dts/imx7s.dtsi | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) -- 2.7.4 diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index 82ad26e..0da146e 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -805,6 +805,32 @@ status = "disabled"; }; + crypto: caam@30900000 { + compatible = "fsl,sec-v4.0"; + fsl,sec-era = <4>; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x30900000 0x10000>; + ranges = <0 0x30900000 0x10000>; + clocks = <&clks IMX7D_CAAM_MEM_CLK>, + <&clks IMX7D_CAAM_ACLK_CLK>, + <&clks IMX7D_CAAM_IPG_CLK>, + <&clks IMX7D_EIM_ROOT_CLK>; + clock-names = "mem", "aclk", "ipg", "emi_slow"; + + 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 = ; + }; + }; + flexcan1: can@30a00000 { compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan"; reg = <0x30a00000 0x10000>;