Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2272342pxp; Mon, 21 Mar 2022 15:32:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznslRwx7DQ4TGzsHEapKQmr3DIH8gT4bmlej1x9Hn8ke+dLvdUhTRVy+XrqDs5EbmIdTRi X-Received: by 2002:aa7:942c:0:b0:4fa:7ff1:ee6a with SMTP id y12-20020aa7942c000000b004fa7ff1ee6amr14037303pfo.9.1647901931008; Mon, 21 Mar 2022 15:32:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647901931; cv=none; d=google.com; s=arc-20160816; b=b2cppwP1JsS8lMzJWFMtTuYH3gLTjvTijtcgZpdtuarZD+qlCVq8LnFEHFEG4D2K4/ Kf5Mtg0jffh5QF6zphQxMZBMI946V75OL1t4Kfqme50GG4V8ST4kX7Dmhz4VS5u/ktL7 hnJVUNEYuTov5LCnxxqS+Uc1Fbdr9ITjB7ds4kg643YAaJP9+Yh+/KCdNduwRehY5VAT 58kz09iALkm704xA7tIAZxwJaCAOoPrmGV0bTxaR89Bze37uED8AogaLE1IYODn7Hyrg KSJw2BhnPvp5gVIo98eOU0B4nrz5L4xNUavLknCdgdAlkVemF9Rt2Zk6z5A3DZ5V5hd8 eoJQ== 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=ALP0rhmdyOFskfZyrCUywCyi9ACOSmK3EYQ8ApiRER4=; b=YC0NQTUaQXq4S83FSDmV6QJh/JFxF04BuuaCnac6rJSwua56xGFMJi4s0qGunnNaB6 /fSUEv+TJQfqwbow6merrgYfXBJUAeqyd/0SkgOugUCicJmZNe7/w+mQbLp6n9c9wese doazmJ+BCsZZz54j6w2pnDLEj0Xo3sFITlTB+5N1S8SCK6ysE1IzKi+HuDlt7rnGztxl cHyB7Pg/vE1K5QWJbUVt3KvCikVIpXDWiZinC4JuGliHATk/XIqbr/1rKZTH9bUV2XzC RhEz+KRnYUZfxily1w1SInF7EmjcjAaohIyfwX+sMHlDNFG9aykQuvo6gVrHupBj+9Rf sKog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=PgoKWs6B; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id n187-20020a6327c4000000b003816043f073si14298897pgn.616.2022.03.21.15.32.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:32:10 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=PgoKWs6B; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CB1533AD66D; Mon, 21 Mar 2022 14:45:26 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353174AbiCUUKz (ORCPT + 99 others); Mon, 21 Mar 2022 16:10:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353031AbiCUUJw (ORCPT ); Mon, 21 Mar 2022 16:09:52 -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 DE57D182ACD for ; Mon, 21 Mar 2022 13:08:05 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id r10so22253401wrp.3 for ; Mon, 21 Mar 2022 13:08:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ALP0rhmdyOFskfZyrCUywCyi9ACOSmK3EYQ8ApiRER4=; b=PgoKWs6BqTd0YVwXlKBTcyBVNt7mdUfOIGxdK2fjBUMqsY8QYZujGa40w7xZBZA/yp esIJw6J9JSeWIhA+U6x2mYwng+KEadRC1WZHfCqjm0WL/XS3cQcbxVphfXFhjW7U03L4 SNF/O75AKTknPDP2nfoWBmQEH5lTIMm9DWh1VCa4ZX7nP/eynUi5fmB0QP30fkDj7k5Z sAtqVOVA9VEEw36jbB62quDplN0EFDiUtJ9Una41golcgA5MfXd7pzSuAvzbkakLaeaf SE/tp7FpbXGtBq8Vd2tcXJI8tzVejLR3DGCuOlBj9FPXxChNf47ychi8mDpXDCqNpLEZ /Olg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ALP0rhmdyOFskfZyrCUywCyi9ACOSmK3EYQ8ApiRER4=; b=d3at7gaNjWrqNdAIFm/HBTfLGcM7kvGxKNMSIitaHeuFKsvPCnIN5VG6QqIzOkknq8 mX/t8iwGuCElHfZH7cGCUKW/3MDKG6/CN/y6Iuv1R4mJ0lN23H/g4A1e1tsXd19aeceK Q+tKZCXcmPFnOchkzsOpCtTp9+urWjSzcFlwRPg48zv45tEA+LeHQ14Mg9eU+cZOrHVw vmsewl5SNxQefglEi4E8/GjMf92beSE//epgeUmKJSmsAfXLnG3uqZXYu2bOOb3wzbsT 7eaRj7mk94ItxvGeH45aXMVL30I7tyijvDZP482uTCfKsVfAsp0MXI60FXdck+SfC2Gy mJbg== X-Gm-Message-State: AOAM531N2bcobX8ar4Ho9IdwLSwDYcIEpczmEutle/3/tHPtNYBiZ5q2 IFZHrcSoni48SXf3e9T3LIGs2A== X-Received: by 2002:adf:8128:0:b0:203:e32d:4d03 with SMTP id 37-20020adf8128000000b00203e32d4d03mr19172030wrm.540.1647893284321; Mon, 21 Mar 2022 13:08:04 -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 i14-20020a0560001ace00b00203da1fa749sm24426988wry.72.2022.03.21.13.08.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 13:08:04 -0700 (PDT) From: Corentin Labbe To: heiko@sntech.de, herbert@gondor.apana.org.au, krzk+dt@kernel.org, mturquette@baylibre.com, robh+dt@kernel.org, sboyd@kernel.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.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 v3 19/26] arm64: dts: rockchip: add rk3328 crypto node Date: Mon, 21 Mar 2022 20:07:32 +0000 Message-Id: <20220321200739.3572792-20-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220321200739.3572792-1-clabbe@baylibre.com> References: <20220321200739.3572792-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,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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-kernel@vger.kernel.org rk3328 has a crypto IP handled by the rk3288 crypto driver so adds a node for it. Signed-off-by: Corentin Labbe --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index b822533dc7f1..e83e0bf7e517 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -1007,6 +1007,16 @@ gic: interrupt-controller@ff811000 { (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>; }; + crypto: crypto@ff060000 { + compatible = "rockchip,rk3328-crypto"; + reg = <0x0 0xff060000 0x0 0x4000>; + interrupts = ; + clocks = <&cru HCLK_CRYPTO_MST>, <&cru HCLK_CRYPTO_SLV>, + <&cru SCLK_CRYPTO>; + clock-names = "hclk_master", "hclk_slave", "sclk"; + resets = <&cru SRST_CRYPTO>; + }; + pinctrl: pinctrl { compatible = "rockchip,rk3328-pinctrl"; rockchip,grf = <&grf>; -- 2.34.1