Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp567678rwb; Tue, 27 Sep 2022 01:14:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM43xmBZ3lpVS2ZHBvezwyrXZv+Ru0E0Uqq4Gy/kbyVUnDHJB7M0JscP1IwPZnw4nCv5Z98G X-Received: by 2002:a17:907:724e:b0:783:78d5:e47e with SMTP id ds14-20020a170907724e00b0078378d5e47emr8187783ejc.552.1664266454878; Tue, 27 Sep 2022 01:14:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664266454; cv=none; d=google.com; s=arc-20160816; b=fAUXT6+ro0V0eYMrXzCJA2aNaGKadz+0CjMFf9U9SYhjx2LazcxgUbR1DiPunasWpW 9MG2XULtINrdxT8ncCnV5IUTegyCM+wwq6o1gbs9/PRgPlUYjdE3brbgoVGd59MxOIy0 0UgdaNgO6u7q9DQcC5jLMZoHi9UncNYGGPTYTsxzOYQIRPw7WjfsLe+Wijs1oeYl7/Cu 8YjDvFKzPxBBIHglZgQTvo3ON1VH1k8OBGv5QE9UOKINLjqkAm4Hr5Ckx2qTEw81gr+r f+MrWdxrOg1d1MP6/lCsUrj7qfo3Yr8u91mbX1QAs56j1lyMDfWgB6+sBPllxlx9IZi8 BjwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=k3Uie5pxkgijukjmsxCrYCPs7jEPbo3aKWq5eUqCVmA=; b=S8UKgkYNSOAJdKg/skn/wBqJDVHFGshdtmEzk/y5bQS9UcgnlZe7gshMQHBHGlOK0l 1wg7QbqnBsrs1B7PJo9ksDIpFia2CWB4xDW1d7EMb0m2Eg2MO3FxWChEJZdgUsgC++pw 3CoEqquI8u6+7WgX61ZLsDJ3aYJWbdJTDcT0cfORSnmwyPBUrBoJrCvNiHAaT7MQeuTs kVKDjS2Vc+XFMGC+XfxAoGYk7fJ4adnPHRMY8yx2dRmubA6vLJ9EBm8h3QkNnjrzXdNF Za6QRPKIeHqyFdxvn3/NsYA5jgZTJ3yB11LwDcsAyBq2zCgYKLPrrmxIRt085M2KKasC UA4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=atrB2K6h; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt10-20020a170907728a00b0073866c0672asi695494ejc.73.2022.09.27.01.13.51; Tue, 27 Sep 2022 01:14:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=atrB2K6h; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230433AbiI0IH6 (ORCPT + 99 others); Tue, 27 Sep 2022 04:07:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229751AbiI0IHb (ORCPT ); Tue, 27 Sep 2022 04:07:31 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87641AF0ED for ; Tue, 27 Sep 2022 01:02:00 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id n10so13654140wrw.12 for ; Tue, 27 Sep 2022 01:02:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=k3Uie5pxkgijukjmsxCrYCPs7jEPbo3aKWq5eUqCVmA=; b=atrB2K6hZteWnvzbPkbVoOb6uaiXmiR3AyWDp/KoYcRjXAeCmkNgkEscK/WeMsu4B/ DbnQLJ7+Atl/C9djjI/Z4TBfY33e67mCqc7PoP65Ry1dATFWrYzhG16let04hYYRE1C4 552SG6rUw2D9uWXZSWWgkVMWsSciEpfO2yArasPWPYahvhA+IUHG2Ys2Sy2T/MM0VwzJ 1u8vTYqO56bCWIqp0vZSjtPUGicxle0VpFrkLicOXJKZoPr8j9aQBvkJod6gdLTLJjYB Sdf6tyirbY/0u5uAqqPJp9tEY9/GS7ec4NTkyzr2mKUhrnTdMKOrkJIoTpTmsbQ0wfy9 i2YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=k3Uie5pxkgijukjmsxCrYCPs7jEPbo3aKWq5eUqCVmA=; b=4pkahvq0o0qpiVWRXthENB2PFH0liSFvd8H+0lkF7F7wUjkZBsRW1pXBCn2V6Wmh7y 9RzuCw0O2UPXcK0J6uPvNkawIQ42vkTY67e6jqW9cU47PU8151Res5vX0xbAhjqBC8m6 7jX3XUJfz0li4i8dL2oU5mc+oTy2H9tWz5fG8vEwrYjVWCIjDBbbEUwCc1CbcM19R7Xb /M1Kcd8uf6ozuvsb2obIiiUn28B1VvoivRAugEdu8GjLpI8EHE00jrdD7WGcBe/QWgNL mpz1HnECcXwF+7yp2Zq/cFlawItZUB5hcTaBPFkz7Xs0d29fzE5te6i3vFNAcgxDhLdb lbUA== X-Gm-Message-State: ACrzQf27dE9GTBj2U0BGQCRJZ4gUnKbhFyCMypZeGuM+VEJRfigqwhpy rCAFJe5q/Bpyuydg8VX61B/31Q== X-Received: by 2002:a5d:6484:0:b0:226:dd0e:b09c with SMTP id o4-20020a5d6484000000b00226dd0eb09cmr16103248wri.388.1664265671924; Tue, 27 Sep 2022 01:01:11 -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 p4-20020a1c5444000000b003a5c7a942edsm13357199wmi.28.2022.09.27.01.01.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 01:01:11 -0700 (PDT) From: Corentin Labbe To: heiko@sntech.de, davem@davemloft.net, herbert@gondor.apana.org.au, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Corentin Labbe Subject: [PATCH RFT 5/5] ARM64: dts: rk3568: add crypto node Date: Tue, 27 Sep 2022 08:00:48 +0000 Message-Id: <20220927080048.3151911-6-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220927080048.3151911-1-clabbe@baylibre.com> References: <20220927080048.3151911-1-clabbe@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org The rk3568 has a crypto IP handled by the rk3588 crypto driver so adds a node for it. Signed-off-by: Corentin Labbe --- arch/arm64/boot/dts/rockchip/rk3568.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568.dtsi b/arch/arm64/boot/dts/rockchip/rk3568.dtsi index ba67b58f05b7..62432297f234 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3568.dtsi @@ -211,6 +211,20 @@ gmac0_mtl_tx_setup: tx-queues-config { }; }; + crypto: crypto@fe380000 { + compatible = "rockchip,rk3568-crypto"; + reg = <0x0 0xfe380000 0x0 0x2000>; + interrupts = ; + clocks = <&cru ACLK_CRYPTO_NS>, <&cru HCLK_CRYPTO_NS>, + <&cru CLK_CRYPTO_NS_CORE>, <&cru CLK_CRYPTO_NS_PKA>; + clock-names = "aclk", "hclk", "sclk", "pka"; + resets = <&cru SRST_CRYPTO_NS_CORE>, <&cru SRST_A_CRYPTO_NS>, + <&cru SRST_H_CRYPTO_NS>, <&cru SRST_CRYPTO_NS_RNG>, + <&cru SRST_CRYPTO_NS_PKA>; + reset-names = "core", "a", "h", "rng,", "pka"; + status = "okay"; + }; + combphy0: phy@fe820000 { compatible = "rockchip,rk3568-naneng-combphy"; reg = <0x0 0xfe820000 0x0 0x100>; -- 2.35.1