From patchwork Thu Oct 10 18:23:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 175801 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp2659460ill; Thu, 10 Oct 2019 11:24:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGMoFdfpI3nRLM+jCVxGmDQRL3N0Z+To00hYNJlrws/hNb/kXYo0RJxzfRtZoSm2AoIYRR X-Received: by 2002:a05:6402:1b91:: with SMTP id cc17mr9383586edb.180.1570731853540; Thu, 10 Oct 2019 11:24:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570731853; cv=none; d=google.com; s=arc-20160816; b=KVUMVoxH7DzKR7SYVFLSYL0yoIFcmzdQ1whURhEamQfBWa6DfIMivz6cnQgDpFavWJ Q7xaSCZlXIA5dRQ2YdDO+UPylMRE2HTTkqDP0SVU7WFyrI6VvXTgC9ds8Tt0+wJkuUsO YxEXh+LW54tZc3QoQSPFvfJG+vg+uomZnEu16MrmZGaRj/Lz4MCoxvLBmstDD2NvUmHw ZDix3/fzQE82FTWOAjL1WJAjGtYtVCAzuapxSJwe6BgRJ/ZaNXqChbPFP1uMNncyq2dd QFirBcANI6aBRX8g/O7p3cwCPAzeVRw985Ro4ALXMeiDlGhbrP8GTtxxPXUtQ0TvAPm3 k3Zg== 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=LKdxoiXO2qcL2j7u49KVkFwVEXUyQJUfWzDkZKrEpxA=; b=020XpG0YDYCG7gxEIjjjNc7eAUuSyIzUZ11L8+heYDrzvVvscsxfq6Su/EZmRe92v6 esEmV0GGmXsL/BGJJsDRsacDrWmMtQPKlU8v96Qps2V3r3MT44GMxIJerelsQLezCC8J fmu8Dkr1w/EGpyDsHDjmJ+PH/CNHWkBEhN9xlKnWLAtSjSvTZ1XOoM9GN7spIA4P5ROE MEmng9Yv1toifNg9tJ4kRhYjXQ2LI5vb8CPe7Hrbkd77eQyNsoWu8nLx22Lhyh+x9F/n e+waQYGWJAUem9Vnx66lBuJGfPblp3w2favWRj9obgUYAGV4/PMISloI3ci3FsuvHvfy JkpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JbWgnsDu; 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 s6si3602800ejr.274.2019.10.10.11.24.13; Thu, 10 Oct 2019 11:24:13 -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=JbWgnsDu; 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 S1727089AbfJJSYM (ORCPT + 22 others); Thu, 10 Oct 2019 14:24:12 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:43192 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726994AbfJJSYF (ORCPT ); Thu, 10 Oct 2019 14:24:05 -0400 Received: by mail-wr1-f67.google.com with SMTP id j18so9043708wrq.10; Thu, 10 Oct 2019 11:24:04 -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=LKdxoiXO2qcL2j7u49KVkFwVEXUyQJUfWzDkZKrEpxA=; b=JbWgnsDuMhLpVCjb+YdJezFjZG8aXtqnOKnJXXWeKs7moUL5bxI6rQpxAQ7KEawMWh sPtpY6fMpMZIJLHl99Z0xBpbzmjsMnI4twZIUMajJ+QVKz1pHi3I0wv+u28p+18X/Ab8 mQhU0Z8IBU/kHkULCMgYxZYcFdLgzBYRDD2oynFkHbgBq6cyPMDQQT/b0pXWo3PQV8S2 WcNI2/uaDmFEo7l1GIusjX3GYEYu2We6fd0uFKuAVZuA7IyCwYjcrj3RSvpuBbBXRztg 3fgzz+50Jk4oFOoAc/7iHdNucBVVI5zInrZ7lj5WObSsD8XI1Rd7CDLTCJFiXgXP9V1q 0hnw== 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=LKdxoiXO2qcL2j7u49KVkFwVEXUyQJUfWzDkZKrEpxA=; b=fHHQ3U6n8CQkKP6NvEhJfWl3MFQNw3k4kSjo5qK1RZyRPtNDRelosPfvGjaiqiXuJv SVusqAQcn6YIJXxr5O7yeqStR29CVZ6dpSqFyMthL1Qrul00yhWQLuMBADszWndPfVvo E2rA6CRBEctURSQGK6QENbTiw02VBKjYqDUPLNhRCHO20lRptgYc8pIpBgrjWYOPk5ht 5SPGcrFjIuCoxAnQ1LSxW/gG84fEOalR2iSz9jGiNLioeZR6Zmp6io9XIVNJMd7XzylB aNvIKfhRdbsz2jG8sdymZshgR5Pqbbe+gLZ0+Sp030PlcrmCYXQsfdEzXCsmiv56VBr0 6NfA== X-Gm-Message-State: APjAAAWukYH2LWIlGh8aQ8Apw/GSAjqh6WXL671wyVvHZOA6pKL5Ki3L B58fnmJ1SO70mKk5z6URVDo= X-Received: by 2002:adf:f90d:: with SMTP id b13mr9538028wrr.316.1570731843957; Thu, 10 Oct 2019 11:24:03 -0700 (PDT) Received: from Red.localdomain ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id y186sm11367664wmb.41.2019.10.10.11.24.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Oct 2019 11:24:03 -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 v3 08/11] ARM64: dts: allwinner: sun50i: Add Crypto Engine node on H6 Date: Thu, 10 Oct 2019 20:23:25 +0200 Message-Id: <20191010182328.15826-9-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191010182328.15826-1-clabbe.montjoie@gmail.com> References: <20191010182328.15826-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 5d7ab540b950..68697cef8e5f 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>; + interrupts = ; + clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>, <&ccu CLK_MBUS_CE>; + clock-names = "bus", "mod", "ram"; + resets = <&ccu RST_BUS_CE>; + reset-names = "bus"; + }; + syscon: syscon@3000000 { compatible = "allwinner,sun50i-h6-system-control", "allwinner,sun50i-a64-system-control";