From patchwork Wed Aug 5 18:28:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victoria Milhoan X-Patchwork-Id: 6952401 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B0CF8C05AD for ; Wed, 5 Aug 2015 18:29:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D78E8205CB for ; Wed, 5 Aug 2015 18:29:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C056D205D1 for ; Wed, 5 Aug 2015 18:29:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753664AbbHES3A (ORCPT ); Wed, 5 Aug 2015 14:29:00 -0400 Received: from mail-bl2on0108.outbound.protection.outlook.com ([65.55.169.108]:17638 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753442AbbHES2z (ORCPT ); Wed, 5 Aug 2015 14:28:55 -0400 Received: from BLUPR0301CA0017.namprd03.prod.outlook.com (10.162.113.155) by BY2PR0301MB1575.namprd03.prod.outlook.com (10.163.28.17) with Microsoft SMTP Server (TLS) id 15.1.225.19; Wed, 5 Aug 2015 18:28:52 +0000 Received: from BL2FFO11FD005.protection.gbl (2a01:111:f400:7c09::115) by BLUPR0301CA0017.outlook.office365.com (2a01:111:e400:5259::27) with Microsoft SMTP Server (TLS) id 15.1.225.19 via Frontend Transport; Wed, 5 Aug 2015 18:28:52 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; kernel.org; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD005.mail.protection.outlook.com (10.173.161.1) with Microsoft SMTP Server (TLS) id 15.1.243.9 via Frontend Transport; Wed, 5 Aug 2015 18:28:51 +0000 Received: from stc-hedley.am.freescale.net (stc-hedley.am.freescale.net [10.67.70.12]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t75ISmAE019320; Wed, 5 Aug 2015 11:28:50 -0700 From: Victoria Milhoan To: CC: , , , , , , Subject: [PATCH v2 10/14] ARM: dts: mx6qdl: Add CAAM device node Date: Wed, 5 Aug 2015 11:28:44 -0700 Message-ID: <1438799328-10757-11-git-send-email-vicki.milhoan@freescale.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1438799328-10757-1-git-send-email-vicki.milhoan@freescale.com> References: <1438228709-27650-1-git-send-email-vicki.milhoan@freescale.com> <1438799328-10757-1-git-send-email-vicki.milhoan@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD005; 1:6ho+AlahOBJqUPlWIzeAvhe4JkuDiqtxLBOqqKwbKKI8bzI4PeWla75d0nQWDsKapXQmub5eFDcUfs+eGwdhjU/LtOnvAXSBRqOkZ/8tJcVTKJ8shTiElvks481+t4q0DXP9xxkkrZhxwrox/OhJgkFayvlgaJOKe7q27HNUpfO5mxjO2Ro1I1pmAlzB2qzXQpuCOGXiB1MPJhTLpb09usCPBSdRuFK4nfGolKOcmjcA0gwRaV5kxpVanORzoJuF3JkJfFC4YE4NWbs3k3Lf4ZWcBbGM982ejwn6jzK8nlVpB0GkNF09BaTPyrnxhfx5cCgResOHpk+WfdC/PZUgJA== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(199003)(189002)(87936001)(5001960100002)(77156002)(62966003)(97736004)(5003940100001)(189998001)(68736005)(106466001)(4001540100001)(105606002)(33646002)(229853001)(2351001)(36756003)(5001860100001)(92566002)(110136002)(77096005)(76176999)(50986999)(64706001)(2950100001)(86362001)(104016003)(47776003)(81156007)(85426001)(69596002)(50226001)(46102003)(50466002)(48376002)(5001830100001)(19580405001)(6806004)(19580395003)(32563001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR0301MB1575; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1575; 2:REpEBZrjya3Iz961snD97xJTCVBWP2JwcFg9aovzAqZXV2bwnolWFhTnon8FuFAVgU9nDeuwn90B9lNuz/Yk6o8I9Tw5gduHMncppPc3CDnuHXZ9JqX8Udkz8ZrSLq+6uGUedM8jAgA1SN3zS5dQiEqU44ay95I9m1S6o3OUCdU=; 3:1V+vxL9O30RgW9VP8/bYix/3e05O/7QepyGlPGuO+LXePTYXAVvYYXOnMeCUx0I9iBpp19jK8tI5wEM0Z+ikCHeKFE5/agQ/yKnsr+dyGSGKukAKxjSjSh6qPGuzSY7lO1VtatAaVvkppUo510h3wIxTijEH4o7p4lRa1YxMxr56CicPUeH/CbKGo/euW+duqQtbaK4PtKYRMlym+OXTfIdVZTZtw6FHAbKXXt7Vtgk=; 25:e44cGJlzmJNeWnPoBrubx19yEz4VdHcRSuPbpPbWp0bjlTpbLoj48tI/cEccjo447xmLv7YR8MxlpX/1XpJmy+dRfsHgbga/tsHk6HD2/X0HC49MlYg2x+0/7RBsb0iMU42CuE2Z8cGdAyR2JgSnm94QiD2Ic+7olwsUpqYWLh8vL7p1iE8N5rOX6l1aEMElxjZf8TdVuudiY0sun5DrmxRfEflzO2Ugj0ws2TvMK7rGK7NFen5Hha1wvRWzYC657ymGl80tJTDrscsf8PyJBg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB1575; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1575; 20:IHAnFF6ZuSi3GDllDUOmAW0XAkIOQcBAKhpZBGzI2yap8bedxdsootZ/D8SLFXV1jm2LupHHtIEyL186b8DNpKlRSG165r1sMmzqa5e+++ksuVwRBDD7gRP13MvGB+lKKAqIZkjLMEJK9Fj0vS6FaWfADEre8K2JRgfXUv8HXoSYxTBPMQj5aN/bqiygEbmGxFvK69SgpAYY90cP8O8h+BU2Lt8fgoIm5eCEijs9nqYGkLhmoT+MTmmVkXH7eJHNHqGpvCp0hZbYEq7pT2amj5Rkd0qPhzxaWLNhYky5/srtwbAubRCJNWH82DMW9SwgaeeKV74boC+QciER1JAGzvsoRlAST0pLloEdj/YyEWI=; 4:p/ictZv9r7RvwiYgarpLvNbm8K5BBVgZKoDi3H9f63mjJ5spymGuoZnvpObbbtrneAwxqlJyhHyhAUiwWQYcKnt09ihuMF4BCu4wIUgXa6bCATRdxnnUCcpv75jBAef28xggTvSFu9JMyrvVAbYJUa77EpfRyXW5CZgRJjGFad888B1+lefR/xUPmT5b09r4uJludpqLdIEDho9D6XDqY2nakOGQnVR26SHgvXVlOKyOgqi0PVeH3ocE0CDKyZfUKIGrOXcLPiplMXZMCm2smW4WRORW4KWV3wzFV6YWX9w= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BY2PR0301MB1575; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0301MB1575; X-Forefront-PRVS: 06592CCE58 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0301MB1575; 23:cM84ONNsaRs6bzmjF8z/imjZ0l8uEj+IZZgiKsx?= =?us-ascii?Q?XG8c1S/vQjw/SFopGfKanp+T5ZsdIjlHZwSLqdXXGtiIkQXNjGjA8GeONl42?=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7GBk5G8n3ERyESYQGIYBy6AwfexJOD3i?= =?us-ascii?Q?HNbADLJYY6fB4WgqFLASZeGaeJavWx7bNKh4dDZPDX3Jz7Ma4hRqHTDomRfm?= =?us-ascii?Q?zsIETHrjj4RsdwPhETGUO2OSY7CfP0PyNsfv0Zqc3bgi3odW4OHF2dyeGCbL?= =?us-ascii?Q?dHVTuyRo3ijoBzrBXyGAkPG4XMwfLH0DM?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1575; 5:w1jWrWphE7hEjI9dlBblLGcomY98zztvsmaYCcjPLEseieNm6YhfP7hR/x2e5zFFywlw1C7fDplk9ORhQI/CAOPWxDPXaWNZ2/CIawQCIUuPSrqCvzdw1mWQkaDqvAVjy7tn8fU1E0zV7ruPuoztiQ==; 24:V+WDZmB7H+XrqBoGXrIDzwnRuaqw9y2tXTYFIz2i0cSCci1ip0/ijX2SNyriEcttVGXXW3sb+C3mplV9W+f9qbjKeElEjLdSAWGSsKgR7Mw=; 20:oVn/4uveNsLNhDcijwQuakREpxIoc57WGycG7LqRCmitblqDOCQ1BVmehYxTS/D7aPxh954hTuldrcWvxBNa8Q== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2015 18:28:51.6295 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB1575 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add CAAM device node to the i.MX6 device tree. Signed-off-by: Victoria Milhoan --- arch/arm/boot/dts/imx6qdl.dtsi | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index e6d1359..b5c89cd 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -836,10 +836,31 @@ reg = <0x02100000 0x100000>; ranges; - caam@02100000 { - reg = <0x02100000 0x40000>; - interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>, - <0 106 IRQ_TYPE_LEVEL_HIGH>; + crypto: caam@2100000 { + compatible = "fsl,sec-v4.0"; + fsl,sec-era = <4>; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x2100000 0x10000>; + ranges = <0 0x2100000 0x10000>; + interrupt-parent = <&intc>; + clocks = <&clks IMX6QDL_CLK_CAAM_MEM>, + <&clks IMX6QDL_CLK_CAAM_ACLK>, + <&clks IMX6QDL_CLK_CAAM_IPG>, + <&clks IMX6QDL_CLK_EIM_SLOW>; + 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 = ; + }; }; aipstz@0217c000 { /* AIPSTZ2 */