From patchwork Tue Jul 7 21:13:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Healy X-Patchwork-Id: 11650297 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6BE4E14B7 for ; Tue, 7 Jul 2020 21:15:43 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 441E020674 for ; Tue, 7 Jul 2020 21:15:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="r+8JP3UQ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BhYp699P" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 441E020674 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=LsjP6rA5N0tDgaMal8lGfyLleRXb51Ua14kE1Zb5G2w=; b=r+8JP3UQc0UP12W5SfGeH6crku A84Upgdzy4cQnUmpukCX7oFSvIhxeWqUNvE/9TCO6rwVp7/j4DGBNAPVKMKPOx+Ha9eAQaV4Efs4X iFIMR6NzOnT0PC7b8RlerUt06ceWVPY4/G9EmtnhDiCArv8UCm3Ag81yHRdtq1sFNgdl+lCAojLXB lLuF09+G+5YAE2iI/U2390egQ8O/47DfnpFghK9DOqb8nruzX3x7UXw9nQz3EqGiyjG39gz3JZ9X0 FJR0Oz5ijIjrJsxEyABOHHLttL0HE4/0n7HjSLNyNYCuzJF5Vqaq5QKR9tMzxI3xAlCeS54N2MpWK lqp2a90g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jsuux-0006gG-5i; Tue, 07 Jul 2020 21:14:19 +0000 Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jsuuu-0006fY-CQ for linux-arm-kernel@lists.infradead.org; Tue, 07 Jul 2020 21:14:17 +0000 Received: by mail-pj1-x1042.google.com with SMTP id mn17so211910pjb.4 for ; Tue, 07 Jul 2020 14:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=g2+tqe21qhAOiH0l/I+PzAW0UhiNgCEO1jIRYTAAZAI=; b=BhYp699PAyfhJbI2NcQi+BBRu6ESaeQ0Dk+5sWhNM25YpVSoJJQ4qD5C5VSzE/NRbV FvAM/U1SNVekNztRzi5+ai14QfY8+6K/WFuWfqqlVop/9bGe9iRPYT1gYKezUaRQZfZL 52x0glrflQQvxZvRIFiCxvSY6zBclDiU4oqaDEnjWvxkAZ+2MIsMYuS0VsAQYl34QqFc s/ZlfOcL1VfOLLpV3O0wqL4gyYOfQ5Xj5OsyPx6xycEr33t7joVdwIAeTr40xjSj5R2D SlahK12/h92idEDTK2MBJijkthqww1o+bseK7SwRNQ81OmeFF89HwaRdJzQgr0IfYv/I 8/Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=g2+tqe21qhAOiH0l/I+PzAW0UhiNgCEO1jIRYTAAZAI=; b=Mqic/u0a7UdOjtRlBTDdaBifh98hmNAzfWht36tRopzRpepm9OAX6HQwNCK5QYTEUs cZG+0tAoVVSTpDXXOwLJDwJzhBD9V3keUiXKmZIU/zhqMjTYRFQyGu7xn50a6r6HPbCU G/O2i8AaSOGuY4c7mU5PednDCquCQeFp90KoDCbpLApzAUgeT1+2UIP/UVd5rkX+iGYS Kr1o0KB0N5ThcdW25xp0dYBMyRd6Xg/KetwRL5f9SAbSkFOlLOtAiavSpALu2vxDCJ4D d86hkvbuXvjPV1fOqiiiZS/ITG4QHWK676s3USztkNk752KutZhrrg06UrhoYlPY9kk2 WScQ== X-Gm-Message-State: AOAM530rIY9hn68KWHaeLQZrimZy2XRh0qdeWx/YZSbs99wUkDuZ7rqu gtZzU/vP9tX1UNuGZZtnFy0= X-Google-Smtp-Source: ABdhPJypp1jon8+zZ1AEDaZFdpozZIkuo8WzTmd1YTGM66MFSdc27aYoyPiMIdH9fnkH2Bz7avOUZw== X-Received: by 2002:a17:90b:1283:: with SMTP id fw3mr6105611pjb.112.1594156452179; Tue, 07 Jul 2020 14:14:12 -0700 (PDT) Received: from localhost.localdomain.com ([2605:e000:160b:911f:a2ce:c8ff:fe03:6cb0]) by smtp.gmail.com with ESMTPSA id 27sm3263682pjg.19.2020.07.07.14.14.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2020 14:14:11 -0700 (PDT) From: Chris Healy To: shawnguo@kernel.org, s.hauer@pengutronix.de, stefan@agner.ch, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] ARM: dts: vfxxx: Add node for CAAM Date: Tue, 7 Jul 2020 14:13:59 -0700 Message-Id: <20200707211359.29906-1-cphealy@gmail.com> X-Mailer: git-send-email 2.21.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200707_171416_450256_2D7B65B5 X-CRM114-Status: UNSURE ( 9.93 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1042 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [cphealy[at]gmail.com] -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrey Smirnov , Chris Healy Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Andrey Smirnov Add node for CAAM device in NXP Vybrid SoC. Signed-off-by: Andrey Smirnov Signed-off-by: Chris Healy v2: - fixup commit to show that this patch is from Andrey Smirnov. Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/vfxxx.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index 2d547e7b21ad..0fe03aa0367f 100644 --- a/arch/arm/boot/dts/vfxxx.dtsi +++ b/arch/arm/boot/dts/vfxxx.dtsi @@ -729,6 +729,28 @@ dma-names = "rx","tx"; status = "disabled"; }; + + crypto: crypto@400f0000 { + compatible = "fsl,sec-v4.0"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x400f0000 0x9000>; + ranges = <0 0x400f0000 0x9000>; + clocks = <&clks VF610_CLK_CAAM>; + clock-names = "ipg"; + + sec_jr0: jr0@1000 { + compatible = "fsl,sec-v4.0-job-ring"; + reg = <0x1000 0x1000>; + interrupts = <102 IRQ_TYPE_LEVEL_HIGH>; + }; + + sec_jr1: jr1@2000 { + compatible = "fsl,sec-v4.0-job-ring"; + reg = <0x2000 0x1000>; + interrupts = <102 IRQ_TYPE_LEVEL_HIGH>; + }; + }; }; }; };