Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8695763ybn; Tue, 1 Oct 2019 11:42:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqzCbsnzPZWXT+ShEgOMW1u6DtqpEdY9ER7XUzzsG8pzii5Ebiojfn65etZUe8sBNhqa0DIa X-Received: by 2002:a17:906:4bc3:: with SMTP id x3mr25143748ejv.200.1569955376321; Tue, 01 Oct 2019 11:42:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569955376; cv=none; d=google.com; s=arc-20160816; b=GTxXWNPsOZGwNnoNaLStDkCsjpPLFPT5hVYfcrENwxBS4Q939+6VAQ6NxBqmSRxe+Z WL8ZmQX2HLB3Qg4HDyE/jRT19vV6GUMmXeeHoA7tjYw4WlUF7NvSZ62qI8wY7+EB8/D2 1dCEwpUt3m9jiOayPXC/LjgEptWIAfIn7Wt2H5bARymi/ofxX5g7LNwyEHOg29/DQn1O Uy3eA7WZn03qeyZDIyF3upkloCR2+gWdya6p5b3UVRumOt26Go1Y7DkJEpLN+EsmRICY 0cBTr4B7aVoxwvwJ6cPTuaur9xKV213z1iNsxajKgrES/bYeu4y60VxvrrKKPetwWjGE iW6A== 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=3uq19lbLKTH7ULR+B4YPbGht8xy9goJU2ZUfKOHR3wQ=; b=XneI74qhYibSDo5VSveyzrcSyj4Bvx9jQ2a43CNgFtOe/Uc1C3N8u3gDMuyiBtVume uNgGT3Md2w+AtqbNFtQU0lHb2OddHe4str7JCx01tI9uNUY5kyPRk85/gfBz9WzLxfnO Nz2JC01ARtcgtLXzeI+bCaZyUp+0kb8O6IpO/0yWu5yCebZjgRpDIr7CS7G40yuIpiyP LPfqawwv6ygSymufo7Ph+FIizwCHKFvD6Az5YubUpOpwtIy6OYF/lDN+N+jt8VaLh7zq Skz1B/1FTfAlbeoth9QkcF0BVSJ/ozeQ+Q/LptS+73JlvxZjfPpB5pp/wLA/PcvbtX8W JKZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NSzQeSer; 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 z26si9900645edz.99.2019.10.01.11.42.32; Tue, 01 Oct 2019 11:42:56 -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=NSzQeSer; 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 S1726684AbfJASmC (ORCPT + 99 others); Tue, 1 Oct 2019 14:42:02 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:45946 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725794AbfJASl6 (ORCPT ); Tue, 1 Oct 2019 14:41:58 -0400 Received: by mail-wr1-f67.google.com with SMTP id r5so16713513wrm.12; Tue, 01 Oct 2019 11:41:56 -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=3uq19lbLKTH7ULR+B4YPbGht8xy9goJU2ZUfKOHR3wQ=; b=NSzQeSer4vnSEkVbCTPNiopU9iCEDjshU9Pk3d3lgXHtQ/q9dkbVaIdEQwOOU01b5A qtGJubL3DC5GGKNA4fEmdobaynyTVwbhHeXo1cNSDHV+3nl/J4aA8pIt/obMKHbRl59x 9q+V28cQjDmzhltMzLLPepfh0hULxmYvG/ljZx/RsbB1m5pMoWly7i60mQiOiAcHi50c V+c/Z+Ixy5hTC0O0yxuxciMP3Mlj2j2thjGZccW7GhDhNyyur23V1f6nufbCsmxk1483 2HEPKkZmRpRgvPrVkdMB1dg6J45fvT27kbF12jN0/IOjuUEL0KDOvXanNHJAHg4Ft4TA yTdA== 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=3uq19lbLKTH7ULR+B4YPbGht8xy9goJU2ZUfKOHR3wQ=; b=cViAXKElZrlWebn+6KlPD2b6bva7NfNH8N6acIiSBLu1MJLEPkYanHjpJ1vdxepWbr RtY3nmeWJkXTJor7kmYlYweqREKpYpvkeVlX0gLY/LlE3/M4bD6Qi8s3rKYOiJctpvPO mK+1Ik0GshohaJ2NGLpbu7/Cl6xwShCjhfLHZQpk/9n+zUjly4x/TN+UYLMOa8ARcQPv j3e5fbYrMFdDt4UknKLaJ5ABnyD9rPXz+ZM3webhn4ZYLU+ECLsBcPVznyXf9wwX9r1P kEXkcW54dXsrAoz9hpoggkGBElvP5uLSR6pjeVroMYA87FSrPYJn9u1Ra/NvbbEdH2IU cFyw== X-Gm-Message-State: APjAAAUzZpDIggyroOit515F3TNUPlCsRoB3aYgGJDUfwGzP7Vf7x5mr eFmbbRd6AKEJe6TvIuJlCn4= X-Received: by 2002:a5d:618a:: with SMTP id j10mr18178611wru.168.1569955316364; Tue, 01 Oct 2019 11:41:56 -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.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Oct 2019 11:41:55 -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 06/11] ARM64: dts: allwinner: sun50i: Add Crypto Engine node on A64 Date: Tue, 1 Oct 2019 20:41:36 +0200 Message-Id: <20191001184141.27956-7-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 A64 SoC Device-tree. Signed-off-by: Corentin Labbe --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 69128a6dfc46..9701d4280f6d 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -487,6 +487,16 @@ reg = <0x1c14000 0x400>; }; + crypto: crypto@1c15000 { + compatible = "allwinner,sun50i-a64-crypto"; + reg = <0x01c15000 0x1000>; + interrupts = ; + resets = <&ccu RST_BUS_CE>; + reset-names = "bus"; + clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>; + clock-names = "bus", "mod"; + }; + usb_otg: usb@1c19000 { compatible = "allwinner,sun8i-a33-musb"; reg = <0x01c19000 0x0400>; -- 2.21.0