From patchwork Fri Oct 25 18:51:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 177776 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp4121753ill; Fri, 25 Oct 2019 11:51:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyInpUyOd2RN5hvh6uepNAwJIazMxahMkzCPMEQJTUrxF3Je4h7JfS5lZyBFXaROyokR6vt X-Received: by 2002:a17:906:e296:: with SMTP id gg22mr5059315ejb.211.1572029514650; Fri, 25 Oct 2019 11:51:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572029514; cv=none; d=google.com; s=arc-20160816; b=nu107OIVhCqoSj9tKllXhc3gKT8pqZSmFGotIyDotBXHCGy9/OTNYgKZgoLiG3rmJA SkZP8LfH28SvcJmrZZKLy2m5tWglxPckhQJnqrP71riZ5a5WriFZB4ddHtGe3ObsDByU /a2EsQ8VlRWOaCzx2f/A5D5LhvUU+w5SRE7eGa+FxHDCytHkrnokP6/SVaSWAy2OcfOE IZGIflkbfVYGov3jVIOfdQTshyXUFXkbTzBa1xonup8kghwO+2rAtm4gj+srl14iw23p 9PsnPzsTUWKYMFFdhb51VE62kN8c92cop/QGEnB4EIH3VqN3y4s9sYNYdB4EX2en/idx ETdw== 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=KGIesSOkGwApOOGAHM3QK9LBzsdCUeL5VgZ/hmT4hUE=; b=B8uHKppZm95NzjEdoAPMRR3fjUWfdpXBlZT7OJxj4MqxIqE6dUBES1MsOF58LfbNbC R9aN6h5n/U1zhQjuuV/AWyAULoDhtSRJ9ulNqZ57NHpKa+Irqmm6P5bMdNL0HKuHz3uK CjAarNmQomLZMJOszgWfiilDWiHo2B7pL4a0gdfyZ/mKpofj9Q0iPnjG1cYdwXwquv7q klC2FoGd+6zdQIB616dLiAYaLcKGh9Cp1Xb+zeLZUfeMvq5/PLM8GuiyZt32QgSCsDme G+I4x66LeWok38EXv62CWUMSZT6hzzTNNLlAvD83mgwdG8PTqOKxjBuYBaWo66bK0hNH S1bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TTLBq6Nz; 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 z3si1795673ejw.34.2019.10.25.11.51.54; Fri, 25 Oct 2019 11:51:54 -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=TTLBq6Nz; 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 S1728238AbfJYSvu (ORCPT + 26 others); Fri, 25 Oct 2019 14:51:50 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:40573 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727477AbfJYSvi (ORCPT ); Fri, 25 Oct 2019 14:51:38 -0400 Received: by mail-wm1-f66.google.com with SMTP id w9so3037172wmm.5; Fri, 25 Oct 2019 11:51:37 -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=KGIesSOkGwApOOGAHM3QK9LBzsdCUeL5VgZ/hmT4hUE=; b=TTLBq6NzJND6uythkPOsimx2qWJ7DMULExibFcNOgQWbcW69NIJNz/Zd5EAUfhoS6B E2z/IT4ilfKnetfuBDXXmmIoSvjqWeWo/1OSrV9PvPQA8wh+0YKJZ8vutfc8AxE4fD1t rqtKB8EshoYKYPUGt9p6i0gQl2FYA5R6jukLSfiFQnDgPYjAMLOLF+1YBseLOP1Wkp0i BEv7DgUrz7wqhn6MsGgZ5pY85pc88tujKIDxtoM7SFuVBxkl5jQpdkD2OKE8dV72JuUg 4MZq2szS214OMD19ifPgd2SeQgdRnBsCaGO/cIHYs+YlX/sjVN5tRCMHnkMfq84WdHGY tAjg== 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=KGIesSOkGwApOOGAHM3QK9LBzsdCUeL5VgZ/hmT4hUE=; b=fcEqa/tofXY1MhFW3cM0/oSyZSJU1278VPzeNYKVfybQi5HvAic5K61r6ljnHeuRya zv6A4QsnEZmM4aFabxMLjyM+T28hPVoeMKqG+sw/lZzKGIxlF/XSkZZIt6lA8XRkSTa/ 6SxMzTb4b2McvY33ylVuwc48GcWMUazYAjGj3IIvFoEh05Cum/nPjSmkKfPcAXamgb/O YN9VPgMppnVDhnG0KRwKNOLtdSCwwdX29gh0tcKccgLglp5M2LiHT6yge/PT4e3qGhvZ AqYBgO1fMQN29EEtQy7euBP0BQMnmKEEYx1NfhCbq4f3rjZKqNj7SvErEXWtsq5MADgs GqPA== X-Gm-Message-State: APjAAAUG/KdG3TxU9UoY9O3VQ07CXLnRBwYo4NXwTCOP6h3MFhAPBnpJ 5pAm24Dd2JHvAoAvY8D3cAg= X-Received: by 2002:a7b:ce84:: with SMTP id q4mr4528137wmj.36.1572029496587; Fri, 25 Oct 2019 11:51:36 -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 l22sm4821683wrb.45.2019.10.25.11.51.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2019 11:51:36 -0700 (PDT) From: Corentin Labbe To: davem@davemloft.net, herbert@gondor.apana.org.au, mark.rutland@arm.com, mripard@kernel.org, p.zabel@pengutronix.de, 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 v3 3/4] ARM: dts: sun8i: a83t: Add Security System node Date: Fri, 25 Oct 2019 20:51:27 +0200 Message-Id: <20191025185128.24068-4-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191025185128.24068-1-clabbe.montjoie@gmail.com> References: <20191025185128.24068-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 Security System is a hardware cryptographic accelerator that support AES/MD5/SHA1/DES/3DES/PRNG/RSA algorithms. It could be found on Allwinner SoC A80 and A83T This patch adds it on the Allwinner A83T SoC Device-tree. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-a83t.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.21.0 diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi index 74bb053cf23c..53c38deb8a08 100644 --- a/arch/arm/boot/dts/sun8i-a83t.dtsi +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi @@ -583,6 +583,15 @@ reg = <0x1c14000 0x400>; }; + crypto: crypto@1c15000 { + compatible = "allwinner,sun8i-a83t-crypto"; + reg = <0x01c15000 0x1000>; + interrupts = ; + resets = <&ccu RST_BUS_SS>; + clocks = <&ccu CLK_BUS_SS>, <&ccu CLK_SS>; + clock-names = "bus", "mod"; + }; + usb_otg: usb@1c19000 { compatible = "allwinner,sun8i-a83t-musb", "allwinner,sun8i-a33-musb";