From patchwork Fri Sep 6 18:45:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 173278 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp1106861ilq; Fri, 6 Sep 2019 11:46:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzHY29NMIQpq+CvCEhOc2Q/MU2HpmnMrfILKRJRqVNtVXPCObWgSKqBdP05S8TvisjYJmgi X-Received: by 2002:a17:90a:9905:: with SMTP id b5mr11350956pjp.117.1567795602130; Fri, 06 Sep 2019 11:46:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567795602; cv=none; d=google.com; s=arc-20160816; b=jutXAsxW63WenAVDjn1vIdMmw7M0XTHbZ8hcgDKFSk+b4a3E4B3cnRRHJFPlsiyHkN /4I1gYxaTOcWWcjhgNBLy++r7WMNMRQmXjvgaNp8IUBufYfrlqLTBvB/pMXiVQft/ISO bvCvkrEMb9sZuBfFAXgwZ3h/pZiEioVMZifhhMvBK9IvEa8+DI0jrUsAMGxcbt08JQJN 2gGiTavQhlkSM6Aq1odnzJBl9wo/yIQFdsuEYDXEi3+avIfp5Bp5iRusZNb3rkJ9qmww FAUd29k0oOJYbMK/jTsW254h3WM9H0Utx7ivX8vSty1Du+fiS6G/WCIMpXeS2ujCvGoT AFnQ== 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=H8deKInCTTD7lAOQiAql/LKfHjLbfsQ3mixVpV1ZKgoMEAAQwJbHzRJUfaU91z7DP5 8xsakCQPLbP5W1mee2ulszKqTqnlfYIQMG7Ri47nZLOBQyXGsFFvQSflDOhcqgjIICdA lXrX6P0jBgEUpo16qIyhPzyzSGkpsTkpxmAmgV+MroLRSEEc6PI60EtcrBVtmBwP1JhE 9cX8xS1U76s2jHIA21uEhali3siV2Yb8vudAoi/eNxP+Z512cy6H37wIJfiUvdBmqsJI g/rEBadr30Y5TFt7BhLvCjUQE2g+JZ3h8TNcgM6kp4n9lBZqJfYrG/qRtNKb0gbheIes QVEA== 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-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 u6si5613761plr.69.2019.09.06.11.46.41; Fri, 06 Sep 2019 11:46:42 -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=oqF++9+S; 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 S2388289AbfIFSqk (ORCPT + 28 others); Fri, 6 Sep 2019 14:46:40 -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 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 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(+) -- 2.21.0 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";