From patchwork Mon Aug 31 07:31:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Cerveny X-Patchwork-Id: 11745663 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3709013B6 for ; Mon, 31 Aug 2020 07:40:58 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 047EB20738 for ; Mon, 31 Aug 2020 07:40:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="s7f3GdTB"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="BHEx/EDa" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 047EB20738 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=computer.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=DgMw7shNZEqo8w6TCm9eRLKkWpZD+6BMJ2915GEdE5A=; b=s7f3GdTBJL3AQxaQgEoIHJRuqH wjH1RSwVxeDFyEnwUqjiGE1FdjwBnCBKs6EMQdsUAX6v+Ma9tPx9lC38U830HYcNli0pABTHwBpP1 0KsUbNfe1Y1FizR4A4XIsNPBu0ySGIwWQs3E65Teq5FLUVSagi3x7IPqTI/d3kwFZWGSY5wsRknpV Xn8I+aJYITwSLMSIvZLq6yxgtBJr21rcxg2kE1m5FN3Snx4fpo1N5eaAeEKJX3wlToOr8FwyuBHCi FzYlrftJzAVtCcX6h1GrqhItwX+qIby3OvWh+VSMNkOf8GqIi5N8G/5/btjFvzBjlfgoPqU252bjg php5JFpw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kCeQb-00010y-Gd; Mon, 31 Aug 2020 07:40:33 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kCeQZ-00010r-9q for linux-arm-kernel@merlin.infradead.org; Mon, 31 Aug 2020 07:40:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=QrtCNWVbgGWBT3IYPtcbZXA+GxkXRa4imXkmIHj8tpE=; b=BHEx/EDa9cvU5USHNQTMGqRth3 qSAiJ38O5nPhzUROYTUhHU8LTofA7GNMzFQBnfjardW+WVN36/UaXnixXNlY0Ry3ydd2hsiuBdqnt GoXs8BG+P8Z8afafGV7PIpsusl9aS1LGQ81L6Ly+L1Rhdn3kMyJPla6Z5r+nUrg2fzNgytG4faVTK 78uZvgiuZKl/civ5F7LoEStdwRVs0R7Sk6v2wESgRyhXpc6fR4Bgz+fzJyfYrJjZmm89T6dCDzXbG 4efhGE+sGJIY2jFo1zR1CMWbEMxxW6UWn5+mpb/Ik8v1iJOHUjYEgbxxxyAuze0SGSmJLWkLQzJU4 mi636whw==; Received: from gw.c-home.cz ([89.24.150.100] helo=dmz.c-home.cz) by casper.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kCeQU-0003Kn-Bw for linux-arm-kernel@lists.infradead.org; Mon, 31 Aug 2020 07:40:30 +0000 Received: from ubuntu1804.c-home.cz (intra-239.c-home.cz [192.168.1.239]) by dmz.c-home.cz (8.14.4+Sun/8.14.4) with ESMTP id 07V7VPlI005879; Mon, 31 Aug 2020 09:31:36 +0200 (CEST) From: Martin Cerveny To: Corentin Labbe Subject: [PATCH v2 2/3] ARM: dts: sun8i: v3s: Enable crypto engine Date: Mon, 31 Aug 2020 09:31:00 +0200 Message-Id: <20200831073101.3608-3-m.cerveny@computer.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200831073101.3608-1-m.cerveny@computer.org> References: <20200831073101.3608-1-m.cerveny@computer.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200831_084028_112568_610861AF X-CRM114-Status: UNSURE ( 9.55 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-1.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Herbert Xu , linux-kernel@vger.kernel.org, Maxime Ripard , Chen-Yu Tsai , Rob Herring , linux-crypto@vger.kernel.org, Martin Cerveny , "David S. Miller" , 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 V3s contains crypto engine that is compatible with "sun4i-ss". Tested-by: Martin Cerveny Signed-off-by: Martin Cerveny --- arch/arm/boot/dts/sun8i-v3s.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi index e5312869c..4fec84c40 100644 --- a/arch/arm/boot/dts/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi @@ -234,6 +234,16 @@ #size-cells = <0>; }; + crypto: crypto@1c15000 { + compatible = "allwinner,sun8i-v3s-crypto"; + reg = <0x01c15000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>; + clock-names = "ahb", "mod"; + resets = <&ccu RST_BUS_CE>; + reset-names = "ahb"; + }; + usb_otg: usb@1c19000 { compatible = "allwinner,sun8i-h3-musb"; reg = <0x01c19000 0x0400>;