From patchwork Mon Sep 7 16:24:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Cerveny X-Patchwork-Id: 11761615 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 D7B2F59D for ; Mon, 7 Sep 2020 16:58:28 +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 9F9F12080A for ; Mon, 7 Sep 2020 16:58:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lYJIWaVQ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="jw/4R/uQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9F9F12080A 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=LSXOMOCLn6TkOIlZJlZEizkccTVzgiBpvYbwuHAhAgU=; b=lYJIWaVQIVaqYwlb4o9AdUEDXJ in/KGHID8/lGu3AJy+BTPOIWM8HchIIo6BMBYuGuBqkf0NIw83YpTpxwrzOG3bdHl31hlL4HpWar8 joiW5yGgkcYXCWZ3csaohGyrvanPWI0nnFJHvOCYp6pnIiYnPDmqE0nqLXONo6rKHm4XTt7uQ855W wH3Uu7wx+OW+ynnjDymuTCVuEn/5t4CX0FJyGNJ6+Al14nQtOskXnqst1M932l3i1K6RltdLxd7KQ /ddeWg/VXrIrUTobcmRkWU8VRjGnJtIhynge5NG6uMpj6+WFG3EpRT0g7YIZwbGagHF5NBpAfAzM4 /vuchMUA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFKRy-0004EU-Mp; Mon, 07 Sep 2020 16:57:03 +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 1kFKRx-00049w-7D for linux-arm-kernel@merlin.infradead.org; Mon, 07 Sep 2020 16:57:01 +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=rHwMMV5CDI27KVM0Aok7QqjIOS/1fl2X0f+xxc2PNXU=; b=jw/4R/uQxAdNL9LTB+4dxNNckZ bbUft3xf4eAwZLSSZtk4Aevuof6xM9RLAfCuLBDGLOrlGmKHtoW7u80APZtdjQrwd04TphWSC6awV u9BcEJyHOPoZUOgS/hoIuAANzKDgnnFn54ouqCZiCcAPxl1YqVDXRS+aq8s5XfuD/V9HJvJKOvoHF DRAzWdZt0Zmre62pAVahUHoyeGOhGjd3yCXaB8x0M7rMlARo6U5SoXIlE5gZ6bK+fRRSBez6y5+2i dE+55ozMtRhAHqp+nOuaHzlv08Fg5BemnruMZ9c0cC+oAnN4CT9Q0jsPY3dm8pPJy6SUDiw5udOPR sCRhOIWQ==; 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 1kFJxk-0000Bn-DO for linux-arm-kernel@lists.infradead.org; Mon, 07 Sep 2020 16:25:51 +0000 Received: from ubuntu1804.c-home.cz (unifi.c-home.cz [192.168.1.239]) by dmz.c-home.cz (8.14.4+Sun/8.14.4) with ESMTP id 087GP1f3019439; Mon, 7 Sep 2020 18:25:09 +0200 (CEST) From: Martin Cerveny To: Maxime Ripard Subject: [PATCH v3 2/2] ARM: dts: sun8i: v3s: Enable crypto engine Date: Mon, 7 Sep 2020 18:24:58 +0200 Message-Id: <20200907162458.23730-3-m.cerveny@computer.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200907162458.23730-1-m.cerveny@computer.org> References: <20200907162458.23730-1-m.cerveny@computer.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200907_172548_723807_132236DD X-CRM114-Status: GOOD ( 10.05 ) 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.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 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, 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 A33. Add device tree node. Signed-off-by: Martin Cerveny --- arch/arm/boot/dts/sun8i-v3s.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi index e5312869c0d2..6eb9c39aa93f 100644 --- a/arch/arm/boot/dts/sun8i-v3s.dtsi +++ b/arch/arm/boot/dts/sun8i-v3s.dtsi @@ -234,6 +234,17 @@ #size-cells = <0>; }; + crypto@1c15000 { + compatible = "allwinner,sun8i-v3s-crypto", + "allwinner,sun8i-a33-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>;