From patchwork Thu Jul 30 03:58:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victoria Milhoan X-Patchwork-Id: 6898151 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id A42359F38B for ; Thu, 30 Jul 2015 04:14:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C31BF20544 for ; Thu, 30 Jul 2015 04:14:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DA5972053E for ; Thu, 30 Jul 2015 04:14:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751074AbbG3EOm (ORCPT ); Thu, 30 Jul 2015 00:14:42 -0400 Received: from mail-bn1bon0142.outbound.protection.outlook.com ([157.56.111.142]:38631 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750799AbbG3EOl (ORCPT ); Thu, 30 Jul 2015 00:14:41 -0400 Received: from BN3PR0301CA0075.namprd03.prod.outlook.com (10.160.152.171) by DM2PR03MB576.namprd03.prod.outlook.com (10.141.84.19) with Microsoft SMTP Server (TLS) id 15.1.225.19; Thu, 30 Jul 2015 03:58:37 +0000 Received: from BY2FFO11FD025.protection.gbl (2a01:111:f400:7c0c::136) by BN3PR0301CA0075.outlook.office365.com (2a01:111:e400:401e::43) with Microsoft SMTP Server (TLS) id 15.1.225.19 via Frontend Transport; Thu, 30 Jul 2015 03:58:37 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; arm.linux.org.uk; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD025.mail.protection.outlook.com (10.1.15.214) with Microsoft SMTP Server (TLS) id 15.1.231.11 via Frontend Transport; Thu, 30 Jul 2015 03:58:37 +0000 Received: from stc-hedley.am.freescale.net (stc-hedley.am.freescale.net [10.67.70.12]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id t6U3wUbj025418; Wed, 29 Jul 2015 20:58:35 -0700 From: Victoria Milhoan To: CC: , , , , , Subject: [PATCH 10/12] ARM: dts: mx6sx: Add CAAM device node Date: Wed, 29 Jul 2015 20:58:27 -0700 Message-ID: <1438228709-27650-11-git-send-email-vicki.milhoan@freescale.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1438228709-27650-1-git-send-email-vicki.milhoan@freescale.com> References: <1438228709-27650-1-git-send-email-vicki.milhoan@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD025; 1:5+I4h+IZcHjL0zlhY+8odnPmxG7n3yLe9vEDQxaEdqe+Wo8s3UbvBVVncZrGGnex8owhPrb7mBhluNQSHzbwtrbxgme2Mv6M9NnAVGPJ84ZRSyYzpHw8LItDcfLHTzQAoJybFFXbm9VyqkoLmM/po566fHv4TusC2NOkYoF7G/bbyXUPEmlDPLgYJhHhOeVSkyI4n2q4wErDBmZGfANsZkBj9CNucX/5uY4q+ic5UJNSlPzUBpbG2gZKrhs5GVO7F2AUjWagw6eKr84MUZN+6xSTpv9ARr8ARTjpm848iYPUqQlYglOvPOswhQ2f/f9yqT9DBnSnJGChEZ43EYhRJQ== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(189002)(199003)(110136002)(19580405001)(50466002)(77096005)(48376002)(50986999)(50226001)(87936001)(47776003)(92566002)(76176999)(2950100001)(86362001)(85426001)(77156002)(106466001)(6806004)(19580395003)(36756003)(62966003)(104016003)(2351001)(33646002)(189998001)(46102003)(229853001)(105606002)(5001960100002); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR03MB576; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:sfv; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB576; 2:5SSwMH0k9P+WPbSEmcFAkwFXFUG+taTIUYKFDDCxFgjL8mZt5rAYlIAL9+WK2Pz3OcpBPZBgtHPv0oZmOVhs+9RKT/lhEGJ04iBBgnRFa1lmv0NqoZw5DTYQcmMKV0W0ZFt7Q7Uk4TxYPYVP5CyiEmkZj9BhUaOk0CqjExyKXrw=; 3:bUF9tR6Rod5pusN3+F/fnb7v16aml2UOQxVD4p/PgyA9ypNNmq9mtNzCvDKZIC+euJbhKvtQPFUJkNOVDYY7/yHSarlt3hd1G2RIzw/0NpOMFx+smJIRolY8p2PUnTB9v8SqIc/zgorbLAQhXt5eAQ4GO9E6qkPrBf1X281HdKPqsh2gRhqIJyffaZrYjORC+gS7Eu/2hR/K2c5wNUMMj/HSaQJMfwlbSgGBGf8ZhpM=; 25:dInvRbgS64/I6hALlJ4uQnvmU0wcnWkGi+B13lhCNlWN0KRapcf4xbD4v4oNHQxwc0ZLLaL/olXPU2CfxS+pawhG6NSglnjUO4twkWWpu2+NSz04D7Vzium1deymipRV4RXBbcITjm1M+7SsFMkPGeACeX9JOe1YgjWsmE0OXzD3Kx2LszfxbzPsLvTTz2e3BcTqBwEzaMDiv/54WtuLOUWqqJwAf14cNJs/WlIJFQpYDZLwI4AEf9eXODK7hKZaI4lLa5rfSwXrJq407phvVg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR03MB576; X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB576; 20:Ceed1RuCcaz5WEGaKBtXcyqYOPHGbWiNhiSc3o3/hQSRoUSxxcm+lXUdIIaaW5yDwopFvqw6zdpT3fumvttP+P7vp6sRr3uyw8TBu/vHo/6OKbWZsOKHSc+5lW8F47mUoV+Zn5NSuShLieZizr6pFI1SfXP0B0Tc8S8gFQacqoAXbNhT4gVGAN02FdBboUQUhoscJANJZg109xVW8T/H8GXDnEaHlg3wtnFs1F9dDvOJw6m90sKNsgW/HCAO1tEj1jRExNS4R1KiPV5rVdc1XduIzSNNcPTFa0aF+Y07/QaImKQPzrzNn7xGf0IYt4Hnlydlsy6brESCIQLvueZvWbzyNyZ1wQLtkTsGuy086/c=; 4:6MWIe0bIE3Pg8S7h6cIGAS6rEx7J0xoqLZ3yRhAZW9Rsf2nrfn4NQ4gOt8TF8bStNUW31++ybHg/370vE+31Tfrep9zdEMSPB7du5ou5xMOo9kcQSb1fuvog22VqTOkGxNwIKNgrnAWdNXEuI96g7W/oP9aWHUgKcNV4ld/4TBWpUONl1v5UtyRVIxmp54YuWL+Q8bYTfW/SR8TmAHMePQHsi6b9GYioL5aK22hskbek5Wt5XR8zdDjB02kMRjMpaBGLfyiDqZfApFm9gfj5AMyoLeB+/TV3Y7O93eWrS0I= DM2PR03MB576: X-MS-Exchange-Organization-RulesExecuted 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:DM2PR03MB576; BCL:0; PCL:0; RULEID:; SRVR:DM2PR03MB576; X-Forefront-PRVS: 06530126A4 X-Microsoft-Exchange-Diagnostics: 1; DM2PR03MB576; 23:OC11OxN9MZJa8z0gYQbnPiJ3FkTfYTGp4L+qQyM1Z0pyMLuoOW+SUz6f8kNsWJxh2fd/gh/9UVXIT9qxlQzxfDIr8QhZWJuN0jXZ7dFNQhuvS0dWvgt/jqXRcAj4bd7e0IQHaG5W648Rvz8Os2VQs3/dYs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JWmm3QhudcY5GKjCOYPFOzwO8ijvx7NV7+Q1fYaSvQMIg== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jul 2015 03:58:37.0131 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR03MB576 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-8.3 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.MX6SX device tree. Signed-off-by: Victoria Milhoan --- arch/arm/boot/dts/imx6sx.dtsi | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index 708175d..c73cee4 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -738,6 +738,35 @@ reg = <0x02100000 0x100000>; ranges; + 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 IMX6SX_CLK_CAAM_MEM>, + <&clks IMX6SX_CLK_CAAM_ACLK>, + <&clks IMX6SX_CLK_CAAM_IPG>, + <&clks IMX6SX_CLK_EIM_SLOW>; + clock-names = "caam_mem", "caam_aclk", + "caam_ipg", "caam_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 = <0 106 0x4>; + interrupts = ; + }; + }; + usbotg1: usb@02184000 { compatible = "fsl,imx6sx-usb", "fsl,imx27-usb"; reg = <0x02184000 0x200>;