From patchwork Mon Aug 26 10:48:16 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: 13777636 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 D7A83C5321E for ; Mon, 26 Aug 2024 10:51:56 +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=g8aPuBFQ3LtP1TgWrn+5LzqHHpaz5j5eFoHeipb3eLk=; b=nHyv/o+fvWMZHIOTqvclLRdhMp 4NLzq72rL2uZQ6d4yQvsQ8XU3dL+eG3QHc4CeVVLckWm8xhGZJbbnZEO4pTupuxs5RcCe47X6D6wS vaEbzs0ZlTK4JO/nej0QvPU3e3pPqGf6EdfrnG+uh6e3EwgnaP2l61+r6CeoAyNB+9jDGlBMDzW4/ bYZyvsAJwpcEn+OyWsNgXltoEq2pnSXuFytZlNF5GUGAiGSETGYCSPr+gI9JVlGOBWFV2hxvAYly3 nEFwlTDXMfhI+9PIAuvV0eWzGXwDpAtDDXVtLjmIeS1ZsIBOhETeWGrRCd117gJk67EWjPGvQarOT CjPGRwJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1siXK5-000000070eK-3qcv; Mon, 26 Aug 2024 10:51:45 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1siXHB-00000006zna-0y9c for linux-arm-kernel@lists.infradead.org; Mon, 26 Aug 2024 10:48:46 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 47QAmdQw099071; Mon, 26 Aug 2024 05:48:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1724669319; bh=g8aPuBFQ3LtP1TgWrn+5LzqHHpaz5j5eFoHeipb3eLk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=UT6U9X4P+UXWN6uRUgt2NUulykGjDhUuMupodYi/0hQfC0EhJNo7zUtCCD70lHRkW 2yM4d6kow1G1M+Iix98oxTWMXWdl0hEHphm321oMVFDNgy614w6s3iRw4/SbU5k1M2 bHH3eU/ns0FbSKdxanJatZSY6QE00Fszj242jZFk= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 47QAmded096927 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 26 Aug 2024 05:48:39 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 26 Aug 2024 05:48:39 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE100.ent.ti.com (157.170.170.30) 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; Mon, 26 Aug 2024 05:48:39 -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 47QAmLNm063606; Mon, 26 Aug 2024 05:48:35 -0500 From: Beleswar Padhi To: , , , , , CC: , , , , , , , , Subject: [PATCH v4 3/7] arm64: dts: ti: k3-j721e-sk: Change timer nodes status to reserved Date: Mon, 26 Aug 2024 16:18:16 +0530 Message-ID: <20240826104821.1516344-4-b-padhi@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240826104821.1516344-1-b-padhi@ti.com> References: <20240826104821.1516344-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-20240826_034845_383825_BB87C828 X-CRM114-Status: UNSURE ( 9.55 ) 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 The remoteproc firmware like of R5F and DSPs in the MAIN voltage domain use timers. Therefore, change the status of the timer nodes to "reserved" to avoid any clash. Usage is described as below: +===================+==============+ | Remoteproc node | Timer Node | +===================+==============+ | main_r5fss0_core0 | main_timer12 | +-------------------+--------------+ | main_r5fss0_core1 | main_timer13 | +-------------------+--------------+ | main_r5fss1_core0 | main_timer14 | +-------------------+--------------+ | main_r5fss1_core1 | main_timer15 | +-------------------+--------------+ | c66_0 | main_timer0 | +-------------------+--------------+ | c66_1 | main_timer1 | +-------------------+--------------+ | c71_0 | main_timer2 | +-------------------+--------------+ Fixes: 7f209dd1267c ("arm64: dts: ti: k3-j721e: Add general purpose timers") Signed-off-by: Beleswar Padhi --- arch/arm64/boot/dts/ti/k3-j721e-sk.dts | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-sk.dts b/arch/arm64/boot/dts/ti/k3-j721e-sk.dts index 1896218fe038..046267044e68 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-j721e-sk.dts @@ -1319,6 +1319,35 @@ &main_r5fss1 { ti,cluster-mode = <0>; }; +/* Timers are used by Remoteproc firmware */ +&main_timer0 { + status = "reserved"; +}; + +&main_timer1 { + status = "reserved"; +}; + +&main_timer2 { + status = "reserved"; +}; + +&main_timer12 { + status = "reserved"; +}; + +&main_timer13 { + status = "reserved"; +}; + +&main_timer14 { + status = "reserved"; +}; + +&main_timer15 { + status = "reserved"; +}; + &main_r5fss0_core0 { mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>; memory-region = <&main_r5fss0_core0_dma_memory_region>,