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>; + }; + }; };