From patchwork Fri Jul 17 14:39:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 6816741 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 9FB90C05AC for ; Fri, 17 Jul 2015 14:42:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C2B0C20674 for ; Fri, 17 Jul 2015 14:42:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E1F2420670 for ; Fri, 17 Jul 2015 14:42:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758489AbbGQOmJ (ORCPT ); Fri, 17 Jul 2015 10:42:09 -0400 Received: from mail-wg0-f66.google.com ([74.125.82.66]:35521 "EHLO mail-wg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752113AbbGQOkE (ORCPT ); Fri, 17 Jul 2015 10:40:04 -0400 Received: by wgkl9 with SMTP id l9so7425385wgk.2; Fri, 17 Jul 2015 07:40:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JKSk7bX9pD5Ay4nDuvJ8MHhZU3d7CLYjbJfWYwSK+3k=; b=FunGkj/0h44ckwcyrIbz8SllNB6TpwZbZEEElxBTjJ7UN+uPeWVD58ucIXBMOZLxPs 2if8tbcO3KU3zjYfUkdl0p1+FJWQjCZh1NpQ1oUP7kZeIJqxz7s5cUNsmVFrNqZVk86P rbK99gwlZAevAisZo2CHj/k7aXEYun1zOWn3/ZBA0aJ5UPuOIJoibjDQYyWLOOcXOxO3 N+XSoamZyS6wNPsTftEBQ1nMS7GuJdh/PI8g7jwHwhHxGfqIFjRxOAHovtAQQzypI1iS 3bSyJmDnWAAi0adguXNJQVPOAl3l11OKKgjkGu3j9xFTCX9GX9tDYsJAuTiHzjDcB3Gc g5Vg== X-Received: by 10.180.80.9 with SMTP id n9mr16029889wix.87.1437144002528; Fri, 17 Jul 2015 07:40:02 -0700 (PDT) Received: from Red.local (ANice-651-1-404-17.w86-205.abo.wanadoo.fr. [86.205.148.17]) by smtp.googlemail.com with ESMTPSA id q9sm8772085wiz.23.2015.07.17.07.40.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Jul 2015 07:40:01 -0700 (PDT) From: LABBE Corentin To: robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, maxime.ripard@free-electrons.com, linux@arm.linux.org.uk, herbert@gondor.apana.org.au, davem@davemloft.net, akpm@linux-foundation.org, gregkh@linuxfoundation.org, mchehab@osg.samsung.com, arnd@arndb.de, joe@perches.com Cc: devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-sunxi@googlegroups.com, LABBE Corentin Subject: [PATCH v11 1/5] ARM: sun4i: dt: Add Security System to A10 SoC DTS Date: Fri, 17 Jul 2015 16:39:38 +0200 Message-Id: <1437143983-4479-2-git-send-email-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.3.6 In-Reply-To: <1437143983-4479-1-git-send-email-clabbe.montjoie@gmail.com> References: <1437143983-4479-1-git-send-email-clabbe.montjoie@gmail.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.0 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 The Security System is a hardware cryptographic accelerator that support AES/MD5/SHA1/DES/3DES/PRNG algorithms. It could be found on many Allwinner SoC. This patch enable the Security System on the Allwinner A10 SoC Device-tree. Signed-off-by: LABBE Corentin --- arch/arm/boot/dts/sun4i-a10.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi index 61c03d1..551e3d1 100644 --- a/arch/arm/boot/dts/sun4i-a10.dtsi +++ b/arch/arm/boot/dts/sun4i-a10.dtsi @@ -643,6 +643,14 @@ status = "disabled"; }; + crypto: crypto-engine@01c15000 { + compatible = "allwinner,sun4i-a10-crypto"; + reg = <0x01c15000 0x1000>; + interrupts = <86>; + clocks = <&ahb_gates 5>, <&ss_clk>; + clock-names = "ahb", "mod"; + }; + spi2: spi@01c17000 { compatible = "allwinner,sun4i-a10-spi"; reg = <0x01c17000 0x1000>;