From patchwork Wed Oct 23 20:05:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 177346 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp1213727ill; Wed, 23 Oct 2019 13:05:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqzTkGpcdjI6sI9Sll/FkxdIAQf4BLAGAVaOHZnx5+qTNGyc7wBAPoW442uXa0DUrMMdeSq+ X-Received: by 2002:aa7:cd68:: with SMTP id ca8mr17091938edb.58.1571861136169; Wed, 23 Oct 2019 13:05:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571861136; cv=none; d=google.com; s=arc-20160816; b=U3PAVaY5s5huOf1VlITFQPVE0OOm16OravSeDt4BKjaZGFWHrRIu7Tvmpte9USwj3N eTcy8FkwR7VvM70zPGeWpEr4XxS0fDdnVDw7sfXQLBt6ZU4af8FO2ou1bFZ2/bOulrsE psFl+IBOA/Y6LstJJ4SG0hHtbqXo+WfJIEvNIxM6j/q9xGtnFVPUaJ9XNbNBpVASZdNb 9AEaWObo7JipILxaHIixb/nOsmllq8NjGZzUcOyQVEkTGy7P61XuQye+EAnCXH7nYXaw xZhs3GXUx7m57qSRgUODLpjNVW4SdqImDnedH7E83nTEcM6ARBzP7uqQIBFgrKjcgVBl P7+g== 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=44TuELDtNCusYZupj5B8B0t5vnjX1mlerc4abRfeM5Q=; b=tujPTdBR20JXDxZhDtkmqQwRKU0WvsHaou4V44b2GZJu6Tv6I+UXytsK3fLTjKYRda cDjGNIIIlHx3jMRzLDMFgzsbrdFoWkVWF31ktUwOBEX7/UtLV4k1mzplKrQLMEbKGxNZ Fbb3NJWg7p6wzx11ZthERbtZE2lj257ueVj74ADe5dbEM9zfFrNojyiGRz3gQAr+osdJ AuEuYAbVu0KN8w5l1ow1Y/SRHceIXlUqpP0l+dOKnoLABlIaMK9u+Kh0guCNBZDiStQs tHmLGqTK83LW3zppVOGWknE4ibJwBmyHB79WgHgCsk7hvx09atzg+7Vkv9Ke+ugK4Pdu xV+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="h1/5ykbS"; 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 u3si12770036ejj.47.2019.10.23.13.05.35; Wed, 23 Oct 2019 13:05:36 -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="h1/5ykbS"; 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 S2407385AbfJWUFe (ORCPT + 26 others); Wed, 23 Oct 2019 16:05:34 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:52744 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2407354AbfJWUFc (ORCPT ); Wed, 23 Oct 2019 16:05:32 -0400 Received: by mail-wm1-f68.google.com with SMTP id r19so274715wmh.2; Wed, 23 Oct 2019 13:05:30 -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=44TuELDtNCusYZupj5B8B0t5vnjX1mlerc4abRfeM5Q=; b=h1/5ykbSeK2MvTxfvsr+9IgQVPUcm525MFfBL54hFqWeOoUeG14PcdjHy/oqw6iRLj S/aazg33LohoatqDWTxMxdaDV7nDwAiuIaKDEPxiiDFvWGbSsWoa3+OJiBSsTBPuryTb UayPoR6RAYUybFq7HO+NzsRbxXzf17cjMz+If8YOSdorOb/4j1uCGHF20LU55V86QzGd DT12sHqQL1emWnjPo6A3M7YIaNSr29uYi/tULTWTLbvRbMZz8CgVL5yrBsh3WXPeVA8P ytdTwD8E+2ZZIRVudT4t9t1izDcnJu7GyM/0yod4y/0LmAk6Bx/daC47gg6kQalPIebp jk0g== 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=44TuELDtNCusYZupj5B8B0t5vnjX1mlerc4abRfeM5Q=; b=lJxmiok9sljmtKqXDEwg/QLCQLKydty03r2rWsp/jjqD/2jaVEdu0I55CmXPB7nlQ9 Pus5MsjjBIe01IINujtSpIPnI+lQP4Gqrwpt1H/6b2GkiTXV8x5gNXHUqSMPGkK7ABH8 V9/4m9K8bSzrfCTAZuiPw1WoTzd8StRVsSN2RwijrJZa0SUQmLRjlu41I5g1c+z95+sL 7b6pNEXqY4vWUMjhGhoNi9QR2C2dO6dT86R5gdm5Gvu++TlOBA6dF3Tqq/vFFwn/qy+m 3QhkrffKAQk3maE9vV5Nu11YqJqXOJTJMUVEWX7Wr7heAVklsZFtcQ7UcsU2LrX+XxbC jpaQ== X-Gm-Message-State: APjAAAVvzbprCYJGBN0GHRJ7ZY8E8QwTAKyuFOlrPSWucwxuQJaYZTus S3WPyDGj73Ka5TmVtw+dUbU= X-Received: by 2002:a7b:c652:: with SMTP id q18mr1360450wmk.148.1571861130332; Wed, 23 Oct 2019 13:05:30 -0700 (PDT) Received: from Red.localdomain (lfbn-1-7036-79.w90-116.abo.wanadoo.fr. [90.116.209.79]) by smtp.googlemail.com with ESMTPSA id b5sm177555wmj.18.2019.10.23.13.05.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2019 13:05:29 -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 v6 08/11] ARM64: dts: allwinner: sun50i: Add Crypto Engine node on H6 Date: Wed, 23 Oct 2019 22:05:10 +0200 Message-Id: <20191023200513.22630-9-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191023200513.22630-1-clabbe.montjoie@gmail.com> References: <20191023200513.22630-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 | 9 +++++++++ 1 file changed, 9 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 5d7ab540b950..89d09b441abc 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -149,6 +149,15 @@ allwinner,sram = <&ve_sram 1>; }; + crypto: crypto@1904000 { + compatible = "allwinner,sun50i-h6-crypto"; + reg = <0x01904000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>, <&ccu CLK_MBUS_CE>; + clock-names = "bus", "mod", "ram"; + resets = <&ccu RST_BUS_CE>; + }; + syscon: syscon@3000000 { compatible = "allwinner,sun50i-h6-system-control", "allwinner,sun50i-a64-system-control";