From patchwork Wed Jan 31 02:00:40 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: 10193019 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E9062601A0 for ; Wed, 31 Jan 2018 02:01:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA66B28174 for ; Wed, 31 Jan 2018 02:01:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CE94128334; Wed, 31 Jan 2018 02:01:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 698EB28174 for ; Wed, 31 Jan 2018 02:01:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Gux399na8I/u6LfRwLWzpM5R1hbyn19kBBBTxkNDHBY=; b=kSJJTzjuV+Bro/ zVSAO65te0xv502ZfH6SkN3JRkuhOeBfUVQZidjkW4Sk3PMEA2P6BILQK23wlDZYdfe096PIXy6wi xf4xw9/CC24bTPmNBP7Pca8ZvKZeXniXb2qwekZKNhOzWEmvfXUol/wf2+NU66ZD1QGG7wSRsaNjv 2KPxTAdoojiWT88ZoBCChXYr2d/lFKbet10kTbA7QdtIoL2FGOH40Fil0BYE0v59Mh2hWomLLWAs/ np2UGbfnTFZPwUjVk1nj4vM1IIbkLa6N/psY+IbMlfexLXzxEqV/mgdJGXYLC3b4HXpusX4gj+DlY 1SkH79Xwf6t0kZneC6kw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eghhw-0006H2-HL; Wed, 31 Jan 2018 02:01:04 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eghht-0006Fs-7N for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2018 02:01:03 +0000 Received: by mail-wm0-x242.google.com with SMTP id 143so4925482wma.5 for ; Tue, 30 Jan 2018 18:00:49 -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=Undp1qBZ1tT/QElQ2uXoREoH3IFabcVxUz1ElBG2Ipk=; b=15MTNMpQuHhZimuKHGR+GCfxzCJ4e3cvIRBNwTI5NJOOwXro3oqqmxAvqeSwrWJ+Kg O5jn1iQ0DPaEvVfeyASmjBAh0+gcJjfTsRMabMPW+/35cAsbpI0p+IS/jegVqysDYi2e qj3531ToZVANwFodjhrxHfpOnkrk+Xfx+61lKdvn6+Pnq/kMRjebhf0rdsnK1aoA3VqE FuWls79Dow6NIExcugRoeXdFcOrxCZpGkc2BHENmrGup7w6nfpysk49kbD1VOPEjs0Wb xzcOgPhUrhwoVSe4064C09DxQvFWGY5sVCLHwrr/5MeaE1OHJEBv3J4mVCXrY+p96vzw GLWg== 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=Undp1qBZ1tT/QElQ2uXoREoH3IFabcVxUz1ElBG2Ipk=; b=qiGqXY15Yyz+Ry8nkVuQAC8h13VD/BKtBx05FirT0hUfEjQhNbg4bhBV3sTAF2cWos a3K2ZW8l0I5+oWnZpkV4/9yDISDCNkPghbMRAY7EBPp14gNq+RJwP0FyXWmWJVbBJm7D 3HrqrPWdIrG4LHAksMkU3wRmbIQkq/f0hEV62sSl/QOdasVOi28iFr7CcH4f4hfVxKzp 5tCPgd0dovDWF+IPIQRNxem7rSIbEKQyHDjFGwjpA85sCYg0NbD+o4rPWopW49EEXuxG V3jj5DOdKxEq1NmNWnl1qL5Xbt4fhKVMzcBwEpleUB7sh6ayl0t5S5w7womLZ6jYPfLq VRPw== X-Gm-Message-State: AKwxytfqSCQIsHGw+tCXXiOWiE2QnYfDSgRWen3JnoKBU1hHo6zClaRY bWHfpheUX3cIsWK5JiV90QyyCA== X-Google-Smtp-Source: AH8x225tpylhnk8jVUiQfNU0CbN4uUMwGRMaDWdQrOWhwifXcFa6f7pYXfaJBu2vgdM5uDiIS0fpRw== X-Received: by 10.80.146.134 with SMTP id k6mr7825626eda.107.1517364047893; Tue, 30 Jan 2018 18:00:47 -0800 (PST) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id w26sm9030867edw.7.2018.01.30.18.00.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 30 Jan 2018 18:00:47 -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 Subject: [PATCH v3 5/5] ARM: dts: imx7s: add CAAM device node Date: Wed, 31 Jan 2018 02:00:40 +0000 Message-Id: <1517364040-27607-6-git-send-email-pure.logic@nexus-software.ie> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517364040-27607-1-git-send-email-pure.logic@nexus-software.ie> References: <1517364040-27607-1-git-send-email-pure.logic@nexus-software.ie> MIME-Version: 1.0 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peng.fan@nxp.com, ryan.harkin@linaro.org, rui.silva@linaro.org, lukas.auer@aisec.fraunhofer.de, Sascha Hauer , fabio.estevam@nxp.com, Bryan O'Donoghue , Shawn Guo , davem@davemloft.net, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Rui Miguel Silva Add CAAM device node to the i.MX7s device tree. Signed-off-by: Rui Miguel Silva Cc: Shawn Guo Cc: Sascha Hauer Cc: linux-arm-kernel@lists.infradead.org Cc: "Horia Geantă" Cc: Aymen Sghaier Cc: Fabio Estevam Cc: Peng Fan Cc: "David S. Miller" Cc: Lukas Auer Signed-off-by: Bryan O'Donoghue --- arch/arm/boot/dts/imx7s.dtsi | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index 82ad26e..e38c159 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -805,6 +805,37 @@ status = "disabled"; }; + crypto: caam@30900000 { + compatible = "fsl,sec-v4.0"; + fsl,sec-era = <4>; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x30900000 0x40000>; + ranges = <0 0x30900000 0x40000>; + interrupts = ; + clocks = <&clks IMX7D_CAAM_CLK>, + <&clks IMX7D_AHB_CHANNEL_ROOT_CLK>; + clock-names = "ipg", "aclk"; + + 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: jr1@3000 { + compatible = "fsl,sec-v4.0-job-ring"; + reg = <0x3000 0x1000>; + interrupts = ; + }; + }; + flexcan1: can@30a00000 { compatible = "fsl,imx7d-flexcan", "fsl,imx6q-flexcan"; reg = <0x30a00000 0x10000>;