From patchwork Wed Oct 23 20:05:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 177352 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp1214336ill; Wed, 23 Oct 2019 13:06:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqwcFj2Vv9zSuX9O925SjXOA/0H3UQSaF548mK/1wfQ2OUvidu0beyGX1Wep++9NyRZrERdg X-Received: by 2002:a17:906:5bcf:: with SMTP id w15mr13343218ejs.84.1571861162890; Wed, 23 Oct 2019 13:06:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571861162; cv=none; d=google.com; s=arc-20160816; b=Snn+SsUKwMHXhzI4ze8trMAqetOP3nEAQx3Vl7n2uOFlYT4YsGCcDRjp6geozmUBPS AFnB606tGouTyr51zXu1B8ftITqZuERupnXtp3jBadCPNPJ16pvLNpsVpwbub917Ojwv 4gtofpY7VO0HTZvTvvFYiOahY/lg4fqAXNVFeQXAxWVpP84mq4hTA9XItywTUSdERvOB SnxPoE/WJYUBpHIcPitdwc9Bk/eORhmO3Y1f9fJdH0FuT7kvYr9KHxDtaSIVAIwcskfR NvqEaToiulQNgYNtYDyWDCFwUDtVW+gNXPPfOylJ64OrUXlvXLIYd+4t2JqCEjP2piQS Kaaw== 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=GJDCD24q8FHHhxNDtUAkpzQYbJaDZYgAmYeaRlxpr/w=; b=xFFqqbdtTyEewLZ0C8HkiA9e57kB8noDMJ/P3pajB4iE5y/O/Nx9oTEA6TjaAAJKwr 0fCRw0Vit+Xp7pt8++wh6kgZTXzJkHu+yGxekTlng4/VH/d4Ip5QnwrS7XhkDAQ3bOf8 0hJtD1PI2nD7UHxg5A1196rC0RFEiysL2Q66ep8hx1Sd1drRu2t5hjellhYZdSwNex/a +2dOgWAC6CoF32FDGc+mryQONlw64wU+0Or00txNxnhuirkYwg/OG/kF1owuGS8fzYkY 2XQhwUiL5zg3RwKsSLBopyj8cslpBQSFCGVYxfz6aQiwa8UGPKRHFJ/W0zYMbBcKN/c/ OuqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=s8w8MapV; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 j34si6608069ede.297.2019.10.23.13.06.02; Wed, 23 Oct 2019 13:06:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=s8w8MapV; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S2405550AbfJWUF1 (ORCPT + 8 others); Wed, 23 Oct 2019 16:05:27 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:53329 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405443AbfJWUF0 (ORCPT ); Wed, 23 Oct 2019 16:05:26 -0400 Received: by mail-wm1-f68.google.com with SMTP id i13so270079wmd.3; Wed, 23 Oct 2019 13:05:25 -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=GJDCD24q8FHHhxNDtUAkpzQYbJaDZYgAmYeaRlxpr/w=; b=s8w8MapV69e3JsWasZOEMLauPJUZ8ZSM+v9jnGTDDI31XjLwQOwKBrePOfFPYh4Cvv OwmVFPMOd6BpDQI62gWj3a2hHruR4h89ss00zC84daPgX24frMWhE4RgFb6zIf1Qq3kR aiomojMuYZ77H3Lb6G9HRuzPqBPiIln1Wi3arN9PBsSiHdkh7f9wYV0oYa10suiqvD+Y swmGbGi0XDkN8pcoKy165+2CQxRrb2so3NrTdfQVJ4rFwdPfZdoBx0mJkdCZKdM2DMjW iVf0PGfCXNjSCO7hE5rk+qH/VyXVC/OBftun22MFEDRbycKIqyDb8W8ohbCOGcjMaBCp T6nA== 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=GJDCD24q8FHHhxNDtUAkpzQYbJaDZYgAmYeaRlxpr/w=; b=U2Gd7yqDr+OGL3QNovNEJbyqv0rYVdun7IW7vBEU28YebPulG6ESPMgg6sIXU/Zvmd 7tDuMg5yHGWRXVk4tOItGSeOLaQoVnOb/nTdD8ZRYajE4mNUEsvOtWe60TEqhbIwltwr 4oOcTfYnTjGuLqpW61ghRzyoXF8idxc5r6R9lZIdDB9b26cluSKFkVlrEMw9OEu9U41B VVeUFTca/nRG+rQOpqh54AhURbmjsDp3V9FFM7utYrZG/8BHR3X4ltiO9/xh99XIU2rj ksf8LYT0eP/nj5sMINjqTDziZ+Mg1JdA0OTw9DG4EarrGCPwPqtBqzNq8yGEjwqD/NT3 lxmg== X-Gm-Message-State: APjAAAUP86eJZGAPLpbqeQCb7g8QmgMvTE3IlNxQeJ/aPjAinLg+vc3G Y0v6sEiRAhrEbdlnQOhrP3s= X-Received: by 2002:a1c:f210:: with SMTP id s16mr1372636wmc.24.1571861124415; Wed, 23 Oct 2019 13:05:24 -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.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2019 13:05:23 -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 04/11] ARM: dts: sun8i: R40: add crypto engine node Date: Wed, 23 Oct 2019 22:05:06 +0200 Message-Id: <20191023200513.22630-5-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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The Crypto Engine is a hardware cryptographic offloader that supports many algorithms. It could be found on most Allwinner SoCs. This patch enables the Crypto Engine on the Allwinner R40 SoC Device-tree. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-r40.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.21.0 diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi index c9c2688db66d..421dfbbfd7ee 100644 --- a/arch/arm/boot/dts/sun8i-r40.dtsi +++ b/arch/arm/boot/dts/sun8i-r40.dtsi @@ -266,6 +266,15 @@ #phy-cells = <1>; }; + crypto: crypto@1c15000 { + compatible = "allwinner,sun8i-r40-crypto"; + reg = <0x01c15000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>; + clock-names = "bus", "mod"; + resets = <&ccu RST_BUS_CE>; + }; + ehci1: usb@1c19000 { compatible = "allwinner,sun8i-r40-ehci", "generic-ehci"; reg = <0x01c19000 0x100>;