From patchwork Wed Jul 31 17:10:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manorit Chawdhry X-Patchwork-Id: 13748994 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 460F7C3DA7F for ; Wed, 31 Jul 2024 17:13:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:CC:To:In-Reply-To:References :Message-ID:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VVhDA/DT3hGQQoCDjSRbk4R2xYQLd5qL46zIyAsBaqo=; b=WTagAxG8ZFPgTd6ZqTJU6upUtV PA9IPMYkbmPmObcTQcOx1rC94uhteaYsMicNapbsvsjHEtDlgVre61RdnLJnS5x29kQXBLz+ZfhKk Y1F5Xto1SxlDgTsAcsEuVJqtJ1T83NhDc9MQWzHsBnrTZLzXl1qwe3sinj3iXyWbbRiPr//1CY+sx wdDpY2IwFhj7OZSD7/N/FW6J/UEWLnMv0Q4VSagG6EaBXwyQ0S8Z+uTXRIkPKrd1BHCBhR/7KD5T4 mIOP+dT9yhpcFivVpF59uJzEL272jgdxHvUQzRFXyMCugtU9JP6RCz4w/qtSE0OmX5lQ+M2kJjm9b f+GKC8ZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZCsx-00000001zCs-1s4d; Wed, 31 Jul 2024 17:13:11 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZCqj-00000001yMo-3P7y for linux-arm-kernel@lists.infradead.org; Wed, 31 Jul 2024 17:10:55 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 46VHAoXc090454; Wed, 31 Jul 2024 12:10:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1722445851; bh=VVhDA/DT3hGQQoCDjSRbk4R2xYQLd5qL46zIyAsBaqo=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=I1OksOchEQLcN8K5SyNF+NktJnt5+sBk+k6lO/cPi1Czt+5hfvTHN86EoC7tiYhgd KQjRl5fhGTBWd7VKlmFhA5ttMHX8Lf1n6dF0ht48jYMs6K4JG/+mAgXHTzcPzzG/Uh e0u3S4IfUiQsqai91iHtpF6+TdXWqxnAqzDPHmO0= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 46VHAoPf108877 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 31 Jul 2024 12:10:50 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 31 Jul 2024 12:10:50 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 31 Jul 2024 12:10:50 -0500 Received: from [127.0.1.1] (uda0497581.dhcp.ti.com [10.24.68.185]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 46VHAVgR036362; Wed, 31 Jul 2024 12:10:47 -0500 From: Manorit Chawdhry Date: Wed, 31 Jul 2024 22:40:30 +0530 Subject: [PATCH v3 4/9] arm64: dts: ti: Split k3-j784s4-j742s2-main-common.dtsi MIME-Version: 1.0 Message-ID: <20240731-b4-upstream-j742s2-v3-4-da7fe3aa9e90@ti.com> References: <20240731-b4-upstream-j742s2-v3-0-da7fe3aa9e90@ti.com> In-Reply-To: <20240731-b4-upstream-j742s2-v3-0-da7fe3aa9e90@ti.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , Udit Kumar , Neha Malcom Francis , Aniket Limaye , Manorit Chawdhry X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1722445831; l=2512; i=m-chawdhry@ti.com; s=20231127; h=from:subject:message-id; bh=PxrG8bZxhw5fS8NLV0uCqWQHJe+edChWzsafCHdHp30=; b=8Ny2Sufd49QCrbrTXLkPx6pOhFFJ/g8ZhyklB/Q8yVOnOjqUu/jTBBcuqBYOrZcFCWFYJl5cR LUcuFBm/g5KASfRk5nDw6nZ/26q9ssXUhpQe2kVDGgMEkU+SR6QbxiU X-Developer-Key: i=m-chawdhry@ti.com; a=ed25519; pk=fsr6Tm39TvsTgfyfFQLk+nnqIz2sBA1PthfqqfiiYSs= 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-20240731_101053_982448_F181A436 X-CRM114-Status: GOOD ( 14.70 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org k3-j784s4-j742s2-main-common.dtsi will be included in k3-j742s2-main.dtsi at a later point so move j784s4 related stuff to k3-j784s4-main.dtsi Signed-off-by: Manorit Chawdhry --- .../boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi | 13 ------------- arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 21 +++++++++++++++++++++ arch/arm64/boot/dts/ti/k3-j784s4.dtsi | 2 ++ 3 files changed, 23 insertions(+), 13 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi index 17abd0f1560a..91352b1f63d2 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi @@ -2405,19 +2405,6 @@ c71_2: dsp@66800000 { status = "disabled"; }; - c71_3: dsp@67800000 { - compatible = "ti,j721s2-c71-dsp"; - reg = <0x00 0x67800000 0x00 0x00080000>, - <0x00 0x67e00000 0x00 0x0000c000>; - reg-names = "l2sram", "l1dram"; - ti,sci = <&sms>; - ti,sci-dev-id = <40>; - ti,sci-proc-ids = <0x33 0xff>; - resets = <&k3_reset 40 1>; - firmware-name = "j784s4-c71_3-fw"; - status = "disabled"; - }; - main_esm: esm@700000 { compatible = "ti,j721e-esm"; reg = <0x00 0x700000 0x00 0x1000>; diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi new file mode 100644 index 000000000000..2ea470d1206d --- /dev/null +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi @@ -0,0 +1,21 @@ +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/* + * Device Tree Source for J784S4 SoC Family Main Domain peripherals + * + * Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/ + */ + +&cbass_main { + c71_3: dsp@67800000 { + compatible = "ti,j721s2-c71-dsp"; + reg = <0x00 0x67800000 0x00 0x00080000>, + <0x00 0x67e00000 0x00 0x0000c000>; + reg-names = "l2sram", "l1dram"; + ti,sci = <&sms>; + ti,sci-dev-id = <40>; + ti,sci-proc-ids = <0x33 0xff>; + resets = <&k3_reset 40 1>; + firmware-name = "j784s4-c71_3-fw"; + status = "disabled"; + }; +}; diff --git a/arch/arm64/boot/dts/ti/k3-j784s4.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4.dtsi index 16ade4fd9cbd..f5afa32157cb 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4.dtsi @@ -168,3 +168,5 @@ cpu7: cpu@103 { }; }; }; + +#include "k3-j784s4-main.dtsi"