Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp554524rwb; Tue, 27 Sep 2022 01:01:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5JSOxyZRS/Cb22//ylJIU+PHYtBvQ1+YKGWLutsqVd+eOviQvzIL8SMY+sQF5ptAof8Yar X-Received: by 2002:a63:8748:0:b0:43b:bacd:4461 with SMTP id i69-20020a638748000000b0043bbacd4461mr22575974pge.507.1664265677916; Tue, 27 Sep 2022 01:01:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664265677; cv=none; d=google.com; s=arc-20160816; b=UJb6wI2nBJfcgnlN9j0jMN3AFzmIlR3Oax3zVl1mACHnLiCRpxwwcwz3FcgSHcNQQM dC6Ajtqkz8qL21J9M3ZcHKfSdp71/yenpt23Wbxe4Rglte1kEaxhx86CcJRvoN+UXrvH S/1bevIZ7gku7OjjFA7y4vFmE+vUuBtFl0TqfzHjbly53cJM1GznA2YOTHzpKpMr5BL+ IMK9uQ2Es4Yz862phum8aBzqmV+Rz6ZsQpf0uCGViMjXwgk03i194y4oh6omcBLXnZts UZHb3+/FyvBr2tlmxmaCUeXmzDRt3DaWWCrfvZdFf25ekyLbwDeEAavBC9hbr1zIOOEA k3tg== 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=QXNec13rQxx7mczo0Bb45Dl1W4/rRz+jQsRU4AeJnZM=; b=D+DQ816nGXZGHKLB//BdIUFpSarowcPLOE89bTBVINGQ+bFqCa/L/4Te4ZGfxGvOHl WOkWqT2eeKnDcLb7ZWxZXA8iq+OEhdi7LUjG+y6aE9tY5y7xcuNRb61c6m4dDLZzLtye 571tZt0/lyrNxeZvAb+uZ7ZPb2WpNOGMhJn4w/qeBcvdWCR47+wG3pZNycnnl6pldvqS 5vzQpnvhsW1DfjBgSmh2O3nESrkH36ZTbk+NcG2xZW+E7To5KqmwwNdLZNqcGfZLXpLH syu3gPdUB3DOwBgvAoYNUhjUsaebCB0I34X/0lATjnViB4TuQVWe3HhnncBAX/BERSwr aZWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=7Z4Ya4FJ; 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 a4-20020a631a44000000b0043090081d69si1247962pgm.82.2022.09.27.01.01.05; Tue, 27 Sep 2022 01:01:17 -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=7Z4Ya4FJ; 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 S231688AbiI0IAv (ORCPT + 99 others); Tue, 27 Sep 2022 04:00:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231592AbiI0H7r (ORCPT ); Tue, 27 Sep 2022 03:59:47 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62326ABF0A for ; Tue, 27 Sep 2022 00:56:45 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id c192-20020a1c35c9000000b003b51339d350so6487053wma.3 for ; Tue, 27 Sep 2022 00:56:45 -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=QXNec13rQxx7mczo0Bb45Dl1W4/rRz+jQsRU4AeJnZM=; b=7Z4Ya4FJF8izdlJJi0KOSJdYA3ci49E1lmr+MVg9ExH4Yw/daGRLYbHqoztQ0FZdrB xjpJNLPVkg8W/HiFxbqgE0IQ/1BunOKYfekMEtWIdLWIwIBjtUTfe/vgxqC5nFi+xuAu aXyUoidd6XaoadwuPJc3YLUowY1Peid71VpJrjEOXtRpFEZlUizKBE3WVKBUBKrFrVLE ZNjMBcMAwfFieUMKtd6iHcF4174GELX3ZRIO3E4sBpnn5mB1Qxhl+u2HpPBA39mgJsw7 e7QvfbTXN6jVQgsXQkvuGx3HwCtUHeEIIUZjFE0WNR7tK8Vfoi4E9D0/tCaFaqWeH+gJ 70Rg== 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=QXNec13rQxx7mczo0Bb45Dl1W4/rRz+jQsRU4AeJnZM=; b=xfIsP3Y84FRgzlwL+7SZLHlCb7LVGThJu0gN3o18ipCh6xfhPEWqz7jIJibVB8f+J8 x1lBD2a8lbMDvgJSz8cr1ZBMQSqHJ6zdD67pYP8ZlaNU8DbfIeJhC1O3khVoiGqcHnTF MHdfcnc2DnBl+uLCZ/RjtlfDRdgunuPN/HZRyvKqIC8eT4hwAz/RsRGPIjagAbKrcPH1 yvtBTUz4kVHFrVo97/HG8q2wowyysRONF9GyIMVozURaRJiRSDrESvEBeN6Jn4YxZnZb RuHkpxo1O7UvRz37Qv9p90v+KNgGjGbus25Xp7EjzeMO0TmfLzJRZSeGqI3UNn2vy5NP vmLQ== X-Gm-Message-State: ACrzQf2Vw32EBNkCVhObWYadEBNpeO06LJvcu047rDlg6nyQ/VBWPQyh MNZCrKa/AUbeS396RvOSlrgrqA== X-Received: by 2002:a05:600c:3591:b0:3b4:bf48:9f10 with SMTP id p17-20020a05600c359100b003b4bf489f10mr1721441wmq.76.1664265363834; Tue, 27 Sep 2022 00:56:03 -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.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 00:56:03 -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 27/33] arm64: dts: rockchip: add rk3328 crypto node Date: Tue, 27 Sep 2022 07:55:05 +0000 Message-Id: <20220927075511.3147847-28-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 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 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index 49ae15708a0b..96a7a777bae8 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -1025,6 +1025,17 @@ 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>; + reset-names = "crypto-rst"; + }; + pinctrl: pinctrl { compatible = "rockchip,rk3328-pinctrl"; rockchip,grf = <&grf>; -- 2.35.1