Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1966273pxb; Sat, 2 Apr 2022 09:54:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuvaeW6FCR/O5YNSfvtg8jwETuB7mhio0zUKtMKBqTaWTtA/NUWHlwcyAOKlJGCTuOV9we X-Received: by 2002:a05:6a00:885:b0:4f4:17d8:be31 with SMTP id q5-20020a056a00088500b004f417d8be31mr16280225pfj.57.1648918479158; Sat, 02 Apr 2022 09:54:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648918479; cv=none; d=google.com; s=arc-20160816; b=sFziDQa8I5nYWt+nSfyD0sn7HekQluWurxyNCm3RcxpCxw51Y6Gfi6kQ8UOZaQOF1E ouO3I5b35vetJRNIAAv/FpxwL0YZBTqP/dVR7hoFDw3l5ygIW6zoMn8CrlJGWDHj/UMs 3wcMO9Vfo5M9TDd4Dc/lHuFljw6JtN7Sg+zW/kQRecS7mek+ZBwlv3DR7k3tiod/Lnh4 bmM6rkm0ouAGhj0snVhmCoTtq/jvgK574A9Kin2EeF0tdyCHxwZ4bVMPDJL7uZ/Uk7Om hfnwXktvbniQPq4lIDt3a/R3v+KNNvUbt2ccRawQlgU4OPa7JizPGYjdoQbaW9rvPm2V V5bw== 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=Qnu62bJemS/jWg8J4I3N48ZBUGfR4KO6Vf9cdKvDqZI=; b=omaWec1oxsTrmptvt9BeuJvROXuqlqUyMH0Xvep3Jy3Y0CXCAl/CcV/xOl61jgqBkS JxRgZIku4FDnXnVS3O1NDMpu/1tH6MftSHOVEfKIoHOG7hPDuj2/VsH3p4X3w2ra9KhD zwdAmI23BCfhkPqTr76y4fLU3qp797IAS8SZ8f4ajnOJjFgzj8/q3p3uoLTfPC5D0KuC jT5wEl1ALY7WtyPrg7Ynx0u+VCk+ryRXcpt69KmXrx1h6z6dzK+wL2NYC5nhSgqu7s0i oa414Jv2v+PEZQwaZ247lmdODn4XG4zNlrZz1epoQuC/zAvBu4b3mJik6T8s/kTDFU0i XoMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=8TVf6qwB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 z9-20020a170903018900b00153b2d1659fsi5407427plg.423.2022.04.02.09.54.25; Sat, 02 Apr 2022 09:54:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=8TVf6qwB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350488AbiDAUXC (ORCPT + 99 others); Fri, 1 Apr 2022 16:23:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352338AbiDAUVW (ORCPT ); Fri, 1 Apr 2022 16:21:22 -0400 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 543781128 for ; Fri, 1 Apr 2022 13:18:35 -0700 (PDT) Received: by mail-wr1-x42f.google.com with SMTP id h23so5778749wrb.8 for ; Fri, 01 Apr 2022 13:18:35 -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=Qnu62bJemS/jWg8J4I3N48ZBUGfR4KO6Vf9cdKvDqZI=; b=8TVf6qwBl0uHvhrV68CLdsiGsrTE4EUegwd1ikdA6z/qhYMFiO6FC/yl0QH0cUg+mS 7aHD98hPOgUw0yGHMUPePkVSMeX/Pv822pWJN5/Q/nof2wZApIO0w/1YDrGxkXd077Ki AGAYeB9kJbKYwOR1ixFoqpKkgH8UEETuZwtA+O14p7ER+XBV84HDnsgNBp+jjokLu4B/ plJkkZ/pLYKyYhNYSoUWqk6x5x2QOQmI/U5Hg2UjwMSgkWLRHDRhQzXoxa+WkYh3xJ6T 4cIu8c4NI4pPTDGg9AiHr0lGuN/onYesvoW3VQwf5wnHBsgpUE6VcWNCIZcG4bn5HeIW UJ8w== 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=Qnu62bJemS/jWg8J4I3N48ZBUGfR4KO6Vf9cdKvDqZI=; b=cnd6CPNZ2xYK/tXlfj+lqSijZMxMqTDXna40LgzMgdRn7tiJq0UdS1xG059HsvwpwX P9oeYWBCuSS/JVCUbXIWtdiU49UYpakuQ0E1dPxDujsACBvjuHe3dOaIBQNiMkrxu86D 272iBZg2Mzfm7slFke9wjp9YnACDBGIlMUQhkm3AulMtLrGHBs6VjWSyfuKZ22+jQtDn 0CZ+UFEKWXy05WUJHdeSyandxCgJdIyA0tuXog4sL9w9sUeslD0lRJjgis71TFUOnygP rBN9SWyVhpuxRSxQVgyxKbRATOszK6GXwL3cooSRBkPU0bt2gHXr2J5JIs6S/snM2gWD oOWw== X-Gm-Message-State: AOAM530tOnkKTjptvx9bWMmIr0Pn9PPiCcEj0Ui1uNS6WdJ8awrXoBBZ Qh754lOd9KakdrosX5rwa6oLLw== X-Received: by 2002:a5d:64e7:0:b0:205:8b74:8db7 with SMTP id g7-20020a5d64e7000000b002058b748db7mr8794143wri.34.1648844314215; Fri, 01 Apr 2022 13:18:34 -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 j16-20020a05600c191000b0038ca3500494sm17823838wmq.27.2022.04.01.13.18.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Apr 2022 13:18:33 -0700 (PDT) From: Corentin Labbe To: heiko@sntech.de, herbert@gondor.apana.org.au, krzk+dt@kernel.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 v4 32/33] arm64: dts: rockchip: rk3399: add crypto node Date: Fri, 1 Apr 2022 20:18:03 +0000 Message-Id: <20220401201804.2867154-33-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220401201804.2867154-1-clabbe@baylibre.com> References: <20220401201804.2867154-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, T_SCC_BODY_TEXT_LINE 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-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 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/arm64/boot/dts/rockchip/rk3399.dtsi index 88f26d89eea1..2f355de14fce 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399.dtsi @@ -573,6 +573,24 @@ saradc: saradc@ff100000 { status = "disabled"; }; + crypto0: crypto@ff8b0000 { + compatible = "rockchip,rk3399-crypto0"; + 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>; + }; + + crypto1: crypto@ff8b8000 { + compatible = "rockchip,rk3399-crypto1"; + 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>; + }; + i2c1: i2c@ff110000 { compatible = "rockchip,rk3399-i2c"; reg = <0x0 0xff110000 0x0 0x1000>; -- 2.35.1