Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp552678rwb; Tue, 27 Sep 2022 00:59:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7jDaAmWm8PAqz1INVJq2sdJJ+oMhP+nimCKJmEz2vdIYQQKpiXdXVyfuqIfUgAl/42QZ/M X-Received: by 2002:a17:90a:3806:b0:202:880e:81d with SMTP id w6-20020a17090a380600b00202880e081dmr3125625pjb.161.1664265566155; Tue, 27 Sep 2022 00:59:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664265566; cv=none; d=google.com; s=arc-20160816; b=XKKY+P5lYEItlipiA/WcPERaxJmFNJE8It43bjMGYoQrVl4oxNCQ0onkId+q2V9n6U s5CF4PG74rabDWk9k6mJw7se8hNp8te8179bVml9NwivOhdQzqIGNnnEEr3cksMhrL+Y VnHV6etdqR21X4hA+b+LP/KM4zPpKH5oYLwgOnOnjYaP+RCq1NicPwiqY+Z7D1fS0E7w NNJ4XwbCFo/gHSk+XQjFCK2NaeevYvy3RJL7d8h5uXxuyS/NBcQyBh829MkbMRjSk3R2 X1BpopZvaseAUOtfyg7K7IBM7M8UCpH4MnC0iMAsiQLQCsKN24iHftCIZpOP8AJ5E398 s8TQ== 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=U4G0XoR4OtiRi5wvEtvdLd6HFOllsQWXwedib2I2XRI=; b=n5PPcQCGffQeiOBTpKFKYbokBL+jNgRWlCVBRZeiaU6SiMTcL6fNLxZmOlfWJRJe+y HGxnX004RnuPILl0e+SX31eTJx2Mp/jmVBioIq2nzuIaLhSt3kKO3DNcPC0qMh5pic0w 6DNUXVMq/tKz8h3l20WPAFH5GPm65GS4iQzfCwAxtjBkG1MMR1ITvwnw2JbO2P628TSv ucPbkxjP+vzSmAIo1FF5/Lr8Q7U17qR+BQAeAqS4vEq9bjLOx5pnylTjTZ0ORxDYoRaV tKTT+qNeosfuihhYG75V581JXLdmtwfrRGYeRga0B0zS9Cazx7mAPoCgQBpBUUE8+D0C V35w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b="FwA/ieJr"; 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 f22-20020a63f116000000b00438c64bda21si1192189pgi.326.2022.09.27.00.59.13; Tue, 27 Sep 2022 00:59:26 -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="FwA/ieJr"; 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 S230329AbiI0H6N (ORCPT + 99 others); Tue, 27 Sep 2022 03:58:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231406AbiI0H5D (ORCPT ); Tue, 27 Sep 2022 03:57:03 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B90BCAE850 for ; Tue, 27 Sep 2022 00:56:05 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id bk15so5928192wrb.13 for ; Tue, 27 Sep 2022 00:56:05 -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=U4G0XoR4OtiRi5wvEtvdLd6HFOllsQWXwedib2I2XRI=; b=FwA/ieJr1TKaFR5LKDFY3s/yBX9tqhQuaKMyBWipgkHFDq7GRX86eJR+E8pqtJo1BT kn7z6ZZ/UqUhsY15DfOPzk+URV1Q+A5t1IIRx0VcQfBMdEbxMgN5TDtQtcM5/jLr4XTs I45DCRQ1uGVsFf7dSz7biWKsa5VhZy9ZImpKkceMUGXjeyJVTY5svF8K2InJdrQP8Yy/ TnYbEeR7fiq1RyWPNBkGuABBNRwQFVA6a84V6VuuZwJuMrZdHe7iqAejUUcYeqtRwe1m JnCkshPDYzzlwmdxy9zAq+aC/9jzUIX6ofBxSr2TaXuFpJhLMxeYhhG5kL3SlV0RMnDr K20w== 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=U4G0XoR4OtiRi5wvEtvdLd6HFOllsQWXwedib2I2XRI=; b=8KnrRS3AfTQ1Irn30A+rCqLD1/wlV/fCoiDWg/xRi4ysRsAiItqAQgeUMC0jINXxLG csaY+xmYsuaJaBA6F53nkYAKpB67IuW7XSBSmh8HwsZitMoWOVaQBMixJOCE4QGoDvgn nTzgCaLKNW/2V7PaF7pEfXFS/bQgqXFx8nzyDVWAZAzmPW3p+GloaCpslXNdbAh86bOO 8OlOJVRzS7mSvdpq1aFUV+/DzbHjW7PYLKOojt8UYkQlqD8oME0dZPB0KekmLsSpFT4s RTYzmf3cNSB1IMfaWViPaCEa50M6R/RMsNAhgDGC1UbHJJhvAHiigJRjtNm27+Coiea1 en9Q== X-Gm-Message-State: ACrzQf2FLE6HCxrHIjLLEJMMNJJq2M83wkXHkzyRxJluYciwDBy0/DYM g18DqcBTF71wqzTU9VQ8zya1FLg4c4cgVw== X-Received: by 2002:a5d:45c4:0:b0:228:9248:867d with SMTP id b4-20020a5d45c4000000b002289248867dmr15858905wrs.474.1664265365119; Tue, 27 Sep 2022 00:56:05 -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 x8-20020adfdcc8000000b0022afbd02c69sm1076654wrm.56.2022.09.27.00.56.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 00:56:04 -0700 (PDT) From: Corentin Labbe To: heiko@sntech.de, ardb@kernel.org, davem@davemloft.net, herbert@gondor.apana.org.au, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, robh+dt@kernel.org, sboyd@kernel.org Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Corentin Labbe Subject: [PATCH v10 28/33] arm64: dts: rockchip: rk3399: add crypto node Date: Tue, 27 Sep 2022 07:55:06 +0000 Message-Id: <20220927075511.3147847-29-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220927075511.3147847-1-clabbe@baylibre.com> References: <20220927075511.3147847-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=unavailable 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 rk3399 has a crypto IP handled by the rk3288 crypto driver so adds a node for it. Tested-by Diederik de Haas Signed-off-by: Corentin Labbe --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 92c2207e686c..4391aea25984 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -582,6 +582,26 @@ saradc: saradc@ff100000 { status = "disabled"; }; + crypto0: crypto@ff8b0000 { + compatible = "rockchip,rk3399-crypto"; + reg = <0x0 0xff8b0000 0x0 0x4000>; + interrupts = ; + clocks = <&cru HCLK_M_CRYPTO0>, <&cru HCLK_S_CRYPTO0>, <&cru SCLK_CRYPTO0>; + clock-names = "hclk_master", "hclk_slave", "sclk"; + resets = <&cru SRST_CRYPTO0>, <&cru SRST_CRYPTO0_S>, <&cru SRST_CRYPTO0_M>; + reset-names = "master", "lave", "crypto"; + }; + + crypto1: crypto@ff8b8000 { + compatible = "rockchip,rk3399-crypto"; + reg = <0x0 0xff8b8000 0x0 0x4000>; + interrupts = ; + clocks = <&cru HCLK_M_CRYPTO1>, <&cru HCLK_S_CRYPTO1>, <&cru SCLK_CRYPTO1>; + clock-names = "hclk_master", "hclk_slave", "sclk"; + resets = <&cru SRST_CRYPTO1>, <&cru SRST_CRYPTO1_S>, <&cru SRST_CRYPTO1_M>; + reset-names = "master", "slave", "crypto"; + }; + i2c1: i2c@ff110000 { compatible = "rockchip,rk3399-i2c"; reg = <0x0 0xff110000 0x0 0x1000>; -- 2.35.1