From patchwork Fri Aug 30 16:17:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Beleswar Prasad Padhi X-Patchwork-Id: 13785323 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 6C9AACA100A for ; Fri, 30 Aug 2024 16:22:31 +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:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=DhekLUAz8k/SYochinI0gHjVHHz9+x99j+ULBxqC+jg=; b=SgHdR2mFXR5OPjJom2K3MmDxJh r0UGZk1cMVXxvQIIweJdTuiGbyr9W9VyM0289xuut+GY46LoNIrdAh4KY81837ZwFG1gaqaZI5qBg LFxiWVVpO33GoMQalnHELdY66Cq5SglQ6zJRcHm1phdGr9S91mtKCgR9+g+HSdAOnfQyCZrk0CvUR XRATwJIHxtrDk58pXqy6Zaz723Ux4UujiuBXkse0nZkI24VcNMmqn/xLSRpPR3cr0xiDg5yWIpshY yi/2stGl2KRsJ2ms27wYVKc+WStl11cJ3qnjt+XENbaPXN6NC/uw/SWj1XHCDUykkycpz+hFnde64 lJsYYhaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sk4OE-00000006zvq-0tOM; Fri, 30 Aug 2024 16:22:22 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sk4Jw-00000006z2Z-2UPJ for linux-arm-kernel@lists.infradead.org; Fri, 30 Aug 2024 16:17:58 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 47UGHpa9066724; Fri, 30 Aug 2024 11:17:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1725034671; bh=DhekLUAz8k/SYochinI0gHjVHHz9+x99j+ULBxqC+jg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=F/BCF2LlWtwfMWiAdmBqaTrs9FQ89LQJbm0coRDi4/A3FRabJMbyoQS4XGaxxLGUF Uz0WPZY4g6C3rsJP0ocaqwN7yZD0bPf4eR8WoNPYNJdzu4W1Xt9/0ZnMDew5Qz3ov7 YPGvN/EXVqs6Z2GVNQm47FCYqmVSjeomHuWNpj7Y= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTP id 47UGHpn1064189; Fri, 30 Aug 2024 11:17:51 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 30 Aug 2024 11:17:50 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE103.ent.ti.com (10.64.6.24) 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; Fri, 30 Aug 2024 11:17:50 -0500 Received: from uda0510294.dhcp.ti.com (uda0510294.dhcp.ti.com [172.24.227.151]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 47UGHhRb103243; Fri, 30 Aug 2024 11:17:47 -0500 From: Beleswar Padhi To: , , , , , CC: , , , , , , Subject: [PATCH v5 1/2] arm64: dts: ti: k3-j722s-main: Add R5F and C7x remote processor nodes Date: Fri, 30 Aug 2024 21:47:41 +0530 Message-ID: <20240830161742.925145-2-b-padhi@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240830161742.925145-1-b-padhi@ti.com> References: <20240830161742.925145-1-b-padhi@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-20240830_091756_774726_843E90B2 X-CRM114-Status: UNSURE ( 8.93 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Reviewed-by: Udit Kumar Reviewed-by: Andrew Davis --- v5: Changelog: 1) Collected Reviewed-by tags from Udit and Andrew given in v4 revision of this patch. Link to v4: https://lore.kernel.org/all/20240829060932.3441295-2-b-padhi@ti.com/ v4: Changelog: 1) Put standard properties (resets, firmware-name) before vendor specific properties in added DT Nodes. (Nishanth) Link to v3: https://lore.kernel.org/all/20240828112713.2668526-2-b-padhi@ti.com/ v3: Changelog: 1) None to this patch. Link to v2: https://lore.kernel.org/all/20240612112259.1131653-2-b-padhi@ti.com/ v2: Changelog: 1) Refactored changes from k3-j722s.dtsi to k3-j722s-main.dtsi. (Andrew) Link to v1: https://lore.kernel.org/all/20240607090433.488454-2-b-padhi@ti.com/ 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 cadb4f7c2ea9..ed6f4ba08afc 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"; + resets = <&k3_reset 262 1>; + firmware-name = "j722s-main-r5f0_0-fw"; + ti,sci = <&dmsc>; + ti,sci-dev-id = <262>; + ti,sci-proc-ids = <0x04 0xff>; + 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"; + resets = <&k3_reset 208 1>; + firmware-name = "j722s-c71_0-fw"; + ti,sci = <&dmsc>; + ti,sci-dev-id = <208>; + ti,sci-proc-ids = <0x30 0xff>; + status = "disabled"; + }; + + c7x_1: dsp@7e200000 { + compatible = "ti,am62a-c7xv-dsp"; + reg = <0x00 0x7e200000 0x00 0x00200000>; + reg-names = "l2sram"; + resets = <&k3_reset 268 1>; + firmware-name = "j722s-c71_1-fw"; + ti,sci = <&dmsc>; + ti,sci-dev-id = <268>; + ti,sci-proc-ids = <0x31 0xff>; + 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 {