Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp371714lqp; Wed, 12 Jun 2024 04:23:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWOq1A5X76903QSbEvUTcriAgRzH8262bdpR8Cnmzdl8DNLygWhaMF67pwfUH9GG6gqCPQC+ZUuuWfo+GOgVDFLqK2PKsBf6HKYVWKbPw== X-Google-Smtp-Source: AGHT+IGhHLkoLurt0JArYBrEuOgxvq6pa/sBQ1aYANXcbJURUDJNghokUxtai5iScuQ4qvDSWHkd X-Received: by 2002:a17:907:7248:b0:a6f:d1d:b523 with SMTP id a640c23a62f3a-a6f47d56b15mr118438266b.36.1718191405233; Wed, 12 Jun 2024 04:23:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718191405; cv=pass; d=google.com; s=arc-20160816; b=NMFL2v2HWd7O/rwU30e7nPbnXRZAdx+FDHjTFNXQLL8Y6I+hP3Z3unvfsma835PUYf jCEZgkHdogoVKJh/vVpj4MuTVg1UvIpaeMoJ1CXI8tAA6Ulhb+yoabAfYTw6wiZzfkEN PHjuvgjmTYLPQ5NvuAMwqQ62mzEUQHNhtoId0jtCgnTbSfVWJTnXoI2GKTgQmNG+5SMG XG7Mx+hOjJowo26uESnLZySlEYD7HvniNS4xmICJt9naWvtXKS6xcCxPTpkmxxMKZIv6 MAvQxkdwv4CodslKV94O4RMWPrXiGFcvYkEFnhykYSzdA8JkHv+Hw3ehLszDbT0iUCuf 5Dag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=DlWmeBChXX90LjxZUr3kBbM7iSYW8tAoDGjC+yAvZV4=; fh=PZKwKaUj5aRgsPEs/OYJ+zBdNUMbyPCgzBiJPiEozb0=; b=dWJIZPm2liSMltlUn2zLSoTCG4/W7dUzqEA/XRueVNFWeY618/uUpYSAabsKgUSawp iQy2n/ynbl3cv24IG1OBrpTfBznumzcWGyhkgleJ/N9vfk+pG4/Tf6mCdmDYUkcP9N6d bKZJHQzQy6rup78ck6mEc6bHvRgHG0jmRQ+k42vwmhlwQMqQJbJ3VK7ezEifMlDdgAVj zblkk4XuRDTV15Pb8MzODtupcnPvU+3c4HuVpIQ4ZVYY1JvRJ5sZoG2K7GCD7PDr+OEQ w6L0L8bws8kEifpBliv7kSD0Kv/6N6Lvbsh5UrBsZV6SlxjvvV4eLBLSs05MFfooyTc+ pq0g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="YCj2/Ca6"; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-211408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211408-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6f04435034si430255166b.1051.2024.06.12.04.23.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 04:23:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="YCj2/Ca6"; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-211408-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211408-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id EC3961F22367 for ; Wed, 12 Jun 2024 11:23:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 591E016F0E3; Wed, 12 Jun 2024 11:23:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="YCj2/Ca6" Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CFD471534EA; Wed, 12 Jun 2024 11:23:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718191396; cv=none; b=VlfE3rzCRGlS430m1vPYtxKY9YTbTLVTdedu4uLXkHy5HgyPJvbMkWwoHa1ZrOCeuBvBvce1q7/3mXQhtdSGQuGG1leTV+Yo6mv48Vml2ZW6TfkyVyBMfzXpeU87N6F1aAgCSAMR2ntHBTwLru2Aqqfi7KrwHbNic04IbG863fU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718191396; c=relaxed/simple; bh=1wUBgueOjI1BytFrGkHYP3KfTEqUo/lYCFPSMUVT+l8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=lMvGqCHhU0ZOVeNjVwkAoPjIQjxMc9slaRFY4sm1SDKwL01QQB3alFx3dHbaE/6J/5SXhlPf2sIW+2gwDgpz/2M8AIq2l+9PSH0mLQGA8oCqo7Ec7FVODUUhHNdBQQSYb6eSBX6SFv7ETH5rZ8K3A6EoJOQychPqKPF1R+jzTxk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=YCj2/Ca6; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 45CBN8jO045847; Wed, 12 Jun 2024 06:23:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1718191388; bh=DlWmeBChXX90LjxZUr3kBbM7iSYW8tAoDGjC+yAvZV4=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=YCj2/Ca6LgJ6kQcsukvSAy/q5H6Cr1ryOC7whW1hP5XYT5SANaJJsyU9lBdCW9Mas 0XheUKHpQp2wxl/6KTxdJNYXITsRMqDtd/+E95YhpwsYOMq46GTqnrLDydS3dgkuH2 gQkVNDBpTHBt2GorVMdCP/JGxWzR6yz/o15Uczbs= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 45CBN87O125669 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 12 Jun 2024 06:23:08 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 12 Jun 2024 06:23:07 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) 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.2507.23 via Frontend Transport; Wed, 12 Jun 2024 06:23:07 -0500 Received: from uda0510294.dhcp.ti.com (uda0510294.dhcp.ti.com [10.24.69.66]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 45CBMxe3120263; Wed, 12 Jun 2024 06:23:04 -0500 From: Beleswar Padhi To: , CC: , , , , , , , , , , Subject: [PATCH v2 1/2] arm64: dts: ti: k3-j722s-main: Add R5F and C7x remote processor nodes Date: Wed, 12 Jun 2024 16:52:58 +0530 Message-ID: <20240612112259.1131653-2-b-padhi@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240612112259.1131653-1-b-padhi@ti.com> References: <20240612112259.1131653-1-b-padhi@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 From: Apurva Nandan The K3 J722S SoCs have one single-core Arm Cortex-R5F processor in each of the WAKEUP, MCU and MAIN voltage domain, and two C71x DSP subsystems in MAIN voltage domain. Add the DT nodes to support Inter-Processor Communication. Signed-off-by: Apurva Nandan [ refactoring changes to k3-j722s-main.dtsi ] Signed-off-by: Beleswar Padhi --- arch/arm64/boot/dts/ti/k3-j722s-main.dtsi | 61 +++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi b/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi index b16f3a7cb1097..1ca3f656a7209 100644 --- a/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi @@ -153,6 +153,67 @@ usb1: usb@31200000{ dr_mode = "otg"; }; }; + + main_r5fss0: r5fss@78400000 { + compatible = "ti,am62-r5fss"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x78400000 0x00 0x78400000 0x8000>, + <0x78500000 0x00 0x78500000 0x8000>; + power-domains = <&k3_pds 261 TI_SCI_PD_EXCLUSIVE>; + status = "disabled"; + + main_r5fss0_core0: r5f@78400000 { + compatible = "ti,am62-r5f"; + reg = <0x78400000 0x00008000>, + <0x78500000 0x00008000>; + reg-names = "atcm", "btcm"; + ti,sci = <&dmsc>; + ti,sci-dev-id = <262>; + ti,sci-proc-ids = <0x04 0xff>; + resets = <&k3_reset 262 1>; + firmware-name = "j722s-main-r5f0_0-fw"; + ti,atcm-enable = <1>; + ti,btcm-enable = <1>; + ti,loczrama = <1>; + }; + }; + + c7x_0: dsp@7e000000 { + compatible = "ti,am62a-c7xv-dsp"; + reg = <0x00 0x7e000000 0x00 0x00200000>; + reg-names = "l2sram"; + ti,sci = <&dmsc>; + ti,sci-dev-id = <208>; + ti,sci-proc-ids = <0x30 0xff>; + resets = <&k3_reset 208 1>; + firmware-name = "j722s-c71_0-fw"; + status = "disabled"; + }; + + c7x_1: dsp@7e200000 { + compatible = "ti,am62a-c7xv-dsp"; + reg = <0x00 0x7e200000 0x00 0x00200000>; + reg-names = "l2sram"; + ti,sci = <&dmsc>; + ti,sci-dev-id = <268>; + ti,sci-proc-ids = <0x31 0xff>; + resets = <&k3_reset 268 1>; + firmware-name = "j722s-c71_1-fw"; + status = "disabled"; + }; +}; + +/* MCU domain overrides */ + +&mcu_r5fss0_core0 { + firmware-name = "j722s-mcu-r5f0_0-fw"; +}; + +/* Wakeup domain overrides */ + +&wkup_r5fss0_core0 { + firmware-name = "j722s-wkup-r5f0_0-fw"; }; &main_conf { -- 2.34.1