From patchwork Thu Jul 30 03:58:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victoria Milhoan X-Patchwork-Id: 6898131 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 EDD439F38B for ; Thu, 30 Jul 2015 04:14:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1A61020544 for ; Thu, 30 Jul 2015 04:14:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 20EA52053E for ; Thu, 30 Jul 2015 04:14:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751119AbbG3EOL (ORCPT ); Thu, 30 Jul 2015 00:14:11 -0400 Received: from mail-by2on0111.outbound.protection.outlook.com ([207.46.100.111]:46984 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751074AbbG3EOK (ORCPT ); Thu, 30 Jul 2015 00:14:10 -0400 X-Greylist: delayed 928 seconds by postgrey-1.27 at vger.kernel.org; Thu, 30 Jul 2015 00:14:09 EDT Received: from BL2PR03MB563.namprd03.prod.outlook.com (10.141.92.141) by BL2PR03MB276.namprd03.prod.outlook.com (10.255.231.25) with Microsoft SMTP Server (TLS) id 15.1.225.13; Thu, 30 Jul 2015 03:58:39 +0000 Received: from CO2PR03CA0032.namprd03.prod.outlook.com (10.141.194.159) by BL2PR03MB563.namprd03.prod.outlook.com (10.141.92.141) with Microsoft SMTP Server (TLS) id 15.1.225.19; Thu, 30 Jul 2015 03:58:37 +0000 Received: from BL2FFO11FD012.protection.gbl (2a01:111:f400:7c09::143) by CO2PR03CA0032.outlook.office365.com (2a01:111:e400:1414::31) 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 BL2FFO11FD012.mail.protection.outlook.com (10.173.161.18) with Microsoft SMTP Server (TLS) id 15.1.231.11 via Frontend Transport; Thu, 30 Jul 2015 03:58:36 +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 t6U3wUbi025418; Wed, 29 Jul 2015 20:58:35 -0700 From: Victoria Milhoan To: CC: , , , , , Subject: [PATCH 09/12] ARM: dts: mx6qdl: Add CAAM device node Date: Wed, 29 Jul 2015 20:58:26 -0700 Message-ID: <1438228709-27650-10-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; BL2FFO11FD012; 1:tmtRAY1yhoVPwhQ4dw4WBs66wxgoxQO8EOt7Bn6/OFDtWB/ihJdRDAcUsJrjdT6nPbfMOYK9QxeP/PpEhq04EbS1ykHppyQaTSgkSoqUb23RWhGuB2/tP60QhKAEurnwm/id2IZFHyJcS0yO2bXR6AcdDihiHjgbOcveQUD6GkKQU3Lw8dcFfstYJfPxZtRkMsA37QFt9vllYH6TPJyf7VH1OOVD1Wd7RtgPWV9c6Z1xWGvDlVKToSgbPLxiR7neV0DigIe6/cO8c/6y/1mA+9QDCHKqrJLBvEF+mMkb01pypNAzGGmNoGf9T3Mrmerd3jedl9sq2mdPYwQHLktTSA== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(199003)(189002)(110136002)(86362001)(33646002)(46102003)(85426001)(50986999)(76176999)(106466001)(5001960100002)(105606002)(2950100001)(48376002)(77096005)(36756003)(189998001)(50226001)(47776003)(62966003)(77156002)(6806004)(229853001)(2351001)(50466002)(104016003)(19580395003)(92566002)(19580405001)(87936001)(5001920100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB563; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:sfv; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB563; 2:9yivtR/aJKV70CMXahPdMLv5jFdNFw+7AIafkEs3HT5XyR7EwS2Knuss3MUw9IE6paTXs3zqES63w0JGnQFIDEYCDv3yzQvG6Xx6177kRyPTREDg4cwugZ1EAADMOa/9xpN++2IjRvvI4MMPRlgi0Vp+WzyY7FaLoWAvezRnWFE=; 3:QoHq7wtYs3ijMDoPgHHk/mgGq0+g/vnxtCkfZ5YaNLDRxF1haIrkm+Rb3dftn5O6gB7pbadWlEG3bvsXJMWfby21jhSGe0HjCLQ9TLoXi/l7GwCMRIxwAMcMoT/SNZmA/BjpvjGvSKDc0L7v9pvjYIDMCcAyASXBi8GVtUfmUllfNHqUrd96K2Idbp+jnVrbmFdFLMT6ZLSNwn5tQ6+yQXDTEgc1JlU2iV2E22Q6spc=; 25:rQDECz2AuXnNXQJKSiuaxYDsb8e3T+Sm8u5tTyAO7EAxlVG5+jZWwgN7KoZL/J51cfXMFpJpjGTKzNZPzo7Q7gcprup7VlhBF3lskMwUCE3s4puV5wC2DzEi8+O598vx758bTPA5tTqpRZo84BXrQ7IAstnO593KSd27O17YQ3s+ujwX8llHvVHue5u0qYBHg9EWpC2yFENPsVjcufBnUhcq+o+MJHcSLrf5KcGYVC1wOGllcNye0OM7GTQ/6+k2R3kPkKYuKyDutwCHP0emZA== X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB563; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB276; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB563; 20:NFpnptl28Uatil6UPb8uPy2TB1dpKHw8JroCVk/uNYDlsrJivP5rJYJRtUwP8OvYZt6VbwateX8vvNpBQ8J4Hjf6EXsRfVwzKQtnAfldMVfuMZt4uzrXSrYrsDmOSs5b6mcdyibZcEiPZJT4HfFZRdk+NwDaHdCjvWj5UXsc/h8Z519tUN6JCghSc5FRoQAPYLbjYYoNCdDfvWQv/7dmXIhhPD1sswtW/K4UpRCtIcz4bKNWH7vW2Vs7bv5ZT5SsJ11xUCDLH1jP/Qv3kN3s46p9SOGsm22N3JOzjQXlJXfJIK2SGC3KwrmXPSeVD5INQW9JYGJYRo5MhP1aP/r8K9Z9u0fH7hOB4B/J+AKFGYY=; 4:TJGgti9njALAY3Nv5OrTCiPR0f+5O/x0I0TTDCaz27oyhagmTC/81LRhiRLXi8Q1cJObqeFiW1NyCGGmqNGG5CFvJIlA+uHj/N0X4t7R9DYAqCyQXK7omH5QdqPzOb7viDSyGizTiYUD0hAXkQMfMMfI4NZyXkSTJ/zL39x7yHEvOuWQPAfsQW+T2uCAAofWRdUYTPBC09ZEfHGLd1SmPW8NMeBYXGCos1hP+InRNKlgT4ZJL905hbFouG/VU9Wvx+AqzCEdr40LS/YCnhXsLxDBLi0kfN6A0Qm+fvTxZYg= BL2PR03MB563: 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:BL2PR03MB563; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB563; X-Forefront-PRVS: 06530126A4 X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB563; 23:CnuIgqz2tAAl2A1VKilz/hTFPknFpa4pnV5+tu5+6AKgxabwuBG1dzh1L8T2E4QsP6DFZqxsQqOecEJKb2wSHmxSKrAlKVxb3nqjuOwBA6aonnScziFzWk/72HpMFR1VRHCSVpgMfye5YAEA96zWeMwHlYPpWKcwM8IpVjXrTGgRwxlOokZY4uyTOW2WGfNC5WJ+c39KkuwQrjA3+c+tgI026VPIseoCgf46LfknAWdeg+tNzXuP/v0qjLCj1TdiXjSD3A5i4+ibva46ZAKzQO/sugwV4/1Nmbef2f7aJc63BhltDRVcXbS2HsfrE+Xj08xFbGKJVlalCoQEQnnnVHwJ/xrzscyxWWN+2dKLtvQBUwhoe669UYHeROYjKpz7C830i025Sofq4tjymZbaKi0UM8az2BKr54/GlBvP3eMAWijomokxIa6HrV0ySp9cUxlJ4TtGYQSOIkxlfQb03rorGzMpJ1FIEXQ3s8CrMPnvemcVT9TrmTbvjLhuaj2hC5w97eOQ3lL1fBIrPsv0yaCQe6TeVxW7lQ1yGwTgA732OE5909nr8CaG6jA0h1GDMhAy45F7/nDEb08+OHU2g9POJVbzQ91fXMhsorBGkixHQA8+7Mf4GPqWGFOH21+kC0fPRtuPrat+CrnW2ODWvsi9doxO7m8p6g0vnUxvf6A/S4GZawBBNnxaE4965k21A+WaF7O6rat0c7otBZEw8WFXxt74/Nllj/ygEny8mm1LECUTBo+1KAkJzGXvjrhcfiAhHe/h45GfDKdp99HgaxCzCPY+QnZz81YLj8w9t2nd+8VnYf3kz3lcgSJFprRLN7JH3d/X5LZoER3DHawC9Xd3z+onmdribrGSoISCX+vhH/aVs2uf3Shb2qdDxTyWWeat6SBf92KBq3N0C05+aw== X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB563; 5:SYdqnA7BxQhQ4TNpzH/oIMDx+lB5D1ZfuOA96FZS3EqLkj7llsatKD3Tjaj57d4ccrf0u6yqU/2OsOQ8BzIeWjzLXXgynAl+f70uSEbmKjVE08A5IjiFGQGhWxxofSnFryerG6IhRAy+z9GAyyaQmQ==; 24:d5xcqdoCeeuy1tAuHsDNG9anTYmxjGkNJpzs3Vg888aqcOkf3Y939IbPuDlFUwgOBBToHO1BZBjmkYaGQIlVhzxHY//ojtGSgoQqQ0koGQM=; 20:K0bdvdcHmhhis9GV51o6BqlYJjSPTCY+s6aYp7csY2BGn6VsrukvKfxmCU52BpAInfbx1arrdttKTI0JubJ+pw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jul 2015 03:58:36.3995 (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: BL2PR03MB563 X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB276; 2:cDTa8DTZIV3fGsM+FZLdqw5ek4Q2VQHaEt8jjm7mW+C2vXXfolHUIhYr9nCnncCVQweX3JBq3MB2M8fCSPXVn/CTTysavMpamN8ltx0azyga7jJ4Hblo4IVm84egq2WKezQKaSHJQOB+qkyKMxPnMe3uO4puRx6XldZh3Gg87/Q=; 3:HjkyqcuSGio5GWwo7rZU5YOGgyeSkzG7X6bvT451cn+W7y43v7LOClzKmZbogD7LG7tDxbGvzHhIYnINuTZ/DF+dvSrI8rWKjO2Jkf5B7y5PO/I2N0OEHhSvyQ5SXjLVDbek8K43YA2beuiAzKHC8VMw06HWTsCZpIu8pRK5FJCu3MDgZgqGq2xw/OFOPf+iMq6AsgL04ElNg/a1JrhfhODgYtoqVuFQ5gLoB9OPGrI=; 25:gLEJZWAHGYZJ5Hi8BsEzpZZlDNd0TAIbKfvjtd6EG1iN4lnqQllA7EGVaDWRAaFe6D+F6w1cl3FSmtKnXrfiZ3m2tmVkHGCURfBXLE7k/EdFHoVRiyahcdID9m3E6UzStpsY4G76Mwv30ty6vMVBJcO07PJA6Ss/cBvceFZATCXwXY4lPykZ1ytsgUdAW+16DrMWuplIti69r4r9k0dG0ESoZtN1KEch2pVxZjP4ESKLZIWEyyu4wt8a7d+1tGNqoFFFfdAA9jSLwQd3W7+Htg==; 23:tVC9ieKGvJGEN2lRgHXS/+ESoJLL8M+2E0LFB66NQ6ZhnjKRA5GdJTyjSTnI6oiv2qObn3E7AZCOePchTOr/P6LK6GFjy6D+khfc7KyL6bgRhYkAQwSxeE2Yz+sTYy7dNOBz7ORt72Kljf8UyXe+r8pNWt4bcBtYJ+LxyB/odcxBYTY1rSc92fKASjscNCUpSzMp3wRyV7G+U6AHThdKxvkE4HhkBpPNQ/wliwzv6VnyWDWb Gedq2owSqbGHYRFb X-OriginatorOrg: freescale.com 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.MX6 device tree. Signed-off-by: Victoria Milhoan --- arch/arm/boot/dts/imx6qdl.dtsi | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index e6d1359..4df9f1e 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -836,10 +836,32 @@ 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_CAAM_MEM>, + <&clks IMX6QDL_CAAM_ACLK>, + <&clks IMX6QDL_CAAM_IPG>, + <&clks IMX6QDL_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 = ; + }; }; aipstz@0217c000 { /* AIPSTZ2 */