From patchwork Tue May 18 15:16:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 442644 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 250F4C433B4 for ; Tue, 18 May 2021 15:17:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0071561355 for ; Tue, 18 May 2021 15:17:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350127AbhERPSg (ORCPT ); Tue, 18 May 2021 11:18:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344708AbhERPSa (ORCPT ); Tue, 18 May 2021 11:18:30 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6145C061761 for ; Tue, 18 May 2021 08:17:10 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id o127so5630734wmo.4 for ; Tue, 18 May 2021 08:17:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lsVhBJHSfM3t7nEcMYoG9OqldUiNNdLX6U7vkUGlUnk=; b=Z0WsPHLoM+Zmujcbc0B0PA+0U+Fq0gACHg9fclZ7v5C6CKTwDGxSYKS1JZh2GkUkT3 8utkEWQ40qoIVovor8RHE2fxeh9bIzaxZggi351iYcg5fznxZ+D5y1jDRoMIX4ML5Zyr b4dSLrwKBFy9VQNghpQG3UeQ7uQT7CKZlXLv8eaSBf2h0FVoEcTnZEDIYvti7AHm8kbg yS32qGxsgaoqSiX0CBnknzFEpsyYUPywXTu7/elw00+hr5nD/Ig/EJWaBEy+aZMkkOpf sn3W+VMLIp9XK8t9xGgmBiLWYTftn9P2Q3KgdENI2EQr59g2nqrr2f7JCM2qiqPBUVh5 +Qow== 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=lsVhBJHSfM3t7nEcMYoG9OqldUiNNdLX6U7vkUGlUnk=; b=frC3eyZVxLnrwaHaBNpX9dQDd6BfGOOp06JeSDx+efzhfV+xkEUEo81U2LwMIFQmQ2 Dd2d0Yc3fWedcyW/H6Lul7qxsP6FOiNK5WWm+WUQJdkdpaA1YuKAYsNp5PA3SYGkYEsk 6rLy03RP+lUnP32HJ7zVpZtwDJwC3SA+m3W8hDjonTo2f80XjoqoqTs3uno48nq6eix8 ldS3TumpelQ+gNagvSyYs8DcmGtF1gbdptblm66x6tl9ye7v18FCHnQG/ROjZhxz7Zn5 lk/QbQ1k2GO6yGgWjIROqtAnjfeMH67M5POcOjrvVQ5dmb1iTgLt+vzRxp+3rRkgclRq /7NQ== X-Gm-Message-State: AOAM532+1vx/SQs3hdoMnreeY8n5oyFwNMsvQ65fykOzZDde4PpUuvF/ nH25rlgF527YvbrY6wSUF2DRSQ== X-Google-Smtp-Source: ABdhPJyx8poY/JBy9Z3+f4eGLwN7ifEtmzpqeUGxvFn3FQWDoaZ0FXogJh8DOeukLQyf9pic97megw== X-Received: by 2002:a1c:3184:: with SMTP id x126mr5535649wmx.52.1621351029580; Tue, 18 May 2021 08:17:09 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id z9sm18005808wmi.17.2021.05.18.08.17.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 May 2021 08:17:09 -0700 (PDT) From: Corentin Labbe To: davem@davemloft.net, herbert@gondor.apana.org.au, linus.walleij@linaro.org, linux@armlinux.org.uk, robh+dt@kernel.org, ulli.kroll@googlemail.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Corentin Labbe Subject: [PATCH 3/5] ARM: dts: gemini: add crypto node Date: Tue, 18 May 2021 15:16:53 +0000 Message-Id: <20210518151655.125153-4-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210518151655.125153-1-clabbe@baylibre.com> References: <20210518151655.125153-1-clabbe@baylibre.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org The SL3516 SoC has a crypto offloader IP. This patch adds it on the gemini SoC Device-tree. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/gemini.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/gemini.dtsi b/arch/arm/boot/dts/gemini.dtsi index 6e043869d495..cf4b081c13d9 100644 --- a/arch/arm/boot/dts/gemini.dtsi +++ b/arch/arm/boot/dts/gemini.dtsi @@ -356,6 +356,14 @@ gmac1: ethernet-port@1 { }; }; + crypto: crypto@62000000 { + compatible = "cortina,sl3516-crypto"; + reg = <0x62000000 0x10000>; + interrupts = <7 IRQ_TYPE_EDGE_RISING>; + resets = <&syscon GEMINI_RESET_SECURITY>; + clocks = <&syscon GEMINI_CLK_GATE_SECURITY>; + }; + ide0: ide@63000000 { compatible = "cortina,gemini-pata", "faraday,ftide010"; reg = <0x63000000 0x1000>;