Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8697799ybn; Tue, 1 Oct 2019 11:44:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMtW/VopVRv64uI+WhB0Wk2pB07IEjIoZeAtfPkxyEWzuEN17U2+qyiIJBNP8VQkMGR+q4 X-Received: by 2002:a17:906:e0d1:: with SMTP id gl17mr24570140ejb.99.1569955458193; Tue, 01 Oct 2019 11:44:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569955458; cv=none; d=google.com; s=arc-20160816; b=naAWa8T0lVxn/fihojL0xKoKSIZRc3F1hLmvxJAtzj0degPucUHAu74BSgvR8oDMiR rTGB8M081N985ItSEIIN6EMwagBmfr5rrb2UeJ0H+/m9RDHMNu0JJ4g7YsLEXlkdq7nd oupss1xIsPONrfxgfWuk21XeXd7eyro4sHfrNxNLzZSWj+qBq5v5l8VzmZxme4ACcWfZ xxuBSuc0ECTUlR/KKptdouOWL26Na7mgklxcCmIPkki59HDG6Ss1NYJ718iHKKBrsyCB /t7Edh/51nt/mIxT1AqEbnVK+xZlr8zbQxHfiVkaHLJkhg0y3KY4dK3g3g7ThDdU++bV BxHA== 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=Xi1PY45A9Lda1Y/IC4dXlxysdfAnSBFMqs5iPhi/26s=; b=tOpiBaZ1ZAMnFFsnrrdSPIo235uj0VyxHHFFlm33AvPHmfYcqwir49PBdrg5OL6Yha xjc/Psd1iKWOHRA20dDMe0c1yFGUIxB4TaxJ8lQppcxBw8m7sQPRqjgBEZjL2YyMzCKD TMLd1u/xSnLbStcn962XoXTvI3f7AFNxe/5LiJcuH33F4RJlUDB36u9CCbmXy3vc7vaR dQQrQ+5hA1wTnY8vDzFvmDQ83vAPmteEOqu+ciR+Xkixa3dLIYTzi9dD05ycbEcbAgMj 2sDdjp26LHFQ233a2zEtXb62aCN1Oi0GzTrVllP4LOxsdfBjQBmZuiBiqovZDJ4qVaLA jHfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EC5x3JwI; 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 c36si9285879ede.323.2019.10.01.11.43.53; Tue, 01 Oct 2019 11:44:18 -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=EC5x3JwI; 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 S1726928AbfJASmd (ORCPT + 99 others); Tue, 1 Oct 2019 14:42:33 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:45945 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726602AbfJASl5 (ORCPT ); Tue, 1 Oct 2019 14:41:57 -0400 Received: by mail-wr1-f68.google.com with SMTP id r5so16713445wrm.12; Tue, 01 Oct 2019 11:41:55 -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=Xi1PY45A9Lda1Y/IC4dXlxysdfAnSBFMqs5iPhi/26s=; b=EC5x3JwIylYQhvAu+JOamaLobk+oW0aExLC799Z4z9fPyYJ89gDZcisO9TRmBbVBp+ lI5Z7V6JScNpSW299UlXWnqWlz6F9bKr2r/n+I2K/WS439+NUIath3JX28iqz+gVU0CF 7kaNoALlmdHAxkEpYeGIjYQlTmPSmAmRERSpUGlZwTmLFWvC+ygvBuP1ueVBdU2+Bgny mRPFoNrfDF9ddT1Rpzdw6TtGD1GFaI/tqK32mb6o/DOnxSV+KnoW9YzZsAJlR3XZAL4v /o8DqYg3q7PUDpOyEauSFQTt6IvqR0Mi96MUSSi/pcsvjgW+JsaSikrHcqyrdVrU9SMZ pL5w== 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=Xi1PY45A9Lda1Y/IC4dXlxysdfAnSBFMqs5iPhi/26s=; b=t+tz38zSs5E9G8ckxAU3Zpy3cyPIXYNMKOuvGtdqBh3GKOsLj/WzaVya1Vz62qKrWX AFQd184wglGF6ZSF5SlcKz5ue54gLCt2Wms7JuOaCE6ReuFxmBs7F4TOgfa8m7RFgare TwaFJnhqPrC2bHhiYRTL9nz9NIM+V0aoYM/7IkXZL0YrBbPRWx6+U/ejR5D3Gon4X47V KK1wD+1Kxb2cBgh4v6rfRpu52dU8zOYnzt1cBPpIJTdPhTnZd1ACH0Dud9pNieI5+CzZ OC/gfcm7JQX1RaZ49V8rgpl4WybHRTXW/yTGCQ7j7ACl0qPCdu9CqDBaRwftg2xN3Gtg Rn0Q== X-Gm-Message-State: APjAAAU3LsodZo/i95BtwdGcVZJy70iSeyMHb1YuDR/Qcb/RUi2SD28z sa385YcZU7DPWlNS1HtahLw= X-Received: by 2002:adf:e9c5:: with SMTP id l5mr18834973wrn.40.1569955314989; Tue, 01 Oct 2019 11:41:54 -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.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Oct 2019 11:41:54 -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 05/11] ARM: dts: sun8i: H3: Add Crypto Engine node Date: Tue, 1 Oct 2019 20:41:35 +0200 Message-Id: <20191001184141.27956-6-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 Content-Transfer-Encoding: 8bit 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. It could be found on most Allwinner SoCs. This patch enables the Crypto Engine on the Allwinner H3 SoC Device-tree. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index e37c30e811d3..778a23a794c9 100644 --- a/arch/arm/boot/dts/sun8i-h3.dtsi +++ b/arch/arm/boot/dts/sun8i-h3.dtsi @@ -153,6 +153,17 @@ allwinner,sram = <&ve_sram 1>; }; + crypto: crypto@1c15000 { + compatible = "allwinner,sun8i-h3-crypto"; + reg = <0x01c15000 0x1000>; + interrupts = ; + interrupt-names = "ce_ns"; + resets = <&ccu RST_BUS_CE>; + reset-names = "bus"; + clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>; + clock-names = "bus", "mod"; + }; + mali: gpu@1c40000 { compatible = "allwinner,sun8i-h3-mali", "arm,mali-400"; reg = <0x01c40000 0x10000>; -- 2.21.0