From patchwork Mon Jul 6 19:10:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 6727191 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 A1ADEC05AD for ; Mon, 6 Jul 2015 19:11:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C1F892055C for ; Mon, 6 Jul 2015 19:11:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BD3A220555 for ; Mon, 6 Jul 2015 19:11:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755020AbbGFTLD (ORCPT ); Mon, 6 Jul 2015 15:11:03 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:36667 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754829AbbGFTLA (ORCPT ); Mon, 6 Jul 2015 15:11:00 -0400 Received: by widjy10 with SMTP id jy10so169401398wid.1; Mon, 06 Jul 2015 12:10:58 -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=InfGvZevgPFbey0YqH7uIdbVSxH+WBBVUbsWUFp+4zo=; b=axYVgWkwNsSOufbtlq2roVhKvOsv/Md/Jj7XNRiTdOXghqrgpCae3zH7rTzUL21IRm 1E90l4YR887oj0YUpAughoinfIfMh7rFow4KpZwomwb01ntkFhNZ9G9LIhrDAVHm7AHl 2rWpYAz9Cb5VrY/VA+wwX+s5rD4aVDRtd3xmyQ4q0YiUpjFWLfB3zFAIb9LE/06AM9YN fj88JCQsYC9aIQnR7qGU1yHWaelzsnGux5W0kvspi86aEhIlcHoDEYtRCk7vlqZzPpJ9 3mDPquQV9fh1WuunjLh1YqnVbm1gXrZlUW3WZz4kRhbBBsH/jf6fOKKL30wrfg3jTiJk 9jJw== X-Received: by 10.194.52.37 with SMTP id q5mr826516wjo.122.1436209858115; Mon, 06 Jul 2015 12:10:58 -0700 (PDT) Received: from Red.local (ANice-651-1-256-42.w86-205.abo.wanadoo.fr. [86.205.160.42]) by mx.google.com with ESMTPSA id dl10sm26347629wjb.42.2015.07.06.12.10.56 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Jul 2015 12:10:57 -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 v10 2/5] ARM: sun7i: dt: Add Security System to A20 SoC DTS Date: Mon, 6 Jul 2015 21:10:45 +0200 Message-Id: <1436209848-16530-3-git-send-email-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.3.6 In-Reply-To: <1436209848-16530-1-git-send-email-clabbe.montjoie@gmail.com> References: <1436209848-16530-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=-7.5 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 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 6a63f30..ba049d3 100644 --- a/arch/arm/boot/dts/sun7i-a20.dtsi +++ b/arch/arm/boot/dts/sun7i-a20.dtsi @@ -731,6 +731,14 @@ status = "disabled"; }; + crypto: crypto-engine@01c15000 { + compatible = "allwinner,sun4i-a10-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>;