From patchwork Mon Jul 6 19:10:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 6727241 Return-Path: X-Original-To: patchwork-linux-arm@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 DE0DB9F38C for ; Mon, 6 Jul 2015 19:13:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 187D7204DE for ; Mon, 6 Jul 2015 19:13:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4596520457 for ; Mon, 6 Jul 2015 19:13:07 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZCBnY-0006Qv-Sb; Mon, 06 Jul 2015 19:11:24 +0000 Received: from mail-wg0-x236.google.com ([2a00:1450:400c:c00::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZCBnR-0006HG-K4 for linux-arm-kernel@lists.infradead.org; Mon, 06 Jul 2015 19:11:18 +0000 Received: by wgqq4 with SMTP id q4so148852634wgq.1 for ; Mon, 06 Jul 2015 12:10:56 -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=VxR0M9il63+n9qwQn1JtQN1+UjvPG2FP8nv+pfMVUCQHMEAO14shIyuiHhIhl4j0kp OKH7XCFhWEAqCRnBQwg85UjlN+RncerBEocxxOgy8BdkTFc6ODGBOxCaT/hvFJYoWwaD yprKSfgIcETFslNPAaqT2rRIGU6wJKcyX3yx3f/g84XGir0gnq7pWZDav6+Zqho/ZVXv znhdffjtHhu66mbNTbfbUbh1BTrPKvf3kCoxMyaQxbBosH60fBbyTCQxFnY+vk0mNK6f j1sjtsxfaQOaE18Je6SQwuH3CMoUfYfI3WTYx77g7xt3QibQhDRoRHPM9GKdmyZ+Koh5 VIiQ== X-Received: by 10.194.6.229 with SMTP id e5mr771850wja.158.1436209856051; Mon, 06 Jul 2015 12:10:56 -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.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 Jul 2015 12:10:55 -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 Subject: [PATCH v10 1/5] ARM: sun4i: dt: Add Security System to A10 SoC DTS Date: Mon, 6 Jul 2015 21:10:44 +0200 Message-Id: <1436209848-16530-2-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150706_121117_811250_5B2D640A X-CRM114-Status: GOOD ( 10.18 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, LABBE Corentin , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, 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>;