From patchwork Thu Apr 23 06:45:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 6259851 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 84925BF4A6 for ; Thu, 23 Apr 2015 06:45:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B261220389 for ; Thu, 23 Apr 2015 06:45:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BD96C2039E for ; Thu, 23 Apr 2015 06:45:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752091AbbDWGpp (ORCPT ); Thu, 23 Apr 2015 02:45:45 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:37785 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751983AbbDWGpl (ORCPT ); Thu, 23 Apr 2015 02:45:41 -0400 Received: by widdi4 with SMTP id di4so81316198wid.0; Wed, 22 Apr 2015 23:45:37 -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=59UHuTIZnx3jlFYLhL1qyoBaMMVVq3K8/XqOO+l/cAE=; b=KJPmbpaRm6F1YtGloPnLNGN6Q1qF4nO0BCQ1NTOy+EZ2sMhJmjP16ZhrFYg8ljc6HC Wu476gICCpMQMsk01HNumwbOsWBN3XEG60zzUyZ7bZI0DLO1pWiYg12K5uls/1sXC/G3 shhrNNlVDqEyHT86GRWgbgshAAtNdFB9fSddRxFGScrz4i8fhUAOqVXgpyYKWFlkKs9b aax6akYkGg6s6u4/XwVNmeH4T2QvbqgNtV3sOwaxY9aco6AuPWVkyTWCcaD2xsiDW2jQ qgxuF2iRIo2PBDqzBPYfu67ZabBox3cEbFQ+QEXbTDWJLOfwt+44ma6z4xf2HGTgiNJV 1mVg== X-Received: by 10.194.187.16 with SMTP id fo16mr2525061wjc.86.1429771537020; Wed, 22 Apr 2015 23:45:37 -0700 (PDT) Received: from Red.local (ANice-651-1-258-147.w86-205.abo.wanadoo.fr. [86.205.162.147]) by mx.google.com with ESMTPSA id ex5sm11010592wib.2.2015.04.22.23.45.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Apr 2015 23:45:35 -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, joe@perches.com, tj@kernel.org, jg1.han@samsung.com, arnd@arndb.de 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 v8 1/4] ARM: sun7i: dt: Add Security System to A20 SoC DTS Date: Thu, 23 Apr 2015 08:45:20 +0200 Message-Id: <1429771523-2936-2-git-send-email-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.0.5 In-Reply-To: <1429771523-2936-1-git-send-email-clabbe.montjoie@gmail.com> References: <1429771523-2936-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=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_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 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 A20 SoC Device-tree. Signed-off-by: LABBE Corentin --- arch/arm/boot/dts/sun7i-a20.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index fdd1817..51023bd 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -679,6 +679,14 @@ status = "disabled"; }; + crypto: crypto-engine@01c15000 { + compatible = "allwinner,sun7i-a20-crypto"; + reg = <0x01c15000 0x1000>; + interrupts = ; + clocks = <&ahb_gates 5>, <&ss_clk>; + clock-names = "ahb", "mod"; + }; + spi2: spi@01c17000 { compatible = "allwinner,sun4i-a10-spi"; reg = <0x01c17000 0x1000>;