From patchwork Fri Jul 17 14:39:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 6816751 Return-Path: X-Original-To: patchwork-linux-arm@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 EAD72C05AD for ; Fri, 17 Jul 2015 14:42:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0D568206EF for ; Fri, 17 Jul 2015 14:42:46 +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 C8C692067D for ; Fri, 17 Jul 2015 14:42:44 +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 1ZG6ou-0005cH-7O; Fri, 17 Jul 2015 14:41:00 +0000 Received: from mail-wi0-x242.google.com ([2a00:1450:400c:c05::242]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZG6oM-0004lV-Ba for linux-arm-kernel@lists.infradead.org; Fri, 17 Jul 2015 14:40:27 +0000 Received: by wibk6 with SMTP id k6so4397031wib.0 for ; Fri, 17 Jul 2015 07:40:04 -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=KRYTpOKpcxtQ9aM6YDEOxXDRclXk+CGbdRVn2QnF6rue8eJp95CWxb8viF32Wy+X3e Y6XRl7x1d8MDqDbuimvbwbl/t7OK3qzrftXBbau+H7+kT6GW9YU36dhIwb1bts1YnHSY zhkj+jIVsj2+NFpyTT+/+NnH0SCG7YohNTBaXS1XOCwKtqB3owFCJFQa4IRhH0hv9F9+ fhif1q1Rrv66yLUVoLJ+c4ivs/AyF8DctNEJGxV7QSFezp02qR9a9QcUvyT6+7g8NHMz 8NeT8TSF/wgDV20wfsAL5XYKHgzdVeRAZdpM9NM9hDfHqna+qMoqJp97nr+s9u4a1Aqe /Y/A== X-Received: by 10.194.108.5 with SMTP id hg5mr31941405wjb.25.1437144004874; Fri, 17 Jul 2015 07:40:04 -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.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Jul 2015 07:40:03 -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 v11 2/5] ARM: sun7i: dt: Add Security System to A20 SoC DTS Date: Fri, 17 Jul 2015 16:39:39 +0200 Message-Id: <1437143983-4479-3-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150717_074026_578567_D2A76E2C X-CRM114-Status: UNSURE ( 9.65 ) X-CRM114-Notice: Please train this message. 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=-5.3 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 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>;