From patchwork Mon Mar 16 19:01:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 6024101 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 CB7FABF90F for ; Mon, 16 Mar 2015 19:03:03 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0ADAF200ED for ; Mon, 16 Mar 2015 19:03:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7305420155 for ; Mon, 16 Mar 2015 19:03:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965466AbbCPTCh (ORCPT ); Mon, 16 Mar 2015 15:02:37 -0400 Received: from mail-we0-f177.google.com ([74.125.82.177]:35398 "EHLO mail-we0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934367AbbCPTBu (ORCPT ); Mon, 16 Mar 2015 15:01:50 -0400 Received: by webcq43 with SMTP id cq43so45202864web.2; Mon, 16 Mar 2015 12:01:48 -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=cMnjp9p8lIb4h0UHFFQbztWDwy2M1z8DZdCd96RjGBs=; b=fawj297c2Y7fs4TQG0XWgDFwYYyEXPicKbyiMuM+2bul30zolZ91Low+Nm3OEQ5n8Q XK/WQ+eX1xr0ZJU66VPbGCKHngZurFXGW5yIpLEKG5utIVole8+1Oq0oi/Cs/wF3SuqB Ywc9z2szdQAT7LD5FddcivPgLeZHMGuvsWqa7GrxWefDBOgTjro9yNkKtECpkmZfUlTE /QgAKNawAYzBJuxHweTyQ5iwnKPXBnJ4Ntw0nCYAZbaj5VFoMAg5fcEaZmC5NYRsF9aq JboQsTS+RsHf5EZlv8Pa1vKuD9mNYUDAgeFYQj8ffP+VMIpj3N2ln+HWfdt4CmW/WY4j npWg== X-Received: by 10.194.63.172 with SMTP id h12mr123211712wjs.48.1426532508396; Mon, 16 Mar 2015 12:01:48 -0700 (PDT) Received: from Red.local (ANice-651-1-372-189.w83-201.abo.wanadoo.fr. [83.201.240.189]) by mx.google.com with ESMTPSA id v13sm16568785wij.10.2015.03.16.12.01.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 16 Mar 2015 12:01:47 -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, 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 v6 1/4] ARM: sun7i: dt: Add Security System to A20 SoC DTS Date: Mon, 16 Mar 2015 20:01:19 +0100 Message-Id: <1426532482-28830-2-git-send-email-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.0.5 In-Reply-To: <1426532482-28830-1-git-send-email-clabbe.montjoie@gmail.com> References: <1426532482-28830-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 3a8530b..8995bec 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -680,6 +680,14 @@ status = "disabled"; }; + crypto: crypto-engine@01c15000 { + compatible = "allwinner,sun7i-a20-crypto"; + reg = <0x01c15000 0x1000>; + interrupts = <0 86 4>; + clocks = <&ahb_gates 5>, <&ss_clk>; + clock-names = "ahb", "mod"; + }; + spi2: spi@01c17000 { compatible = "allwinner,sun4i-a10-spi"; reg = <0x01c17000 0x1000>;