Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2239710pxp; Mon, 21 Mar 2022 14:41:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpgMpnLKO6myIkdgyF2SpmOEonsQFP/2mmFppje7D55IQtInnyv/YmhTTTbV+t3o8NRT7T X-Received: by 2002:a65:6e9a:0:b0:382:1804:35c8 with SMTP id bm26-20020a656e9a000000b00382180435c8mr17154944pgb.584.1647898904559; Mon, 21 Mar 2022 14:41:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647898904; cv=none; d=google.com; s=arc-20160816; b=DTnriZ/iA8eMMI87WPfFkzBt3C+u8jsx3IwlSkmEX4KU4zCYhz/oUE8iSRTS15hSqP PYGJLILrL/+7Szi+DJeU3aTZCwpNGU0c2YAmbR0/9Bfb4ihwRtxb0KYme/NldlK9WVR6 21URPrlTE6IoZVY5np1ywCr6DOfGnZkxGhcRPt2qGWpec9DkRi2poSNhYrXncCUb65OJ DTSg7yPOOU3bQuiS0InnJPOoNkwWb0VehnqEPTAw8T4C2Jf64DcBRKIxm2G/xowV7PNw c4Z+usOCJtFEoRs9Um8bHW3vEXOwjQW2qJS8+Pf9zN4VYqv0Fmzzm8MtRogOahg0QRAk rAfw== 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=Bc8iW2Y0p9EgNyzaPB9ofcw8MbDcjRfG8JdfcAHFb9c=; b=YkhAi1R4RrvqaV/DzemjXVGCLisDqWq3LBvS6KybcmpjN6e2ex47Mhe0ZGMTUgJZoA pz0v3aFHDwlLGHkloTs0GmcP4rdrgk92mPcYasmMLgTExnX0W9bdQ/i+t/B9JBhRxBHF ujkflYuD9KL9tQ5VgoX7p0eBYUtbnDtlSBhl7/53/3fTRDAdZC2VrmWQZe3xlLsWKIFn g/JSIO/hxecHid8l4s6DN8KFfkqQDaBW1emJtkS3GKChsReN0AV3582Lm60qKDpHg+2S g6SCV62I+ypLEhA9J0R7s3/2dN0va2Ls2/VhFm6JsXkqGVt286hrI+XZtFaeTJXP/bBP cQnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b="vPZ/T6QE"; 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 m16-20020a62f210000000b004fa3a8e0048si7187236pfh.255.2022.03.21.14.41.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 14:41:44 -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="vPZ/T6QE"; 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 2C8C7269371; Mon, 21 Mar 2022 14:14:46 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345000AbiCUULG (ORCPT + 99 others); Mon, 21 Mar 2022 16:11:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353039AbiCUUJw (ORCPT ); Mon, 21 Mar 2022 16:09:52 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C058181B38 for ; Mon, 21 Mar 2022 13:08:05 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id l1-20020a05600c4f0100b00389645443d2so174852wmq.2 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=Bc8iW2Y0p9EgNyzaPB9ofcw8MbDcjRfG8JdfcAHFb9c=; b=vPZ/T6QEQRI5o5bMpxza/WJQImKeu2kaxYIN8+9IjmsqwJLvIW9K+APd3EqKjRyzIJ DcbKbvtRdMho6bSss1EIZHOZjvyzb5TbVl2tCRBYuFOyiCyzUjeXdKU52DXmJR9biEOM i1t5XgGdmtBAIjZVbWf5ZvXwZ1e3CktFylVHsnV/ub6JFIsKvYNSZbSJIWUrNC6JGFNt 9e12+Mwv2ZpheIHi5kYdGDVWhpwcaCOEYEdL3S75wmRVPe0NYmBS0Z/4lNRmNrSJIbUv tLCm4v4HISJv2KcvORMQeEMi1/hqjnqeA8963xbvMmmyyQIhQHslfOHFgo8t1o54ecUd 7x6A== 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=Bc8iW2Y0p9EgNyzaPB9ofcw8MbDcjRfG8JdfcAHFb9c=; b=cJxsC+KjyfmV5jSrO4SJXTCgMLZGQMRsfUilEFaHtOmy9bvcmcnTRIrsdJArmtxLOV WZ1v2JHSIiVWtNcVApdyyyqvAcp7vWh6iRIBt/FbwhphJOqWsBbpZioVVonpztuFoqHE IAqw4BT4654Pb9Z3Dul6oZkR6jk8jnjRJJ/LKysg1SMnCAA3k6ihaAZcQZ0acje1WGjn MFj1dD+QL36Gg/Js5PopWbD2YszgC29OJw1U8AYU53gA/uaBQsPMfnm/4qC1Uze1sI0X MkXEWaSTpEvy4ZDwhAwu8XRD4KYdoSws1xUE+Y341VqRbrPtc4awo81pgdJf86WFXzMF 0iFA== X-Gm-Message-State: AOAM532aLKXqDIlk+iru6Tra9CQGnnnb+anxneTQDhIQTES5ev0Gs+aD BzcizMjIEA0DLsgMM6U7wK6Zkw== X-Received: by 2002:a05:600c:19cd:b0:38c:b84f:41fb with SMTP id u13-20020a05600c19cd00b0038cb84f41fbmr27683wmq.137.1647893283516; Mon, 21 Mar 2022 13:08: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 i14-20020a0560001ace00b00203da1fa749sm24426988wry.72.2022.03.21.13.08.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 13:08:03 -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 18/26] arm64: dts: rockchip: rk3399: add crypto node Date: Mon, 21 Mar 2022 20:07:31 +0000 Message-Id: <20220321200739.3572792-19-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 The rk3399 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/rk3399.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 88f26d89eea1..ca2c658371a5 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -573,6 +573,18 @@ saradc: saradc@ff100000 { status = "disabled"; }; + crypto0: crypto@ff8b0000 { + compatible = "rockchip,rk3399-crypto"; + reg = <0x0 0xff8b0000 0x0 0x4000>, + <0x0 0xff8b8000 0x0 0x4000>; + interrupts = , + ; + clocks = <&cru SCLK_CRYPTO0>, <&cru HCLK_M_CRYPTO0>, <&cru HCLK_S_CRYPTO0>, + <&cru SCLK_CRYPTO1>, <&cru HCLK_M_CRYPTO1>, <&cru HCLK_S_CRYPTO1>; + resets = <&cru SRST_CRYPTO0>, <&cru SRST_CRYPTO0_S>, <&cru SRST_CRYPTO0_M>, + <&cru SRST_CRYPTO1>, <&cru SRST_CRYPTO1_S>, <&cru SRST_CRYPTO1_M>; + }; + i2c1: i2c@ff110000 { compatible = "rockchip,rk3399-i2c"; reg = <0x0 0xff110000 0x0 0x1000>; -- 2.34.1