From patchwork Fri Apr 12 05:36:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neha Malcom Francis X-Patchwork-Id: 13626880 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 7FFB4C04FF9 for ; Fri, 12 Apr 2024 05:37:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=z3Y+qWf9Pf2i/ccVIKswNiqvBzkye9fUTMCtL6YFjKs=; b=44N4In1NK/58ZM RmEunGOIrB5Xo6fhXUigWV3x2RSXO+NYN82KcGeeFKMFbVaDDBn3ymx6z1egOdagavvDO0Ad9VuSd 0yQ8kY5w8L2drwd6L2on58Xb4Jhjs8+ug4YKzSBsU7vBUnoknJREw0KAS+cMxSPZwmRttcTUfnDUO TkdTq73j06hlakKnddGxkMKA6niLH+W36MRwGZ5hj64sYWo83MnvSFbAqjYwR0MeLb8Tmk2HLvHJw COx4CRlhpwOueeAdt79a/1GiMKqu5sM6ns3pWY0/5lhmGK04V4l/NGUMFH79lbKUY+COF4MA/WOm1 f4YAL/+/97NaxJqj5I5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rv9bE-0000000FQZf-2hol; Fri, 12 Apr 2024 05:37:20 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rv9b2-0000000FQUl-2uuj for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2024 05:37:11 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 43C5awwb127403; Fri, 12 Apr 2024 00:36:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1712900218; bh=7vvuuLhzWMQA4S6tQ0HDx1Vnj2RKKlHTKCWQaIP/fwM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=tDpKFLRaxn61bRGDSvgLNrJaAxO3RxPtzgDtg0WroQ232E9bUWj27o2RhnCsts4Xz kuFW3G9cZ43gM9P6a8Nd5+iN7OgX6UPa1HRANUlwGpJrhxZmZn/sfk7wGgxQYd/Lqb PhWkIPAEiwKH0EOGInfmFXkb7s0L1bQ2fDEDgWkA= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 43C5awfa054776 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 12 Apr 2024 00:36:58 -0500 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 12 Apr 2024 00:36:58 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE109.ent.ti.com (10.64.6.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; Fri, 12 Apr 2024 00:36:58 -0500 Received: from a0497641-HP-Z2-Tower-G9-Workstation-Desktop-PC.dhcp.ti.com (a0497641-hp-z2-tower-g9-workstation-desktop-pc.dhcp.ti.com [172.24.227.36]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 43C5aofY085656; Fri, 12 Apr 2024 00:36:55 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , , Subject: [PATCH v3 1/5] arm64: dts: ti: k3-j721e-mcu: Add the WKUP ESM instance Date: Fri, 12 Apr 2024 11:06:46 +0530 Message-ID: <20240412053650.703667-2-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240412053650.703667-1-n-francis@ti.com> References: <20240412053650.703667-1-n-francis@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-20240411_223708_879809_2F9633C4 X-CRM114-Status: UNSURE ( 8.65 ) 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 Add the WKUP ESM instance for J721E. It has three instances in total, one in the MAIN domain (main_esm) and two in the MCU-WKUP domain (mcu_esm and wkup_esm). Signed-off-by: Neha Malcom Francis Reviewed-by: Udit Kumar --- Changes since v2: - no changes arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi index 4618b697fbc4..3044e08f6858 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi @@ -689,4 +689,10 @@ mcu_esm: esm@40800000 { ti,esm-pins = <95>; bootph-pre-ram; }; + + wkup_esm: esm@42080000 { + compatible = "ti,j721e-esm"; + reg = <0x00 0x42080000 0x00 0x1000>; + status = "disabled"; + }; }; From patchwork Fri Apr 12 05:36:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neha Malcom Francis X-Patchwork-Id: 13626877 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 9D4FBC4345F for ; Fri, 12 Apr 2024 05:37:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=yjU4KERAh31myU7EMLSJiMBo5TG65LolxIrDInNXxek=; b=ihMO8TDrlgQrBs TWR2B3SX7S7iXCrbK4mmO/sqPgTYUX8t78y5OVtXRM7b0KsWwKKIg1NYdAT0LMwdhVlBWqQNaz/LZ 09lDh6d48IGoCNfCSK+mR2rQP95PQJvdax5dweKciJvfwItIXNHaeqQDp1hPPYHVGWghfMgJZ+Liq i9qtmVQ8xy1l2Nd+nahBzBxjSYDU28MtKX3tkuJc1ZWrDad3rfCI3mcqiS5AHy1W0a6YPKcz36xjK y52xuCFv4Rs9ZkOJH2iQ34QI1h+LONEd73rJ35cdJVQuAuNtlHHcJ27j2h1jTFidvbrjAa/juHe+n spG0uyglRtRm4/dFDrvQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rv9b6-0000000FQWC-1Fou; Fri, 12 Apr 2024 05:37:12 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rv9b2-0000000FQUs-2ulR for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2024 05:37:10 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 43C5b3AR127411; Fri, 12 Apr 2024 00:37:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1712900223; bh=B+ze190XEhuBE/aOUcoRakFhFQeYQvRXXay8abf33sg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=eesRr0DuYx0qEjn4MZ6+wFRlEslcFjq1CEQTkgHedWsAereJ15P7H4mqokNa4hREj tm6enCzIMkf6FZQhQHr30zBdlU+Tv0eJyxqLUj7YecSlusLwaDbnC2qXxL3WOXjdWe 3E1la+Y8PUcoE8bNHD5hfen5c+dbxOFTKbtmmHBU= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 43C5b2oZ030035 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 12 Apr 2024 00:37:03 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 12 Apr 2024 00:37:01 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) 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; Fri, 12 Apr 2024 00:37:01 -0500 Received: from a0497641-HP-Z2-Tower-G9-Workstation-Desktop-PC.dhcp.ti.com (a0497641-hp-z2-tower-g9-workstation-desktop-pc.dhcp.ti.com [172.24.227.36]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 43C5aofZ085656; Fri, 12 Apr 2024 00:36:58 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , , Subject: [PATCH v3 2/5] arm64: dts: ti: k3-j721e-mcu: Add the MCU domain watchdog instances Date: Fri, 12 Apr 2024 11:06:47 +0530 Message-ID: <20240412053650.703667-3-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240412053650.703667-1-n-francis@ti.com> References: <20240412053650.703667-1-n-francis@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-20240411_223708_871840_A5BDB8F0 X-CRM114-Status: UNSURE ( 9.72 ) 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 There are 2 watchdog instances in the MCU domain. These instances are coupled with the MCU domain R55 instances. Reserve them as they are not used by A72. Signed-off-by: Neha Malcom Francis Reviewed-by: Udit Kumar --- Changes since v2: - no changes .../boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi index 3044e08f6858..0dc84c9f8c4a 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi @@ -695,4 +695,30 @@ wkup_esm: esm@42080000 { reg = <0x00 0x42080000 0x00 0x1000>; status = "disabled"; }; + + /* + * The 2 RTI instances are couple with MCU R5Fs so keeping them + * reserved as these will be used by their respective firmware + */ + mcu_watchdog0: watchdog@40600000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x40600000 0x00 0x100>; + clocks = <&k3_clks 262 1>; + power-domains = <&k3_pds 262 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 262 1>; + assigned-clock-parents = <&k3_clks 262 5>; + /* reserved for MCU_R5F0_0 */ + status = "reserved"; + }; + + mcu_watchdog1: watchdog@40610000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x40610000 0x00 0x100>; + clocks = <&k3_clks 263 1>; + power-domains = <&k3_pds 263 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 263 1>; + assigned-clock-parents = <&k3_clks 263 5>; + /* reserved for MCU_R5F0_1 */ + status = "reserved"; + }; }; From patchwork Fri Apr 12 05:36:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neha Malcom Francis X-Patchwork-Id: 13626879 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 3D584C04FF8 for ; Fri, 12 Apr 2024 05:37:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=GXoexWEZuO2HbHbupw9hqyN48Hk60rCU8fbmndouz5s=; b=3a864+MqbUcQnd FRn/BjwM5PLivg22sZHqIrRBP/8vLQZMzzW0jpFhLcuY3r6H1EqC+tW9XtyOwqat8BaFC7B4zyh4+ 4BgiPN/+6dUALZf2YQaJ+LBas7GgQTJV7Lgfzpqp4GJG9D8LefqLmCQwIvx/cQ4yMc2bw2MyaXtxf D8COr5otGcHVY0oExYo0QlMAvESxYIBozweJg5p9UXEQz4aDf8nc1feSqgUhDXK/Oc1+f83fjjUSO IbIxWY0S2U7Kpp6SLC6zDP7ljC69iOUrITwAFnfI54r+lXr9Laj1rqPAVLpOSZCBx2uabxJNWm2l4 4P9w6yc2u5lthvSVagpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rv9bF-0000000FQaC-2j6w; Fri, 12 Apr 2024 05:37:21 +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 1rv9b4-0000000FQUx-2G0Z for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2024 05:37:12 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 43C5b5sr080377; Fri, 12 Apr 2024 00:37:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1712900225; bh=krzuIm4HdbO9vTolPgQZarG+X32VSLpgqIn5uyq5zSA=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=J6jIC9QLbqBZRDtQGqV2fPl3X00iOVI/QvR+PIky+TZdUxqvs1Lhj8e0ay55zlw3p BGbzF+uUVi6vkQUdzSyBmWUCJtVhP7i2aZV9P7cpa+61S9lmQClfmUSjUfKVC/Gk2P ZFX1yyWOIDDScO03BqMPMrbB6vrHKw/aVfAXzgHI= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 43C5b5QG054887 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 12 Apr 2024 00:37:05 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 12 Apr 2024 00:37:04 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE115.ent.ti.com (10.64.6.36) 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, 12 Apr 2024 00:37:04 -0500 Received: from a0497641-HP-Z2-Tower-G9-Workstation-Desktop-PC.dhcp.ti.com (a0497641-hp-z2-tower-g9-workstation-desktop-pc.dhcp.ti.com [172.24.227.36]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 43C5aofa085656; Fri, 12 Apr 2024 00:37:02 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , , Subject: [PATCH v3 3/5] arm64: dts: ti: k3-j721e-main: Add the MAIN domain watchdog instances Date: Fri, 12 Apr 2024 11:06:48 +0530 Message-ID: <20240412053650.703667-4-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240412053650.703667-1-n-francis@ti.com> References: <20240412053650.703667-1-n-francis@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-20240411_223710_693993_3E3F6BB0 X-CRM114-Status: GOOD ( 10.08 ) 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 There are 10 watchdog instances in the MAIN domain: * one each for the 2 A72 cores * one for the GPU core * one for the C7x core * one each for the 2 C66x cores * one each for the 4 R5F cores Currently, the devicetree only describes watchdog instances for the A72 cores and enables them. Describe the remaining but reserve them as they will be used by their respective firmware. Signed-off-by: Neha Malcom Francis Reviewed-by: Udit Kumar --- Changes since v2: - no changes arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 93 +++++++++++++++++++++++ 1 file changed, 93 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi index c7eafbc862f9..0dd5005b34aa 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi @@ -2157,6 +2157,99 @@ watchdog1: watchdog@2210000 { assigned-clock-parents = <&k3_clks 253 5>; }; + /* + * The following RTI instances are coupled with MCU R5Fs, c7x and + * GPU so keeping them reserved as these will be used by their + * respective firmware + */ + watchdog15: watchdog@22f0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x22f0000 0x00 0x100>; + clocks = <&k3_clks 257 1>; + power-domains = <&k3_pds 257 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 257 1>; + assigned-clock-parents = <&k3_clks 257 5>; + /* reserved for GPU */ + status = "reserved"; + }; + + watchdog16: watchdog@2300000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2300000 0x00 0x100>; + clocks = <&k3_clks 256 1>; + power-domains = <&k3_pds 256 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 256 1>; + assigned-clock-parents = <&k3_clks 256 5>; + /* reserved for C7X */ + status = "reserved"; + }; + + watchdog24: watchdog@2380000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2380000 0x00 0x100>; + clocks = <&k3_clks 254 1>; + power-domains = <&k3_pds 254 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 254 1>; + assigned-clock-parents = <&k3_clks 254 5>; + /* reserved for C66X_0 */ + status = "reserved"; + }; + + watchdog25: watchdog@2390000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2390000 0x00 0x100>; + clocks = <&k3_clks 255 1>; + power-domains = <&k3_pds 255 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 255 1>; + assigned-clock-parents = <&k3_clks 255 5>; + /* reserved for C66X_1 */ + status = "reserved"; + }; + + watchdog28: watchdog@23c0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x23c0000 0x00 0x100>; + clocks = <&k3_clks 258 1>; + power-domains = <&k3_pds 258 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 258 1>; + assigned-clock-parents = <&k3_clks 258 5>; + /* reserved for MAIN_R5F0_0 */ + status = "reserved"; + }; + + watchdog29: watchdog@23d0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x23d0000 0x00 0x100>; + clocks = <&k3_clks 259 1>; + power-domains = <&k3_pds 259 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 259 1>; + assigned-clock-parents = <&k3_clks 259 5>; + /* reserved for MAIN_R5F0_1 */ + status = "reserved"; + }; + + watchdog30: watchdog@23e0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x23e0000 0x00 0x100>; + clocks = <&k3_clks 260 1>; + power-domains = <&k3_pds 260 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 260 1>; + assigned-clock-parents = <&k3_clks 260 5>; + /* reserved for MAIN_R5F1_0 */ + status = "reserved"; + }; + + watchdog31: watchdog@23f0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x23f0000 0x00 0x100>; + clocks = <&k3_clks 261 1>; + power-domains = <&k3_pds 261 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 261 1>; + assigned-clock-parents = <&k3_clks 261 5>; + /* reserved for MAIN_R5F1_1 */ + status = "reserved"; + }; + main_r5fss0: r5fss@5c00000 { compatible = "ti,j721e-r5fss"; ti,cluster-mode = <1>; From patchwork Fri Apr 12 05:36:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neha Malcom Francis X-Patchwork-Id: 13626882 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 CBDC8C04FF9 for ; Fri, 12 Apr 2024 05:37:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=Z+st0etz2v+3J7SVIOoRziXtJxLG4GxmqFdoZRFKeDI=; b=xgl41RkqhpQZjO Z3GJXMpABMmV/et0cIplCwSQEInH8WOXAJ8K5oBA3zN5xfZVHebeMpTvBKa/NxmTEesNh5vztWiJO NL1Bc/dDJ32tnvesHHpe7IadWf9OcwduXpmK62JjStMG2Pu2RrkCZs7UxVnQdgCs1av54RklyoXQO 3yapNcZlQhqo7ZXjLjewK5kksJLokmKvsYKnPjGZ28WvTieTLi7lM4QWnamjt/13P6drHariQYcuw EYj14uKgZBoiUlUjVHE+ZXappNk2Ce/ognGrh8EbZex1kXhGL05yv/k4RhXeP/ELZvzwKD6zJRhCD U/wrx6AFuMlUPVbgTaHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rv9bH-0000000FQbL-2Wcs; Fri, 12 Apr 2024 05:37:23 +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 1rv9b8-0000000FQWM-286M for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2024 05:37:15 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 43C5b81w028368; Fri, 12 Apr 2024 00:37:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1712900228; bh=3cKgzy6Yi0eMhgIO9iE3bTgnSMO5yEWtriuK2INYypY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=TPqWfa6mudsmBV0xJi4ckeYBYE7Y70fUVgsB3JjD5QA8+iBFeavBYzUMAwjwUioSQ +b1waSPz2Rl2b7N3PxqCmoXcrIb/EZuDuOgcx1do5hfpvsS07VYVePCk7TJBa7P5qQ F03iI/rM5+jdxr9TLpXmTq7zNAdVbTKcciLmA0xM= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 43C5b8JB054925 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 12 Apr 2024 00:37:08 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 12 Apr 2024 00:37:08 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE110.ent.ti.com (10.64.6.31) 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, 12 Apr 2024 00:37:08 -0500 Received: from a0497641-HP-Z2-Tower-G9-Workstation-Desktop-PC.dhcp.ti.com (a0497641-hp-z2-tower-g9-workstation-desktop-pc.dhcp.ti.com [172.24.227.36]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 43C5aofb085656; Fri, 12 Apr 2024 00:37:05 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , , Subject: [PATCH v3 4/5] arm64: dts: ti: k3-j7200-main: Add the MAIN domain watchdog instances Date: Fri, 12 Apr 2024 11:06:49 +0530 Message-ID: <20240412053650.703667-5-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240412053650.703667-1-n-francis@ti.com> References: <20240412053650.703667-1-n-francis@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-20240411_223714_661215_D5871E8D X-CRM114-Status: GOOD ( 10.30 ) 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 There are 4 watchdog instances in the MAIN domain: * one each for the 2 A72 cores * one each for the 2 R5F cores Currently, the devicetree only describes watchdog instances for the A72 cores and enables them. Describe the remaining but reserve them as they will be used by their respective firmware. Signed-off-by: Neha Malcom Francis Reviewed-by: Udit Kumar --- Changes since v2: - no changes arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi index 657f9cc9f4ea..b24a6333563a 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi @@ -1254,6 +1254,33 @@ watchdog1: watchdog@2210000 { assigned-clock-parents = <&k3_clks 253 5>; }; + /* + * The following RTI instances are coupled with MCU R5Fs so + * keeping them reserved as these will be used by their respective + * firmware + */ + watchdog28: watchdog@23c0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x23c0000 0x00 0x100>; + clocks = <&k3_clks 258 1>; + power-domains = <&k3_pds 258 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 258 1>; + assigned-clock-parents = <&k3_clks 258 5>; + /* reserved for MAIN_R5F0_0 */ + status = "reserved"; + }; + + watchdog29: watchdog@23d0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x23d0000 0x00 0x100>; + clocks = <&k3_clks 259 1>; + power-domains = <&k3_pds 259 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 259 1>; + assigned-clock-parents = <&k3_clks 259 5>; + /* reserved for MAIN_R5F0_1 */ + status = "reserved"; + }; + main_timer0: timer@2400000 { compatible = "ti,am654-timer"; reg = <0x00 0x2400000 0x00 0x400>; From patchwork Fri Apr 12 05:36:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neha Malcom Francis X-Patchwork-Id: 13626881 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 B34AFC4345F for ; Fri, 12 Apr 2024 05:37:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=du7zd5gBm0SDmO5+2e2YWCWMYdWeMchiAM+Ir6GZFMI=; b=iPCK78eizEW9Nc 4gH5NebNKQySzKXl7seNscMw2aXiG1+rO//bV2gzOHH7Qk9DSLYZTj8KoiB+lciPtrsxrluwu59eu 0MZrKTIMk5nO7V/PEMr9rVyu8D5Dw53hTt82Mz9ADFWOfWkzWc/AGEBO9081cLgK4OXC1YgvvRQBN sseKMm1sGq4YM2cd7MVEx/9xIl64+tJ8Zn+fIhcqx1iMgAzSQnVsgAa7gqZzOIJcohDvXe+sA80/p 1tqMOLaZ8hg6ZE16cPWae3xSp8SkHhFgOyhWRO/LUkIBCqezLjU9XTje+RnqEN97PaOYZv4XHv3lx /0PQUVgZEl8q6lMLgZwQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rv9bK-0000000FQdO-1pD9; Fri, 12 Apr 2024 05:37:26 +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 1rv9b8-0000000FQWj-3DUO for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2024 05:37:16 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 43C5bCsn082712; Fri, 12 Apr 2024 00:37:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1712900232; bh=qRGL+3UoqinLQLWI/4Jm7PGqlRKDQDmW75F9UldqsGk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=uXLuRLlaMfULXOhN3DalFkbBsuEapiyjOQNZS3ZD7OCIE6Mott4NYvpcjYAKNhFau gy9OQgfLPDUNwq0nBm+lBXppR4+9hMt1XVLkN/Lgzj3pjEApqFd6mLm//T4NiX+DKx 1h1mjtCFA7qHe7oaDYaqQbR2qShdrcQ6IjaHUmIA= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 43C5bCkg054940 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 12 Apr 2024 00:37:12 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 12 Apr 2024 00:37:11 -0500 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE111.ent.ti.com (10.64.6.32) 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, 12 Apr 2024 00:37:11 -0500 Received: from a0497641-HP-Z2-Tower-G9-Workstation-Desktop-PC.dhcp.ti.com (a0497641-hp-z2-tower-g9-workstation-desktop-pc.dhcp.ti.com [172.24.227.36]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 43C5aofc085656; Fri, 12 Apr 2024 00:37:08 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , , Subject: [PATCH v3 5/5] arm64: dts: ti: k3-j7200-mcu: Add the MCU domain watchdog instances Date: Fri, 12 Apr 2024 11:06:50 +0530 Message-ID: <20240412053650.703667-6-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240412053650.703667-1-n-francis@ti.com> References: <20240412053650.703667-1-n-francis@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-20240411_223714_962158_D9519BD9 X-CRM114-Status: UNSURE ( 9.41 ) 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 There are 2 watchdog instances in the MCU domain. These instances are coupled with the MCU domain R55 instances. Reserve them as they are not used by A72. Signed-off-by: Neha Malcom Francis Reviewed-by: Udit Kumar --- Changes since v2: - corrected register size from 0xbd to 0x100 as per TRM .../boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi index 7cf21c99956e..f6ca4ffb5ee1 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi @@ -686,4 +686,30 @@ mcu_mcan1: can@40568000 { bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; status = "disabled"; }; + + /* + * The 2 RTI instances are couple with MCU R5Fs so keeping them + * reserved as these will be used by their respective firmware + */ + mcu_watchdog0: watchdog@40600000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x40600000 0x00 0x100>; + clocks = <&k3_clks 262 1>; + power-domains = <&k3_pds 262 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 262 1>; + assigned-clock-parents = <&k3_clks 262 5>; + /* reserved for MCU_R5F0_0 */ + status = "reserved"; + }; + + mcu_watchdog1: watchdog@40610000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x40610000 0x00 0x100>; + clocks = <&k3_clks 263 1>; + power-domains = <&k3_pds 263 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 263 1>; + assigned-clock-parents = <&k3_clks 263 5>; + /* reserved for MCU_R5F0_1 */ + status = "reserved"; + }; };