From nobody Sun Apr 19 00:27:31 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D19BBC433EF for ; Fri, 8 Jul 2022 11:28:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237908AbiGHL2N (ORCPT ); Fri, 8 Jul 2022 07:28:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237834AbiGHL2L (ORCPT ); Fri, 8 Jul 2022 07:28:11 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D0F3904E6; Fri, 8 Jul 2022 04:28:10 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 268BRwWT068516; Fri, 8 Jul 2022 06:27:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1657279678; bh=UinwLqd6zWhyZIOTuXz8QUpJHoWQPFqGR0Yqkfs0HPs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=synLA/sX2BRTAdUu13IEFmCvoeKbbi+m8BMm/lwz5Ej9cJxUhYX/tljzCTQLSLza5 mngkWIhwmghdZUyRow+m59lxkg4WMeMWRdlkBJfeSa6/scrnjxC8zpOZ+bTeZeSpoR l+WAqIHy51Yk1MHMWHh1QUFefRgC1wwdPa8cKpEo= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 268BRwZP019616 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 8 Jul 2022 06:27:58 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 8 Jul 2022 06:27:57 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Fri, 8 Jul 2022 06:27:57 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 268BRvdm105813; Fri, 8 Jul 2022 06:27:57 -0500 From: Jayesh Choudhary To: , , CC: , , , , , Subject: [PATCH 1/2] arm64: dts: ti: k3-am64: Add SA2UL address space to Main CBASS ranges Date: Fri, 8 Jul 2022 16:57:54 +0530 Message-ID: <20220708112755.105642-2-j-choudhary@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220708112755.105642-1-j-choudhary@ti.com> References: <20220708112755.105642-1-j-choudhary@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Suman Anna 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 Signed-off-by: Jayesh Choudhary --- 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/k= 3-am64.dtsi index 016dd8511ca6..c858725133af 100644 --- a/arch/arm64/boot/dts/ti/k3-am64.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64.dtsi @@ -82,6 +82,7 @@ <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 */ --=20 2.17.1 From nobody Sun Apr 19 00:27:31 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 25935C43334 for ; Fri, 8 Jul 2022 11:28:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237905AbiGHL2Q (ORCPT ); Fri, 8 Jul 2022 07:28:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237853AbiGHL2M (ORCPT ); Fri, 8 Jul 2022 07:28:12 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D04E904E4; Fri, 8 Jul 2022 04:28:10 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 268BRxcj068525; Fri, 8 Jul 2022 06:27:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1657279679; bh=+cjIkzcAUeJCDXeJLK7xoOIL/3yaylxgHyw3XoY/wLc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=WVJGkWvCQJ08+etbIb0l8fFpCpwaZVCTTmi7k3HwV5T3wvf3YOOfyZ+uEBi37/Qxg LRjOu8AC44ZQNr2hvtFuGf6BxkP2tDVYqnMivgko0hM1MXNztOCmS8k36FsNXb6mRB OCHKDEPm9vvyXrNd1IhU1zSwsT+NLYoW9jO1V9y8= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 268BRxvG029618 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 8 Jul 2022 06:27:59 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 8 Jul 2022 06:27:59 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Fri, 8 Jul 2022 06:27:59 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 268BRw71091358; Fri, 8 Jul 2022 06:27:59 -0500 From: Jayesh Choudhary To: , , CC: , , , , , Subject: [PATCH 2/2] arm64: dts: ti: k3-am64-main: Enable crypto accelerator Date: Fri, 8 Jul 2022 16:57:55 +0530 Message-ID: <20220708112755.105642-3-j-choudhary@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220708112755.105642-1-j-choudhary@ti.com> References: <20220708112755.105642-1-j-choudhary@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Peter Ujfalusi Add the node for SA2UL. Signed-off-by: Peter Ujfalusi [s-anna@ti.com: drop label, minor cleanups] Signed-off-by: Suman Anna [j-choudhary@ti.com: drop rng-node, change flag to shared] Signed-off-by: Jayesh Choudhary --- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts= /ti/k3-am64-main.dtsi index ada00575f0f2..dd2848cd0740 100644 --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi @@ -1308,4 +1308,16 @@ interrupt-names =3D "int0", "int1"; bosch,mram-cfg =3D <0x0 128 64 64 64 64 32 32>; }; + + crypto: crypto@40900000 { + compatible =3D "ti,am64-sa2ul"; + reg =3D <0x00 0x40900000 0x00 0x1200>; + power-domains =3D <&k3_pds 133 TI_SCI_PD_SHARED>; + #address-cells =3D <2>; + #size-cells =3D <2>; + ranges =3D <0x00 0x40900000 0x00 0x40900000 0x00 0x30000>; + dmas =3D <&main_pktdma 0xc001 0>, <&main_pktdma 0x4002 0>, + <&main_pktdma 0x4003 0>; + dma-names =3D "tx", "rx1", "rx2"; + }; }; --=20 2.17.1