From patchwork Fri May 14 21:07:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 12259017 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 020DEC433B4 for ; Fri, 14 May 2021 21:09:58 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 818E061352 for ; Fri, 14 May 2021 21:09:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 818E061352 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: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:List-Owner; bh=5ArdtWuIItS6h76uekzK3XyyiNF8ALh8OzTRFbeMRfc=; b=BDs/Mp/wNSN/5/WCBdyQGH5Lx menbHMf8l5cIT+DxLKSvW5FF3CH+ZcEo1k0DfkEyl4atX3QPkeBJ1tx0s4XGsfQY8DvYqqxHuJ0uD IeEGmzE8qLKIJVwOy5SkDhQWJng2MvW/uT9cNDkIUz90hvWt8H+osQ1AbBvnpZ8EyzG2MNtHQR1jm YNYDYRTPy52lFeDYJZ+BWVBz6E+EuPI5q2puSSnfR8Y7fDJXhq5d+xo0B87ZSA/LKVYfQwWNhK/OI YaQ++3JiPBGL/I07c5lYLqE+KRpKFSbRaWH+rXS9r6W6f2Mf3N1GwSLRTGicmD+ibj197qIaM5Hmo EWxUiSDfw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhf29-0090sh-RN; Fri, 14 May 2021 21:07:47 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhf26-0090sP-4b for linux-arm-kernel@desiato.infradead.org; Fri, 14 May 2021 21:07:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Sender:Reply-To:Content-ID:Content-Description; bh=dOuJz1Mbk6lns6dFMdrcpJpGjQMkzSjkov4oe6l7s24=; b=zfoKFLa5bUX//jPn3+UtmUB8fl XShFxz0pxAKElTigBOiR+zbhRj3PNzVuzqL9il5+uCEALGvK41+98bz1Xugr0YQvlwwHh1jCii8Ko p+vLbYfaEsAtK5rDQIYR/jJ6OU/1CobrR8wKeCdn3ciN54UVBgLY9ahzDO83+eVYJqdz9aHUQHfBG dAg+sAodfz5OSbrlGJps33NVgC6jKbVIwAHb6LQS+Os/RPBD/qZXfci6JIlyD8sboamd7y/3IlzOG /GXvllw18u3fnWRqUdoKqXUEaWGTt2r/3bmlqoBN+rAjYE94HaYlXKlU/Z0qA4UtdCQ8RkHqkmytE 4Z27to5A==; Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhf22-00CGLR-49 for linux-arm-kernel@lists.infradead.org; Fri, 14 May 2021 21:07:40 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 14EL7Zad064467; Fri, 14 May 2021 16:07:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1621026455; bh=dOuJz1Mbk6lns6dFMdrcpJpGjQMkzSjkov4oe6l7s24=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=mvADtUcXMmAutwqdW64RKXQJbHzFEfW9M7ZBq8DqorS3lgf8h7CKtEEKlx6m2cEQK JCvp2nAN7nzDhqcNPfwX0fq21VzQetRlCVm5Y2jUgzkp7ukpez0vlxZhPIOcGcEYQl /YftONzU1XJRpHuITlwCZJYLBa/xuvEuEliYWqy0= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 14EL7ZVY030105 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 14 May 2021 16:07:35 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 14 May 2021 16:07:35 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Fri, 14 May 2021 16:07:35 -0500 Received: from fllv0103.dal.design.ti.com (fllv0103.dal.design.ti.com [10.247.120.73]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 14EL7ZIK054122; Fri, 14 May 2021 16:07:35 -0500 Received: from localhost ([10.250.35.60]) by fllv0103.dal.design.ti.com (8.14.7/8.14.7) with ESMTP id 14EL7ZT8054608; Fri, 14 May 2021 16:07:35 -0500 From: Suman Anna To: Nishanth Menon , Tero Kristo Subject: [PATCH 1/3] arm64: dts: ti: k3-j7200-mcu: Add the mcu sa2ul crypto node Date: Fri, 14 May 2021 16:07:22 -0500 Message-ID: <20210514210725.32720-2-s-anna@ti.com> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210514210725.32720-1-s-anna@ti.com> References: <20210514210725.32720-1-s-anna@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210514_140739_116148_446A7BD7 X-CRM114-Status: UNSURE ( 9.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Gowtham Tammana , Praneeth Bajjuri , Vaibhav Gupta , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Peter Ujfalusi Add sa2ul crypto accelarator node. In comparision to j721e, The sa2ul crypto device on j7200 has moved to mcu domain and is available for linux usage as a shared device. Signed-off-by: Peter Ujfalusi [praneeth@ti.com: picked recommendation from author to k3-j7200-mcu-wakeup.dtsi and verified functionality] Signed-off-by: Praneeth Bajjuri Signed-off-by: Gowtham Tammana [s-anna@ti.com: minor formatting cleanups] Signed-off-by: Suman Anna --- .../boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi index 5e74e43822c3..f24bd4af62c8 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi @@ -380,4 +380,24 @@ mcu_r5fss0_core1: r5f@41400000 { ti,loczrama = <1>; }; }; + + mcu_crypto: crypto@40900000 { + compatible = "ti,j721e-sa2ul"; + reg = <0x00 0x40900000 0x00 0x1200>; + power-domains = <&k3_pds 265 TI_SCI_PD_SHARED>; + #address-cells = <2>; + #size-cells = <2>; + ranges = <0x00 0x40900000 0x00 0x40900000 0x00 0x30000>; + dmas = <&mcu_udmap 0xf501>, <&mcu_udmap 0x7502>, + <&mcu_udmap 0x7503>; + dma-names = "tx", "rx1", "rx2"; + dma-coherent; + + rng: rng@40910000 { + compatible = "inside-secure,safexcel-eip76"; + reg = <0x00 0x40910000 0x00 0x7d>; + interrupts = ; + clocks = <&k3_clks 265 1>; + }; + }; }; From patchwork Fri May 14 21:07:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 12259019 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 41512C43460 for ; Fri, 14 May 2021 21:09:59 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 AB23261285 for ; Fri, 14 May 2021 21:09:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AB23261285 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: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:List-Owner; bh=xBIWXnlz9tNaooG1c/cxON1yQMP9+GTdvmsVyTNH3L0=; b=iWsIYnI7J7aXQ+Owwy/qdYHjh vSKSNDEc4dSf+RRLl2MXRimRn2gS/c0V3w5detkjdtr57lN83x1MkOAhuXeKY2Z1IPi24+ttnYr/h oXDiefK1DXYMq1Szha0+8E3jae9tXWxpLXxFZpxMhcBu06Mp4yRRfeQHebQ+uWEXbbhQEt4UyUPLz haKhJ+tSe4jalDdu5hlYUcsvRUCE0qGuzXzTcKatcGBaP7cKjqrp8Z4X77i2ujoOwzqyQjK5PmU1+ LeXvWbiMPT3nrkWeJN50GeiPxd5+z3VoJRpVMuvrQDGSJy7L79Fk9TS3UHdn4CjkoAVkedxh3DyZC lFuHinm+Q==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhf2T-0090uF-51; Fri, 14 May 2021 21:08:06 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhf28-0090sc-Ci for linux-arm-kernel@desiato.infradead.org; Fri, 14 May 2021 21:07:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Sender:Reply-To:Content-ID:Content-Description; bh=+pkryp52Dfsy6F5buHVvIChEYBsGEpY1HbEziZu1hUQ=; b=UWGQurwfwgR6lPPaFP4rRYC6N5 A/S8gREIx/rqSPVrkXERJXu//Em2gBWrSDRASmYVi4KiIp8ktiptGGTCGkBOKQ5MulvbXP7vjvKWD xqlY8r2J9Rrn59PZ3Sqy1N+cZzI7d8Dt5QjFJL0R5bhbfE+PZap47ZP0KxNNurMcusfsExoO2vEak ZRzX/zxX7ggm6Ah1bOtYvt/dvzwvcSZHTXYOJazEjHhcv+m2RE4oHyebvoyZm3s2V+aaTpzoLd9ED t9lgGjFkUfNvkehzkihkELQjreilNdUqiwCYkDM1vMEpi7qJco3OqcjjpS67N2KmAtweKJ2u0zm5o te1VZWMg==; Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhf25-00CGMH-Q2 for linux-arm-kernel@lists.infradead.org; Fri, 14 May 2021 21:07:43 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 14EL7eTo064596; Fri, 14 May 2021 16:07:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1621026460; bh=+pkryp52Dfsy6F5buHVvIChEYBsGEpY1HbEziZu1hUQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=YNvp5cC+GmvuSJsiClX8ZysM21iGjuFbxdeD5NpTt0uS4vfd2kBE+o33JL3fY3EMj o0sDTr3Pa+L+XU93O3aufO+Tnz02DKtvux6vakWa/8nPCZln7XxdKwpi4L6loE1eMi qUXdwEERvOSZmhtHj0y4dN92GII1aMHs9daClqF0= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 14EL7eEc063006 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 14 May 2021 16:07:40 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 14 May 2021 16:07:40 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Fri, 14 May 2021 16:07:40 -0500 Received: from lelv0597.itg.ti.com (lelv0597.itg.ti.com [10.181.64.32]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 14EL7eoJ029992; Fri, 14 May 2021 16:07:40 -0500 Received: from localhost ([10.250.35.60]) by lelv0597.itg.ti.com (8.14.7/8.14.7) with ESMTP id 14EL7e5w005872; Fri, 14 May 2021 16:07:40 -0500 From: Suman Anna To: Nishanth Menon , Tero Kristo Subject: [PATCH 2/3] arm64: dts: ti: k3-am64: Add SA2UL address space to Main CBASS ranges Date: Fri, 14 May 2021 16:07:23 -0500 Message-ID: <20210514210725.32720-3-s-anna@ti.com> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210514210725.32720-1-s-anna@ti.com> References: <20210514210725.32720-1-s-anna@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210514_140741_948353_D80EC26E X-CRM114-Status: UNSURE ( 9.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Gowtham Tammana , Praneeth Bajjuri , Vaibhav Gupta , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the address space for the SA2UL in MAIN domain to the ranges property of the cbass_main interconnect node so that the addresses within the corresponding sram nodes and its children can be translated properly by the relevant OF address API. Signed-off-by: Suman Anna --- arch/arm64/boot/dts/ti/k3-am64.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/ti/k3-am64.dtsi b/arch/arm64/boot/dts/ti/k3-am64.dtsi index de6805b0c72c..8ccd03ee3036 100644 --- a/arch/arm64/boot/dts/ti/k3-am64.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64.dtsi @@ -77,6 +77,7 @@ cbass_main: bus@f4000 { <0x00 0x3b000000 0x00 0x3b000000 0x00 0x00000400>, /* GPMC0_CFG */ <0x00 0x3cd00000 0x00 0x3cd00000 0x00 0x00000200>, /* TIMERMGR0_CONFIG */ <0x00 0x3f004000 0x00 0x3f004000 0x00 0x00000400>, /* GICSS0_REGS */ + <0x00 0x40900000 0x00 0x40900000 0x00 0x00030000>, /* SA2_UL0 */ <0x00 0x43000000 0x00 0x43000000 0x00 0x00020000>, /* CTRL_MMR0 */ <0x00 0x44043000 0x00 0x44043000 0x00 0x00000fe0>, /* TI SCI DEBUG */ <0x00 0x48000000 0x00 0x48000000 0x00 0x06400000>, /* DMASS */ From patchwork Fri May 14 21:07:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 12259021 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 116D4C433B4 for ; Fri, 14 May 2021 21:10:01 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 9472A61285 for ; Fri, 14 May 2021 21:10:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9472A61285 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: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:List-Owner; bh=+BXcmdOkIaGR4y+vwmv8IMeoBFY5Vrg5864XHnC03tM=; b=dBIk1goJIxsObrkG44VsrMFh8 tS6X64i/AOHufz1FDH6a7UT9WubIwOom4Ed1PkWfkmqZ4tpCKxXUCj2HY941xessmnkYIBt1YdJ5x 209VCzwKDcyhbfIfnK5mlssi4XLl9NiCiXZBTFGj8Ja7NKy7kFndWdU+sVL96HOv4m1hCtRS2ii+7 mifN4qBs+hce6vrdq+wejdQHIT0lKfP9ytVqJo1Mh3aG2D9uGQ1qRLD0yUSrRQng5g+Kba9dweTQa nVrio2krF9GIbfR39fBgpqPBC9ys8B81Vn2Vh09HJbeBXcOInwQOpvq2s8lM4fFacseIv/wunzaG/ lNbTZlGFQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhf2g-0090vz-7s; Fri, 14 May 2021 21:08:18 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhf2F-0090tE-7j for linux-arm-kernel@desiato.infradead.org; Fri, 14 May 2021 21:07:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Sender:Reply-To:Content-ID:Content-Description; bh=tA0JsSZGWhhHXTiClj/Nb6zTZ8ykTz+yXbUSTDXxdJs=; b=D+elchwIP7YzTTlQvCBoJtH0f1 8AxhEHYtq3xum0XBkSeFQrUOpAEjdvnBkBnqdW6BIwOLb1EdqzL+HzBbtg/ZZ++F5XMagBGwDDyW+ R+4CSplzb8XphOI/w6A3SFI/uVPZkDuUKHcDXAhcbuMoSTaUzp1g4CtaSYRfl62t5S4VX9qXPYZ88 G7XTSTtdEReF6oMJlkhQ8u7opK2MtgsO0pFfhdDFvxFtRjPkxOdw3l3wbznkJyKIIH3jhH8wOImyL UAvuUmO3EFZfdV6MsLvN1WR+yptU0xiuOGkTwXIMax3V7ww4sWecMTEi50Fx+IEi4Tq2bGzXrbxPr yO9CxE4A==; Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhf2C-00CGNh-FC for linux-arm-kernel@lists.infradead.org; Fri, 14 May 2021 21:07:50 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 14EL7jfS110746; Fri, 14 May 2021 16:07:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1621026465; bh=tA0JsSZGWhhHXTiClj/Nb6zTZ8ykTz+yXbUSTDXxdJs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=FjSTaZguYJaSduf5qFZsIT9oEviZnoMThRT8ZSDtO0BtkM8LOVSOdXmFTFYSgSA54 cQVS+3w0HOe1IuQUfg2/XrFs15kGJsACYaBnd5aAH7OFbqasStRC8Ylm37+GB+gToN O6B9Bzh9S2z6cIBm430qcs9TvHVwizKnCDKtZA0o= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 14EL7jHo018253 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 14 May 2021 16:07:45 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 14 May 2021 16:07:45 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Fri, 14 May 2021 16:07:45 -0500 Received: from fllv0103.dal.design.ti.com (fllv0103.dal.design.ti.com [10.247.120.73]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 14EL7jFC093982; Fri, 14 May 2021 16:07:45 -0500 Received: from localhost ([10.250.35.60]) by fllv0103.dal.design.ti.com (8.14.7/8.14.7) with ESMTP id 14EL7j55054624; Fri, 14 May 2021 16:07:45 -0500 From: Suman Anna To: Nishanth Menon , Tero Kristo Subject: [PATCH 3/3] arm64: dts: ti: k3-am64-main: Enable crypto accelerator Date: Fri, 14 May 2021 16:07:24 -0500 Message-ID: <20210514210725.32720-4-s-anna@ti.com> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210514210725.32720-1-s-anna@ti.com> References: <20210514210725.32720-1-s-anna@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210514_140748_608371_1C908B63 X-CRM114-Status: UNSURE ( 9.18 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Gowtham Tammana , Praneeth Bajjuri , Vaibhav Gupta , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Peter Ujfalusi Add the node for SA2UL including the random number generator. Signed-off-by: Peter Ujfalusi [s-anna@ti.com: drop label, minor cleanups] Signed-off-by: Suman Anna --- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi index b2bcbf23eefd..43f982291350 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -672,4 +672,23 @@ mailbox0_cluster7: mailbox@29070000 { ti,mbox-num-users = <4>; ti,mbox-num-fifos = <16>; }; + + crypto: crypto@40900000 { + compatible = "ti,am64-sa2ul"; + reg = <0x00 0x40900000 0x00 0x1200>; + power-domains = <&k3_pds 133 TI_SCI_PD_EXCLUSIVE>; + #address-cells = <2>; + #size-cells = <2>; + ranges = <0x00 0x40900000 0x00 0x40900000 0x00 0x30000>; + dmas = <&main_pktdma 0xc001 0>, <&main_pktdma 0x4002 0>, + <&main_pktdma 0x4003 0>; + dma-names = "tx", "rx1", "rx2"; + + rng: rng@40910000 { + compatible = "inside-secure,safexcel-eip76"; + reg = <0x00 0x40910000 0x00 0x7d>; + interrupts = ; + clocks = <&k3_clks 133 0>; + }; + }; };