Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2160789ybe; Sat, 7 Sep 2019 09:59:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqyFbFOdjrs6aWNU9ZFD3N1kCLT2pEVEAESIWeO9sL06Cu+UTMJOSNCv+V+AaO9yCUAAG57+ X-Received: by 2002:a63:f357:: with SMTP id t23mr13671825pgj.421.1567875540559; Sat, 07 Sep 2019 09:59:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567875540; cv=none; d=google.com; s=arc-20160816; b=gu5omEeYlklnkmSdDKS8qQaaggBk5RGE+JxxqxGHTrFrXfI55mmlLneh918Fg5JZhJ LBdYjzOMFnleSXf4VP+m4IhsMPoPkCUD4prDViZICG0eqUWOi3mpK2ebWSwyZBjW01XT sQgJkdSBOQ4N66wtOZuwhPBnPdzLNEhHL/zFSbwU2LJxEFORYv2n9jZNdb1SfyQ7CeCN 8p1GN9FWNw4cZ8beE9WLAEey/LC3wEHSosZ7lnVQP7pRavqeet0IPconmp6/XrJxvFDj iF1aAEd38tjbMW7ZGSAsW7cip+gprGynoonpzLJ1xoBziz0XVQ0SH/cOa5EyPfFX675v YnXg== 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=f5t3zhoR3RfkeeCxhIwf2rf3xgfwu01/OJcOf9PrEec=; b=Rhk/0bh4SF3HnYmFREeWJVe1eF/H1NBUiLT0wPecdRYZzrBCaRr8CzvWFf5t5tauLC mAqHr+pdKi19aeGR/xo9t+BONWQb5iJmrrbvKWezisDUVHuag9C+RocWc11tc+yUKxbf yUYM4QBaAPq/QQdLBjKn0Ln/SzEuO/sOBlcrEvU8j9tkkZZrtfnzs5heivRkG6qfFZ4g IvvzvOXQAUnGj7R1TgGr8lQm0NxRVkoekGaoc4DlXSwSrP+zulnmutjOye+CRZ2HAZEi Zsy3YeeaPg5xa+aJe/ZgzBRpHH7I8mYx3L/O+BVuaZTiMt5cHvOumZk34AWDqbPR5IpJ V8OA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oqF++9+S; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 z18si9862320pfk.120.2019.09.07.09.58.47; Sat, 07 Sep 2019 09:59:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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=oqF++9+S; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 S2436641AbfIFSqj (ORCPT + 99 others); Fri, 6 Sep 2019 14:46:39 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:46701 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2395376AbfIFSqR (ORCPT ); Fri, 6 Sep 2019 14:46:17 -0400 Received: by mail-wr1-f67.google.com with SMTP id h7so7599990wrt.13; Fri, 06 Sep 2019 11:46:15 -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=f5t3zhoR3RfkeeCxhIwf2rf3xgfwu01/OJcOf9PrEec=; b=oqF++9+SpbMo/KW24R+/jjUd2tj8D9lulEIyiUTjAaqRg9yH+SueSFntF23gdNjUeT CKRO/mKS4pkej7wwckSIO95TxZ71BMjA201QBlQFpIutN9WDYyRrdtSU1abY2rDEcSoa rpMmiggvRfxQcaG2tmvtxZJ9R4lbZsUFJqHUoH5CX0BR4gLTMKUh9qpo4wICvfPJdVd5 i5AfRQ58PxxuyiXuxq+WPpyMa688V5TbGoiNu1qwLj9AstCZGnNIDckKRTfJ7cIB62kG 33xPZ/sHi+NQ7Gn1EY6w5FzBwH1a2WmYJKohrVGuo8KFR6I8AduANY9gH8hfmG4myh3u 9A+w== 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=f5t3zhoR3RfkeeCxhIwf2rf3xgfwu01/OJcOf9PrEec=; b=GiGUMG/4Fc7CF7C7QTSc9JQh/hE4oNc+Bg71URckJ6RbcJFEoNwFIJ090OCQxIaHTG FFiL0+Ma3hu5op+S2ZwLcDL287Y7M5k/wBf0FT2AM7D1QZ9BO///D9WiBLnc9+1T9Nbs Y7lDtxq/FEebyMCK29LgJ3h/Zo6CyTlMoGhv1jcuaVSLwujuiqZVn8AAXVn2fkBAH/fU 6wQ8y7FH1VGyMgm8/2vOvjMth3m0KuADOhbAoLDL3mvvkM+zq6CQ/TKNdxsNMBYo3Bpf lXPVoFnQGm3qDruSuHCEvTWWeiJ1GQldokJAcdI00hnPQNVBRuX+zQFJ576Q36Nkm31w naAw== X-Gm-Message-State: APjAAAXltZfBAU9GQbii3ALyYez2Y6Bwmh0BsLqaxdc3MP2nx/sQ98Hl jhOYOq1QK5PDP4Gcu1b/DyY= X-Received: by 2002:a5d:4408:: with SMTP id z8mr8252982wrq.106.1567795574866; Fri, 06 Sep 2019 11:46:14 -0700 (PDT) Received: from Red.localdomain ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id j1sm8677577wrg.24.2019.09.06.11.46.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Sep 2019 11:46:14 -0700 (PDT) From: Corentin Labbe To: 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 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 8/9] ARM64: dts: allwinner: sun50i: Add Crypto Engine node on H6 Date: Fri, 6 Sep 2019 20:45:50 +0200 Message-Id: <20190906184551.17858-9-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190906184551.17858-1-clabbe.montjoie@gmail.com> References: <20190906184551.17858-1-clabbe.montjoie@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org The Crypto Engine is a hardware cryptographic accelerator that supports many algorithms. This patch enables the Crypto Engine on the Allwinner H6 SoC Device-tree. Signed-off-by: Corentin Labbe --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index 0754f01fd731..51762499ed06 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -149,6 +149,16 @@ allwinner,sram = <&ve_sram 1>; }; + crypto: crypto@1904000 { + compatible = "allwinner,sun50i-h6-crypto"; + reg = <0x01904000 0x1000>; + clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>, <&ccu CLK_MBUS_CE>; + clock-names = "ahb", "mod", "mbus"; + resets = <&ccu RST_BUS_CE>; + reset-names = "ahb"; + interrupts = ; + }; + syscon: syscon@3000000 { compatible = "allwinner,sun50i-h6-system-control", "allwinner,sun50i-a64-system-control"; -- 2.21.0