From patchwork Tue Oct 1 18:41:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 174939 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp8934140ill; Tue, 1 Oct 2019 11:42:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqwqQ4q+Wj5Fl51TRYOkmZG2qmoURt44jVBvGwJ0U7dg5XgX1NIRAvPHyMA0aWSH6RysgA7i X-Received: by 2002:a50:f045:: with SMTP id u5mr27331839edl.297.1569955357044; Tue, 01 Oct 2019 11:42:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569955357; cv=none; d=google.com; s=arc-20160816; b=p89KYpRWoPW4fh2pkBWaXNpeSGR1AMfcVElF8aw0JcrRmq7kyPgmABU+wZDUEmeaOI 9hEoM2kYV8/ZJ5hIGH7MJ3hUKsMdoZqhulQYJ0EUEJIdNPgOfMXkYVz2ZLiTmCOldTYg 0ooijsz2wKRzpoXA2QEc60D0y/9zt5lfqruHM5IL60wSfhX0RRcGqrMt4d5k/H3xrDbv HUxZQjNWku479HtbSjNabBwxR/aVE5RuEMI0F+MbWR174UN2pBFl909eheFZ+5jM+Vc+ +z5giIGncqYrNGwUXhAGn8mgZk0soMY+PzUCYVt4BUPWkH6UpnvMiuHV5eJXJAWvQjrq 1ZsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=N64UCPhRuRaa6HAihdDNhQwAdS9v1yZICEy8f66AWK8=; b=gjNa7Fv7q2odwyOuJXIHYWZRtNzlX89UvJiaYRfEMKWlL5FPhN3vfLtTcBnndyl7Ed VKULuNkMlcr7Fp0a8uoVX/z0IxfqRZuqls59SQO5zvSVFAHxx9eTIp4pG3dDt1IoaJRc l4cnVy5wgolHGYlTu66fesclX4WN8ulA6jT2xqbEn6021N+O0uScsAqDSueR+86th/zd 8IF8xe08DlH0ww7m9f7soF4ZUws6B1rvGveEVwaicxtS0zRKhBzDGJRhkWYtT/JcL5Dg wKlIF1NGIkQ0vaWzPsrPCTS8535C0ib+otBZzqL18/h/QO/+pZ2/5bo2YYZBxTkbYSJn /vxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=O1xmlx6C; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13si9690467edx.156.2019.10.01.11.42.36; Tue, 01 Oct 2019 11:42:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=O1xmlx6C; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726973AbfJASmf (ORCPT + 27 others); Tue, 1 Oct 2019 14:42:35 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:35638 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726594AbfJASl4 (ORCPT ); Tue, 1 Oct 2019 14:41:56 -0400 Received: by mail-wr1-f66.google.com with SMTP id v8so16786546wrt.2; Tue, 01 Oct 2019 11:41:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=N64UCPhRuRaa6HAihdDNhQwAdS9v1yZICEy8f66AWK8=; b=O1xmlx6C9EC5XBbxeoVyiJrS3gGf4f1W/RN3tQijnQjE2kuLHnZmgZrp4GyCFlBdnS K9YbKIvSMj947VSwn+gLwunCBZPhpP2GHeAlMViF0UqcwR0XWCYi3N5R06Nv46Ue6JHR GnwbW+f7VMgFs6Ybai2Q5VYSd5juCmJD4lq7F+3iG1J/ouDRnjPHDNGrubtu0WwU7Lkm 8lc6fS+GhY5WrLL5e4Ot4PDOCgFD4Zc980Z4i7nM8R4zY8P82vp+MMC+HxBNTQz3ysHL GTCBT1avmdW2sfSgI1tX+zb12tLPwJ8pnaXzx1YQXAYEormP2goCYcwadRuZptinhUfD +Tpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=N64UCPhRuRaa6HAihdDNhQwAdS9v1yZICEy8f66AWK8=; b=ig6aUB4MblzEYBMfhLvrcFjAhQ8GCWHIvtJEvAtgztQltKhjXtJ0zzE1W3x1Kuuw4L tuI2kVoA4QHMCy1g4JDuYWdx1OyHFS+3BLGdAebnNIgwQVREqopfWwyJnXZ5yn0lmqeh Hr0QyqNtL/8wZjJ5n2t5yYZFeQUKgIV8ProRu8apFGV7FWBVuf3oRcN03Xc3UvACey+i Ist6E9EbkZTDfK8qZie4Zw7Kb/sdMxVLwXE1iryhGQ+sTZ/Y0PU7/iNpI7hkSLYbj87E nCwc0uyasnebN3L1yWvdDsdo1LobGRAIz0yt6ONt7oXX73NFTIlJ/mlHpKboTke0bsCD neug== X-Gm-Message-State: APjAAAUtgnWLDtZHwcGcJRepPOOKZiGA31OxkHtYOLCJvbb3Aj/PRDHE tAulYvI8/8NqzGnU1NOUigg= X-Received: by 2002:a5d:40d2:: with SMTP id b18mr18262783wrq.4.1569955313682; Tue, 01 Oct 2019 11:41:53 -0700 (PDT) Received: from Red.localdomain ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id n8sm6788987wma.7.2019.10.01.11.41.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Oct 2019 11:41:53 -0700 (PDT) From: Corentin Labbe To: catalin.marinas@arm.com, davem@davemloft.net, herbert@gondor.apana.org.au, linux@armlinux.org.uk, mark.rutland@arm.com, mripard@kernel.org, robh+dt@kernel.org, wens@csie.org, will@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Corentin Labbe Subject: [PATCH v2 04/11] ARM: dts: sun8i: R40: add crypto engine node Date: Tue, 1 Oct 2019 20:41:34 +0200 Message-Id: <20191001184141.27956-5-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191001184141.27956-1-clabbe.montjoie@gmail.com> References: <20191001184141.27956-1-clabbe.montjoie@gmail.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Crypto Engine is a hardware cryptographic offloader that supports many algorithms. It could be found on most Allwinner SoCs. This patch enables the Crypto Engine on the Allwinner R40 SoC Device-tree. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-r40.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.21.0 diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi index bde068111b85..1fc3297a55ec 100644 --- a/arch/arm/boot/dts/sun8i-r40.dtsi +++ b/arch/arm/boot/dts/sun8i-r40.dtsi @@ -266,6 +266,16 @@ #phy-cells = <1>; }; + crypto: crypto-engine@1c15000 { + compatible = "allwinner,sun8i-r40-crypto"; + reg = <0x01c15000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>; + clock-names = "bus", "mod"; + resets = <&ccu RST_BUS_CE>; + reset-names = "bus"; + }; + ehci1: usb@1c19000 { compatible = "allwinner,sun8i-r40-ehci", "generic-ehci"; reg = <0x01c19000 0x100>;