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