From patchwork Fri Oct 6 04:28:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "J, KEERTHY" X-Patchwork-Id: 149104 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp82556vqo; Thu, 5 Oct 2023 21:29:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG9E7+xr2XfsGnA52yh08vBQQlSez6EHwnnwy3b7nrZith4XKY306rGhJw5KeoMSwQBb9m3 X-Received: by 2002:a05:6358:5906:b0:143:8eb4:cf36 with SMTP id g6-20020a056358590600b001438eb4cf36mr7332011rwf.5.1696566578465; Thu, 05 Oct 2023 21:29:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696566578; cv=none; d=google.com; s=arc-20160816; b=YkI48S0F09rEEwUAT3UW56hoanAu4BY46WBBRKBsSyot+HbF9W9sTnTYNqH7jFwY+j TKgLApCF3OOkbgqkc22H9zBJQpf9ae6VERuVjV+bNAc1pkk3Ggzt66OL0O/401k78i/+ mq7Lqhns3Ur0WlxKmRnOSppzBVI2D8229QCiocQyAdmyAMSzCJNtkRxkDLCtC58slDC7 m7LKHCiY0RdE4xOa3/SWUNhuCXIUn/nqgec2pYtG0ra6vkVTR482bxGSc1ibyO6UYWp5 UWBP14EPI1cq5uOR5i5IMz0ybSWfQLHiD/7Defp/cwuSqa4NFMgbzYmHevWTWSLfKXBE I9Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=q5QNqYEYHoAM89jkPg2NPYZtSUgs8Bzc353aiXSYNPU=; fh=o4PFLqU4Z+JLVMnI9bVS5jAHyZaUDjrT7v5G6HFgWcM=; b=kvkZNxyiJsQiB1j9W11Y2rUX4xpPew+xXMyXQdLMujuFPPVsmy5fOJjiHJ86RU5sD7 Fd2E2CdWhBt5JS6NXtWZQnCVYNyrA789BM/SdRDCOkym7JKaxsT60fgFGLe/Fgv9/AL6 mKnGpSn3W/JhqXnWAa7IQIYaHYeZJ+4dCAkzKtBU/EVnVYhblPpFRBmftHqxcMjHaQ8m FlikKDHn7a1ffzooPG/eFiqvRmcNyer471leGCyCDv8lNjf6YHEvE1l5p44Gu8g5V9vP HPE62uh8ry/T8FhqvqmikpF1oCfwEKiQ/5KWWBtRhyktiZ6t2mXRAAnuKk3Kme708QwP O8YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=azztDWab; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id q3-20020a056a00150300b0068bdcfc3454si722167pfu.135.2023.10.05.21.29.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 21:29:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=azztDWab; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B6B9F838B3F2; Thu, 5 Oct 2023 21:29:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230035AbjJFE3d (ORCPT + 18 others); Fri, 6 Oct 2023 00:29:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230001AbjJFE33 (ORCPT ); Fri, 6 Oct 2023 00:29:29 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9897E4; Thu, 5 Oct 2023 21:29:27 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3964TLjD101260; Thu, 5 Oct 2023 23:29:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696566561; bh=q5QNqYEYHoAM89jkPg2NPYZtSUgs8Bzc353aiXSYNPU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=azztDWabvHcuB+3cDGozBEzY60AKCod7xcN15Ozr8INezaLTh7StNULFsuHNb4iin hxKd0vM9QmNwlZTlFZznH5LY+bBXRTPeHIywfHJLNvdHi/rxZCfIDdT0nIhgtsNLkZ BgfknSZAih/G2O8nyAG72mEQE+0NL421tCYiMZQ0= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3964TLwh126255 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 5 Oct 2023 23:29:21 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 5 Oct 2023 23:29:20 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE102.ent.ti.com (157.170.170.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; Thu, 5 Oct 2023 23:29:20 -0500 Received: from keerthy.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3964TDH6074236; Thu, 5 Oct 2023 23:29:17 -0500 From: Keerthy To: , , , , , CC: , , , , Subject: [PATCH v7 1/7] arm64: dts: ti: k3-j721s2: Add ESM instances Date: Fri, 6 Oct 2023 09:58:55 +0530 Message-ID: <20231006042901.6474-2-j-keerthy@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231006042901.6474-1-j-keerthy@ti.com> References: <20231006042901.6474-1-j-keerthy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 05 Oct 2023 21:29:37 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778978996397659481 X-GMAIL-MSGID: 1778978996397659481 Patch adds the ESM instances for j721s2. It has 3 instances. One in the main domain and two in the mcu-wakeup domian. Signed-off-by: Keerthy --- arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 7 +++++++ arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 14 ++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi index 6d32544c8881..7ce802c6808d 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi @@ -1801,4 +1801,11 @@ firmware-name = "j721s2-c71_1-fw"; status = "disabled"; }; + + main_esm: esm@700000 { + compatible = "ti,j721e-esm"; + reg = <0x00 0x700000 0x00 0x1000>; + ti,esm-pins = <688>, <689>; + bootph-pre-ram; + }; }; diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi index 56504578c464..f94aa3a34e22 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi @@ -695,4 +695,18 @@ ti,loczrama = <1>; }; }; + + mcu_esm: esm@40800000 { + compatible = "ti,j721e-esm"; + reg = <0x00 0x40800000 0x00 0x1000>; + ti,esm-pins = <95>; + bootph-pre-ram; + }; + + wkup_esm: esm@42080000 { + compatible = "ti,j721e-esm"; + reg = <0x00 0x42080000 0x00 0x1000>; + ti,esm-pins = <63>; + bootph-pre-ram; + }; }; From patchwork Fri Oct 6 04:28:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "J, KEERTHY" X-Patchwork-Id: 149105 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp82645vqo; Thu, 5 Oct 2023 21:29:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGOmUghJI5mbrgK4US7rfV/Q797CZKtl+xlvZzB8jHwWcQEgfBlny6DQaF18I5Vz/EbuTmk X-Received: by 2002:a17:902:bf49:b0:1c6:112f:5d02 with SMTP id u9-20020a170902bf4900b001c6112f5d02mr6473268pls.55.1696566592751; Thu, 05 Oct 2023 21:29:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696566592; cv=none; d=google.com; s=arc-20160816; b=JHq1f811nRfU8D0Sr2Eg38gMRDQwK5jhb7VjmyxnrMRZsbeFmzG1hAKK5WBcP3XkGz HaiF2nIinS6tftc/DnlhQYi3JrJtc6LB1eEyHA8MggMY0sjt40Mn/B5mVeb8/BXvYMyV gRdvwsaUvVkB1WsABkjkSsbvotle849d5wWqMT31bYxF0ayXF0Ed44Ji6jEwWubbUD5J KW+omPaLCt2fd2sxtcXug0mnL817IlG88iLaCeIf9pXHrOYFqMk2LE+s8ic6/bg2bjhl mpMXYI4Hn9g8qS40gECdyJ1vQf54bVjbA1PPdhMsYzbWlafHHrdvQ/ZXdZnkFG0ga+fb n9fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=G3FVcxQWkhKHkwdNcCbz6zLE240gHRhOMOW5LAWhV4I=; fh=o4PFLqU4Z+JLVMnI9bVS5jAHyZaUDjrT7v5G6HFgWcM=; b=eFf7gUCaxe4ihNsG/TEzKEOP+Na88sRFVMrvts/yJOwOLl6c/MqqdSjtBsEgC3Qcwb ORcX1ZuC38URMdhUFaMN8IJfqzG4FrTp64J55R7OCG9qMT67e8yWfrtOmtfM/Th30Tlk 8Dlp9gZK+Ah4W9JRfKCQilwGV/XjW1W3mViqCt31qavPaFUNpGwBduH5Vb1YOoLHnjVc hfJDhaKTphqcAWBv5G20iHKmTxUkGJJEp7H9ahfj/lq5ssuTq7w2DcEIyl8DiVbxDayr vruqCZuPT7/5TEiauzm47g8lIH38bIw0RA/6A+JIEfJAPxMfDlduuTCoTHLX701H2O2G pn1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=LxGWSzIj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id u1-20020a170902e80100b001bf1a9dbcc9si3109115plg.549.2023.10.05.21.29.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 21:29:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=LxGWSzIj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 5CA0C80279EB; Thu, 5 Oct 2023 21:29:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230050AbjJFE3f (ORCPT + 18 others); Fri, 6 Oct 2023 00:29:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230030AbjJFE3d (ORCPT ); Fri, 6 Oct 2023 00:29:33 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 263DADB; Thu, 5 Oct 2023 21:29:30 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3964TOAe122650; Thu, 5 Oct 2023 23:29:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696566564; bh=G3FVcxQWkhKHkwdNcCbz6zLE240gHRhOMOW5LAWhV4I=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=LxGWSzIjeDbuPMLRvQpYGipqDdBMGcemRcpqVkN03qyGmIWe+rvAUABhYC+79OTCv cF90ILcaeFhhfBtW8zcrdj4ZsT7Y49NxrkAsHk9LXuy/51IAsXMwnKFUltT60EFJbc 3AuHiwmBg713PXHZSJPfauieeg3mCtHrAhW3gnjU= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3964TOTC025135 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 5 Oct 2023 23:29:24 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 5 Oct 2023 23:29:24 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) 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; Thu, 5 Oct 2023 23:29:24 -0500 Received: from keerthy.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3964TDH7074236; Thu, 5 Oct 2023 23:29:21 -0500 From: Keerthy To: , , , , , CC: , , , , Subject: [PATCH v7 2/7] arm64: dts: ti: k3-j784s4: Add ESM instances Date: Fri, 6 Oct 2023 09:58:56 +0530 Message-ID: <20231006042901.6474-3-j-keerthy@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231006042901.6474-1-j-keerthy@ti.com> References: <20231006042901.6474-1-j-keerthy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 05 Oct 2023 21:29:48 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778979011570379200 X-GMAIL-MSGID: 1778979011570379200 Patch adds the ESM instances for j784s4. It has 3 instances. One in the main domain and two in the mcu-wakeup domian. Signed-off-by: Keerthy --- arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 8 ++++++++ arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi | 14 ++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi index efed2d683f63..26dc3776f911 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi @@ -1568,4 +1568,12 @@ firmware-name = "j784s4-c71_3-fw"; status = "disabled"; }; + + main_esm: esm@700000 { + compatible = "ti,j721e-esm"; + reg = <0x00 0x700000 0x00 0x1000>; + ti,esm-pins = <688>, <689>, <690>, <691>, <692>, <693>, <694>, + <695>; + bootph-pre-ram; + }; }; diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi index 4ab4018d3695..a7b5c4cb7d3e 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi @@ -700,4 +700,18 @@ status = "disabled"; }; }; + + mcu_esm: esm@40800000 { + compatible = "ti,j721e-esm"; + reg = <0x00 0x40800000 0x00 0x1000>; + ti,esm-pins = <95>; + bootph-pre-ram; + }; + + wkup_esm: esm@42080000 { + compatible = "ti,j721e-esm"; + reg = <0x00 0x42080000 0x00 0x1000>; + ti,esm-pins = <63>; + bootph-pre-ram; + }; }; From patchwork Fri Oct 6 04:28:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "J, KEERTHY" X-Patchwork-Id: 149110 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp83488vqo; Thu, 5 Oct 2023 21:32:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEV4N18aqPdyUg7vnmClGY00LhG7kUwAZ+4zZ8xBbGxpHKET8GggeRBxgFQjijdLMmI0i+i X-Received: by 2002:a05:6a20:840a:b0:163:5bfd:ae5b with SMTP id c10-20020a056a20840a00b001635bfdae5bmr9007698pzd.15.1696566708598; Thu, 05 Oct 2023 21:31:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696566708; cv=none; d=google.com; s=arc-20160816; b=VoAIkWRhUYa9/oIkA34PaFHGSmoWTFc08LCwiRJi+d0onezC3sw1tkX5Ll8zBfkgdB qKb9CAAt1SWi/4quUiqOZX7NsBvKc2gtcDHjeuVyjuxPYz3Kq6pUm8s2rfJ/XvPWe9ER aCHDQ64KU1VMJoJ8haPpiWTCfwAG5Z/d0x9KPyMI/Uyh+/jstZTq7jqEZnKtIlLNHxZR QwukUs74TaOVaa/tK2rrKahvZNZG4DIIBnZUFYquZRqEO16hqiOCur4xQzD38DK/5U96 StPA64VVWJpdCSiLDbvRPmBSTVNrQNxNdIQnn+Z6moQ7ZxcN/E/OuE1i2L79lYO0UnNI JM2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=B6oe+5F8XN7B1sHEetYUNTjzfxy2X+kJ9m2S4nw3Zv0=; fh=o4PFLqU4Z+JLVMnI9bVS5jAHyZaUDjrT7v5G6HFgWcM=; b=Qe64kznUXq+qJaH57PEzBdtaeLEybqGerkUlh5G6Oc8nc5jKknJSDMGOOVuqLTpeBn XEyua22j72KixIEkHU7/QMmjo1t/JMuNw3eaqd+Tt8aiCn5TocK/TDDK+CWc/1+PcPQO sSc28RR4i+hAPOUcTOTGui+eoncYiFmfsQhxmDUQA/C23secaBCVvHqV0wYgTGU3tBlx aRiw+1ya/eioHkQNK/OPsNkZBKtBr5OqqLb15eY8XkQnZLKbaUN7vAg6q9Bl/0+Vdt3G 8yUWMKmhU0rG+LhGQUeTCZF0GFSPcuvhlNIDgd5Rfxu0NLMfxfUph6yptSX7h/A+KoUQ C9FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=bF52pZuQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id bq25-20020a056a000e1900b0069339f19f7dsi666961pfb.199.2023.10.05.21.31.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 21:31:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=bF52pZuQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id DA380807D98D; Thu, 5 Oct 2023 21:30:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229989AbjJFE3q (ORCPT + 18 others); Fri, 6 Oct 2023 00:29:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230042AbjJFE3e (ORCPT ); Fri, 6 Oct 2023 00:29:34 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99359DE; Thu, 5 Oct 2023 21:29:33 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3964TSdW099673; Thu, 5 Oct 2023 23:29:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696566568; bh=B6oe+5F8XN7B1sHEetYUNTjzfxy2X+kJ9m2S4nw3Zv0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=bF52pZuQ2H0u6hsMSuSGMbjnTLNWXfNqlvSTh3nS1JkB8YkSeoEtHesco51ewuXZN Qx+ZncEekPFVdch0P58tDm4VFyRr0nEA1Em963GKvzJ7nFY1ioS5RpyWz51uSPU7+T 7a+nm3aUeQzmO7eaMFtnOEPDeNZL12UKl/ogHv+g= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3964TSYA035800 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 5 Oct 2023 23:29:28 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 5 Oct 2023 23:29:27 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE101.ent.ti.com (157.170.170.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; Thu, 5 Oct 2023 23:29:27 -0500 Received: from keerthy.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3964TDH8074236; Thu, 5 Oct 2023 23:29:24 -0500 From: Keerthy To: , , , , , CC: , , , , Subject: [PATCH v7 3/7] arm64: dts: ti: k3-j7200: Add MCU domain ESM instance Date: Fri, 6 Oct 2023 09:58:57 +0530 Message-ID: <20231006042901.6474-4-j-keerthy@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231006042901.6474-1-j-keerthy@ti.com> References: <20231006042901.6474-1-j-keerthy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 05 Oct 2023 21:30:16 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778979132881791202 X-GMAIL-MSGID: 1778979132881791202 Patch adds the ESM instance for MCU domian of j7200. Signed-off-by: Keerthy --- arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 7 +++++++ 1 file changed, 7 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 6ffaf85fa63f..711690c0cba4 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi @@ -637,4 +637,11 @@ power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>; #thermal-sensor-cells = <1>; }; + + mcu_esm: esm@40800000 { + compatible = "ti,j721e-esm"; + reg = <0x00 0x40800000 0x00 0x1000>; + ti,esm-pins = <95>; + bootph-pre-ram; + }; }; From patchwork Fri Oct 6 04:28:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "J, KEERTHY" X-Patchwork-Id: 149106 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp82721vqo; Thu, 5 Oct 2023 21:30:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHKy1zKKDSwN+V6QFRscHaaFyKJKAM5FuR/bq+Ss5qIyTCULZFyfFB5q4mBSEVF40PBjV2R X-Received: by 2002:a05:6a20:1398:b0:15e:bbcb:fb71 with SMTP id hn24-20020a056a20139800b0015ebbcbfb71mr6939369pzc.61.1696566605358; Thu, 05 Oct 2023 21:30:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696566605; cv=none; d=google.com; s=arc-20160816; b=qncFtvDU6AiPgd2tO9MKqDfAefVHNkxKvFAZq/Ss3Qyx7b/YJ35GAx1nZxNq4yjiv2 tlQ53Tovh+eb++jpANNXweIT7v1FrJrvj9AbLVRn6vzKetERAnleCHxgOZAGO3oINHqK qTmNrlCVXk1YYr5f2Y28dXh+Ekz7gxwlRYMAc6q+wQpTFuL1uhyiqOH4WG30DRP8sogx 8QarNM5rU6Va9oTilB5mGM2l+wZ0t4nGrJlRCRXDRdaP4goz3zBIvUKI90KvBZycdF4Q 16J/9CimegYW/kgzgNDa6o+vkhL0Ca0O1Up48cIX0+Nr12gDUghQ60UmoBKMSc/GUfVA kczA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=qOzzWVbtF/sETztCy7w4fFeaWW1k10ZaFusMp7ZvGX0=; fh=o4PFLqU4Z+JLVMnI9bVS5jAHyZaUDjrT7v5G6HFgWcM=; b=vCHZ8boK5xM9np90uJAriDMCB/K/O6nra4qrfdkBWxmtRI7IbGErQ4LzE6iMJYvU9x JkgRKpmi3HIa9SH0wLrJlHEiRVQ/t2NPaXTuvngHHvyIMH1PeFCxFFcE5UN14s/bXUmZ 1GOXmlKDsy8LUGRMueWgKaqZ+yC/8aCmexg0FZWHKvsp4JoWw9awAilhPsELtxHJcUEX 4zt62OOqX/jdMmLRExB6SeXGrIayfEqF62XGi372aCyuAa9EqE+Bp+1NJSvlc+NQg6VY Pm/7z6B10nhEuzfpCFKwjYHGmjgzA4pPdopvPpWbMVjK/5V74W+d7l715GtwAqbafibW CnNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=P41fhIw6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id l71-20020a63884a000000b00573fc6de956si2916106pgd.223.2023.10.05.21.30.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 21:30:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=P41fhIw6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 7987A8068E06; Thu, 5 Oct 2023 21:29:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230112AbjJFE3s (ORCPT + 18 others); Fri, 6 Oct 2023 00:29:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230090AbjJFE3l (ORCPT ); Fri, 6 Oct 2023 00:29:41 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B7BBFB; Thu, 5 Oct 2023 21:29:38 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3964TVeJ101284; Thu, 5 Oct 2023 23:29:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696566571; bh=qOzzWVbtF/sETztCy7w4fFeaWW1k10ZaFusMp7ZvGX0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=P41fhIw6/NuKBQPgts5WzW0akQZSkIpoc5JgW33/3B3pt6fATCYRF6RCstrGJZQSk 0smDNouz4LXKm6DB9v7mC9edmDvNWQM34CfsnG207rqqeymjTYLayYMeVuFM/1v6Fm q3B6Mx1XDJVyGvitIfzkQIK5D1jDIei3M8Z4tT7k= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3964TVVt035824 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 5 Oct 2023 23:29:31 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) 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; Thu, 5 Oct 2023 23:29:31 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) 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; Thu, 5 Oct 2023 23:29:31 -0500 Received: from keerthy.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3964TDH9074236; Thu, 5 Oct 2023 23:29:28 -0500 From: Keerthy To: , , , , , CC: , , , , Subject: [PATCH v7 4/7] arm64: dts: ti: k3-j784s4-main: Add the main domain watchdog instances Date: Fri, 6 Oct 2023 09:58:58 +0530 Message-ID: <20231006042901.6474-5-j-keerthy@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231006042901.6474-1-j-keerthy@ti.com> References: <20231006042901.6474-1-j-keerthy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 05 Oct 2023 21:29:59 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778979024994159052 X-GMAIL-MSGID: 1778979024994159052 There are totally 19 instances of watchdog module. One each for the 8 A72 cores, one each for the 4 C7x cores, 1 for the GPU, 1 each for the 6 R5F cores in the main domain. The non-A72 instances are coupled with the R5Fs, C7x & GPU instances. Disabling them as they are not used by Linux. Signed-off-by: Keerthy --- arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 187 +++++++++++++++++++++ 1 file changed, 187 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi index 26dc3776f911..b32c3e668625 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi @@ -1576,4 +1576,191 @@ <695>; bootph-pre-ram; }; + + watchdog0: watchdog@2200000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2200000 0x00 0x100>; + clocks = <&k3_clks 348 1>; + power-domains = <&k3_pds 348 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 348 0>; + assigned-clock-parents = <&k3_clks 348 4>; + }; + + watchdog1: watchdog@2210000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2210000 0x00 0x100>; + clocks = <&k3_clks 349 1>; + power-domains = <&k3_pds 349 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 349 0>; + assigned-clock-parents = <&k3_clks 349 4>; + }; + + watchdog2: watchdog@2220000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2220000 0x00 0x100>; + clocks = <&k3_clks 350 1>; + power-domains = <&k3_pds 350 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 350 0>; + assigned-clock-parents = <&k3_clks 350 4>; + }; + + watchdog3: watchdog@2230000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2230000 0x00 0x100>; + clocks = <&k3_clks 351 1>; + power-domains = <&k3_pds 351 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 351 0>; + assigned-clock-parents = <&k3_clks 351 4>; + }; + + watchdog4: watchdog@2240000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2240000 0x00 0x100>; + clocks = <&k3_clks 352 1>; + power-domains = <&k3_pds 352 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 352 0>; + assigned-clock-parents = <&k3_clks 352 4>; + }; + + watchdog5: watchdog@2250000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2250000 0x00 0x100>; + clocks = <&k3_clks 353 1>; + power-domains = <&k3_pds 353 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 353 0>; + assigned-clock-parents = <&k3_clks 353 4>; + }; + + watchdog6: watchdog@2260000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2260000 0x00 0x100>; + clocks = <&k3_clks 354 1>; + power-domains = <&k3_pds 354 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 354 0>; + assigned-clock-parents = <&k3_clks 354 4>; + }; + + watchdog7: watchdog@2270000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2270000 0x00 0x100>; + clocks = <&k3_clks 355 1>; + power-domains = <&k3_pds 355 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 355 0>; + assigned-clock-parents = <&k3_clks 355 4>; + }; + + /* + * The following RTI instances are coupled with MCU R5Fs, c7x and + * GPU so keeping them disabled as these will be used by their + * respective firmware + */ + watchdog8: watchdog@22f0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x22f0000 0x00 0x100>; + clocks = <&k3_clks 360 1>; + power-domains = <&k3_pds 360 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 360 0>; + assigned-clock-parents = <&k3_clks 360 4>; + status = "disabled"; + }; + + watchdog9: watchdog@2300000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2300000 0x00 0x100>; + clocks = <&k3_clks 356 1>; + power-domains = <&k3_pds 356 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 356 0>; + assigned-clock-parents = <&k3_clks 356 4>; + status = "disabled"; + }; + + watchdog10: watchdog@2310000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2310000 0x00 0x100>; + clocks = <&k3_clks 357 1>; + power-domains = <&k3_pds 357 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 357 0>; + assigned-clock-parents = <&k3_clks 357 4>; + status = "disabled"; + }; + + watchdog11: watchdog@2320000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2320000 0x00 0x100>; + clocks = <&k3_clks 358 1>; + power-domains = <&k3_pds 358 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 358 0>; + assigned-clock-parents = <&k3_clks 358 4>; + status = "disabled"; + }; + + watchdog12: watchdog@2330000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2330000 0x00 0x100>; + clocks = <&k3_clks 359 1>; + power-domains = <&k3_pds 359 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 359 0>; + assigned-clock-parents = <&k3_clks 359 4>; + status = "disabled"; + }; + + watchdog13: watchdog@23c0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x23c0000 0x00 0x100>; + clocks = <&k3_clks 361 1>; + power-domains = <&k3_pds 361 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 361 0>; + assigned-clock-parents = <&k3_clks 361 4>; + status = "disabled"; + }; + + watchdog14: watchdog@23d0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x23d0000 0x00 0x100>; + clocks = <&k3_clks 362 1>; + power-domains = <&k3_pds 362 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 362 0>; + assigned-clock-parents = <&k3_clks 362 4>; + status = "disabled"; + }; + + watchdog15: watchdog@23e0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x23e0000 0x00 0x100>; + clocks = <&k3_clks 363 1>; + power-domains = <&k3_pds 363 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 363 0>; + assigned-clock-parents = <&k3_clks 363 4>; + status = "disabled"; + }; + + watchdog16: watchdog@23f0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x23f0000 0x00 0x100>; + clocks = <&k3_clks 364 1>; + power-domains = <&k3_pds 364 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 364 0>; + assigned-clock-parents = <&k3_clks 364 4>; + status = "disabled"; + }; + + watchdog17: watchdog@2540000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2540000 0x00 0x100>; + clocks = <&k3_clks 365 1>; + power-domains = <&k3_pds 365 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 365 0>; + assigned-clock-parents = <&k3_clks 366 4>; + status = "disabled"; + }; + + watchdog18: watchdog@2550000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2550000 0x00 0x100>; + clocks = <&k3_clks 366 1>; + power-domains = <&k3_pds 366 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 366 0>; + assigned-clock-parents = <&k3_clks 366 4>; + status = "disabled"; + }; }; From patchwork Fri Oct 6 04:28:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "J, KEERTHY" X-Patchwork-Id: 149107 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp82811vqo; Thu, 5 Oct 2023 21:30:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEsqnECw/SJhj38O21XsAAYB88G2TRexqUKjGWe4/Gx4QtCcO8W28Fdf3/CM6lu/M48vdhS X-Received: by 2002:a05:6870:e24b:b0:1d6:8e92:1e55 with SMTP id d11-20020a056870e24b00b001d68e921e55mr8139487oac.50.1696566618576; Thu, 05 Oct 2023 21:30:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696566618; cv=none; d=google.com; s=arc-20160816; b=HTMDd0rOM+U2DZULM1V5hJokCZpljqJybzpXF4LdhPmlyYDe8X1cQHG5/DknKRvGlG O9T5p8MUjpVlaXOfD6/txnt0nVUHWMx6U2GH9cT+YOQT9JJdrqMaP2tKSLBvNhdl5mlt MuL5WolGdrnKT2dwe7qf8snhG2Bxj4xlhoq7+Adwnqvy6q6/JJKIDAIj/WLSIL0DH6/h hyZ9dIbDPOryYkQ8d62D57K2Ju7UYcq8hOm/N8MT2XE/J+EpSiq2Y0BuUXvAR3S/m2/k tyb9r3HIG3Q/FBCj8I6Tf8eJnj0wy2BRWFRXm7febNtmFmcA/sIwks6YWlT/H2Cb/gmF FWdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=78Iq2/LZPaChQpeh6K/RJIOSYPlEAYVaW5eXRsuaHsI=; fh=o4PFLqU4Z+JLVMnI9bVS5jAHyZaUDjrT7v5G6HFgWcM=; b=I6kG50wwsOAcHvcpBPU2VMyNY4K9QcykC6xOpREfGGZNREemri/u1gKLoQIPX88NSz v1GlIv1LkF7i4Hzb22t1l0FE7bF8SEj4UzQdKPPdQ4BqTZOayv4Mr5cWmNe3GNqBSfKi nVTOTQjXynC1VIPe72YjZoHdN9davRb8ORFzsQ7/fKHpMZ6e8hOHReuASHPfAOJlONtO utPfWyvj5YyJG4DdlkITaN4Q77YlHMuM1f/mEn0wXimbvmiTuIOYTQKoTjZDaYQKNPoN Fs/bdSAIDbf5ExmOXkVSXsL6YQFrWr5oSzfvriGEwKDI+EBVm7URH1EiXbJ3oX1QLFiv WPQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=HtdOE+VH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id ct7-20020a056a000f8700b0068fbd15c036si658866pfb.286.2023.10.05.21.30.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 21:30:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=HtdOE+VH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id E166D806943B; Thu, 5 Oct 2023 21:30:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230005AbjJFE3w (ORCPT + 18 others); Fri, 6 Oct 2023 00:29:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230061AbjJFE3l (ORCPT ); Fri, 6 Oct 2023 00:29:41 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A431109; Thu, 5 Oct 2023 21:29:39 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3964TYMY122671; Thu, 5 Oct 2023 23:29:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696566575; bh=78Iq2/LZPaChQpeh6K/RJIOSYPlEAYVaW5eXRsuaHsI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=HtdOE+VHSvadC9KfV59B7AcMWv7HT94M80z+qH9cTmJU77cDeUFQvBQ/+gAp1Jvut gsMDy9Lf6DH7RwrZeoVwRUr8HIlGUEC6DXg9HB70F4yXoB5N5k1xh4x5KdEXnV0WQ5 CpMjQaVjsYe1B6ekBeMkvtRLF1dXSYGkihwCV/80= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3964TYr0025179 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 5 Oct 2023 23:29:34 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 5 Oct 2023 23:29:34 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE106.ent.ti.com (157.170.170.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; Thu, 5 Oct 2023 23:29:34 -0500 Received: from keerthy.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3964TDHA074236; Thu, 5 Oct 2023 23:29:31 -0500 From: Keerthy To: , , , , , CC: , , , , Subject: [PATCH v7 5/7] arm64: dts: ti: k3-j784s4-mcu: Add the mcu domain watchdog instances Date: Fri, 6 Oct 2023 09:58:59 +0530 Message-ID: <20231006042901.6474-6-j-keerthy@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231006042901.6474-1-j-keerthy@ti.com> References: <20231006042901.6474-1-j-keerthy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 05 Oct 2023 21:30:15 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778979038406728372 X-GMAIL-MSGID: 1778979038406728372 There are totally 2 instances of watchdog module in MCU domain. These instances are coupled with the MCU domain R5F instances. Disabling them as they are not used by Linux. Signed-off-by: Keerthy --- .../boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi index a7b5c4cb7d3e..809a0b1cf038 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi @@ -714,4 +714,28 @@ ti,esm-pins = <63>; bootph-pre-ram; }; + + /* + * The 2 RTI instances are couple with MCU R5Fs so keeping them + * disabled 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 367 1>; + power-domains = <&k3_pds 367 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 367 0>; + assigned-clock-parents = <&k3_clks 367 4>; + status = "disabled"; + }; + + mcu_watchdog1: watchdog@40610000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x40610000 0x00 0x100>; + clocks = <&k3_clks 368 1>; + power-domains = <&k3_pds 368 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 368 0>; + assigned-clock-parents = <&k3_clks 368 4>; + status = "disabled"; + }; }; From patchwork Fri Oct 6 04:29:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "J, KEERTHY" X-Patchwork-Id: 149109 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp83309vqo; Thu, 5 Oct 2023 21:31:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF/DnHFJywwTfOSkdScPUHEMmdQgO9Gof3QsBMRNYB0vkL0aZKw53rutoPr8KFd7ulGGzi/ X-Received: by 2002:a05:6a00:b92:b0:68e:2ef2:3379 with SMTP id g18-20020a056a000b9200b0068e2ef23379mr8497961pfj.15.1696566695554; Thu, 05 Oct 2023 21:31:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696566695; cv=none; d=google.com; s=arc-20160816; b=cMaCeGGOa7ETeOkq3CN7h4glvtZ+OsYZuCYOwbGhLtfcDr8V/YmhG+LOfe5KZF211q 2r+bWcELCeob/YlG0by9l3AVlIKNZ818YKUCV//KnS86jsL963MglQDB5gzXsdp9hKXB Rr67tUsYLWBwgawWWQMGd6h6FDaRfdF1aUYQ0hmU+DZGyIebW5vCCFHTy3jJb7RNVJbz 8guzBoGkD56tWMUsKiM5iGPn+4vT1teMA79c+JWBjNrNkVwIjTRNFkiMmw0qanxJ5NlD e+Nc/qY3tdL7dLI99tprdzlmgULregMMcrDnoD7h5XMLLsQk9TZyiG3fI/ZBpAs6ElxD eqow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=xxU6QgLh1dnn/aE8fCc2W2oeEev82KezupE9hKHzv4A=; fh=o4PFLqU4Z+JLVMnI9bVS5jAHyZaUDjrT7v5G6HFgWcM=; b=CnVvtOykfBZOeUmlXvojHDg+y0GuzrcLNKdAIURlVAWTClGp/F3kXP+fW/oi+vokZV y5rTX76AKwdVuK0o4TClkoYJxg9YRG2rt112ale4EF9QRBlKnhPoNjrP9smY1z143pAc sCUZJOyEAfBv4ybL0YDjhv2DEJR8fV0L4p1lhxXm2P3XaLYflMOZyEJ61h0TLbSGn/mV NRTqETFoVicarK7RVQ3oS4rExotgzNRlPt69fuYK0txTJQWo7ISX3wCqAkHyHk5IVkvJ G7pQ9Jf3xjJ/Bvwt9ZzJqEfV5XIDoxg2uYnaCPrmF63paCl3bmFGbVBm8nbbPLyNqzIu SINw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=QY9qBM6H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id bv124-20020a632e82000000b00564efb3bae6si2822318pgb.564.2023.10.05.21.31.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 21:31:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=QY9qBM6H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id CD8DB80715A4; Thu, 5 Oct 2023 21:30:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230159AbjJFE3z (ORCPT + 18 others); Fri, 6 Oct 2023 00:29:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230042AbjJFE3r (ORCPT ); Fri, 6 Oct 2023 00:29:47 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B52D118; Thu, 5 Oct 2023 21:29:44 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3964Tch1122683; Thu, 5 Oct 2023 23:29:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696566578; bh=xxU6QgLh1dnn/aE8fCc2W2oeEev82KezupE9hKHzv4A=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=QY9qBM6HZApKtqBNyK73nG+E6UrOsycQznDpusRC0y6lvc88yYtA+dTqaESKSu+Vi JlIb+QFDV+A+DNjhIyZEMVdrlY7SNk8AJIKUt/SKbD2ag1YcMoTh1555ejZaV2Ty5X LNYQeShAq6gih/eljRUdVfBYUa6l7azmtPv5IZWI= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3964Tc9T035858 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 5 Oct 2023 23:29:38 -0500 Received: from DFLE105.ent.ti.com (10.64.6.26) 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; Thu, 5 Oct 2023 23:29:38 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) 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; Thu, 5 Oct 2023 23:29:38 -0500 Received: from keerthy.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3964TDHB074236; Thu, 5 Oct 2023 23:29:35 -0500 From: Keerthy To: , , , , , CC: , , , , Subject: [PATCH v7 6/7] arm64: dts: ti: k3-j721s2-main: Add the main domain watchdog instances Date: Fri, 6 Oct 2023 09:59:00 +0530 Message-ID: <20231006042901.6474-7-j-keerthy@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231006042901.6474-1-j-keerthy@ti.com> References: <20231006042901.6474-1-j-keerthy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 05 Oct 2023 21:30:13 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778979119451036082 X-GMAIL-MSGID: 1778979119451036082 There are totally 9 instances of watchdog module. One each for the 2 A72 cores, one each for the 2 C7x cores, 1 for the GPU, 1 each for the 4 R5F cores in the main domain. Keeping only the A72 instances enabled and disabling the rest by default as they will be used by their respective firmware. Signed-off-by: Keerthy --- arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 93 ++++++++++++++++++++++ 1 file changed, 93 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi index 7ce802c6808d..0a05aad6be49 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi @@ -1808,4 +1808,97 @@ ti,esm-pins = <688>, <689>; bootph-pre-ram; }; + + watchdog0: watchdog@2200000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2200000 0x00 0x100>; + clocks = <&k3_clks 286 1>; + power-domains = <&k3_pds 286 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 286 1>; + assigned-clock-parents = <&k3_clks 286 5>; + }; + + watchdog1: watchdog@2210000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2210000 0x00 0x100>; + clocks = <&k3_clks 287 1>; + power-domains = <&k3_pds 287 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 287 1>; + assigned-clock-parents = <&k3_clks 287 5>; + }; + + /* + * The following RTI instances are coupled with MCU R5Fs, c7x and + * GPU so keeping them disabled as these will be used by their + * respective firmware + */ + watchdog2: watchdog@22f0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x22f0000 0x00 0x100>; + clocks = <&k3_clks 290 1>; + power-domains = <&k3_pds 290 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 290 1>; + assigned-clock-parents = <&k3_clks 290 5>; + status = "disabled"; + }; + + watchdog3: watchdog@2300000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2300000 0x00 0x100>; + clocks = <&k3_clks 288 1>; + power-domains = <&k3_pds 288 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 288 1>; + assigned-clock-parents = <&k3_clks 288 5>; + status = "disabled"; + }; + + watchdog4: watchdog@2310000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x2310000 0x00 0x100>; + clocks = <&k3_clks 289 1>; + power-domains = <&k3_pds 289 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 289 1>; + assigned-clock-parents = <&k3_clks 289 5>; + status = "disabled"; + }; + + watchdog5: watchdog@23c0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x23c0000 0x00 0x100>; + clocks = <&k3_clks 291 1>; + power-domains = <&k3_pds 291 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 291 1>; + assigned-clock-parents = <&k3_clks 291 5>; + status = "disabled"; + }; + + watchdog6: watchdog@23d0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x23d0000 0x00 0x100>; + clocks = <&k3_clks 292 1>; + power-domains = <&k3_pds 292 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 292 1>; + assigned-clock-parents = <&k3_clks 292 5>; + status = "disabled"; + }; + + watchdog7: watchdog@23e0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x23e0000 0x00 0x100>; + clocks = <&k3_clks 293 1>; + power-domains = <&k3_pds 293 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 293 1>; + assigned-clock-parents = <&k3_clks 293 5>; + status = "disabled"; + }; + + watchdog8: watchdog@23f0000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x23f0000 0x00 0x100>; + clocks = <&k3_clks 294 1>; + power-domains = <&k3_pds 294 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 294 1>; + assigned-clock-parents = <&k3_clks 294 5>; + status = "disabled"; + }; }; From patchwork Fri Oct 6 04:29:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "J, KEERTHY" X-Patchwork-Id: 149108 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:403:3b70:6f57 with SMTP id x8csp82956vqo; Thu, 5 Oct 2023 21:30:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFUGZOJY6HFL85Usf0xpp6+vJmL0QEnhZup6XcWtsGSo80lGoPAgAMaa3KVZ8cnMlw+bN+W X-Received: by 2002:a05:6a20:7292:b0:14d:f41c:435a with SMTP id o18-20020a056a20729200b0014df41c435amr8351505pzk.39.1696566639278; Thu, 05 Oct 2023 21:30:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696566639; cv=none; d=google.com; s=arc-20160816; b=uk9GDhPnbSFkhtR+WjZPHieBZXFBrVahwn59ZFCgy7MTHHdVXOYRwXvQ+a8IBnfARo wFaEHCsjj8Z0NsQjtLABbkxlYESWHRB3sDO2Iw+Eu7GG44Hc7Qyncv/akPsqz8GuVb0l 2iTBMB0CYs3oRoSHmHg1lkxbN7xKGk4hs7P0ftOQhPpCJQUv0MkWIoRfqhmWL+acg8tY iGIHiOhF9V9HjFvlu20zjQrH0LQ2tDUd2CjKzhu/PfjjY5mtqnSgaInELYQg55MZPE8R DnNruP/Db/RFx4NoYVDwemEgOVBIkYrg8zPhKPQ5tM/saXk4mLI3eebjcJ/s3JhhFr/p /8Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=6mKJCRuahYKnMBvA0yWD5j0bYfs2zdnzFtUBVPSOn+o=; fh=o4PFLqU4Z+JLVMnI9bVS5jAHyZaUDjrT7v5G6HFgWcM=; b=S6oUiIdoe16LJHX/umDGShOHBbteIb0Df1kspyATczz0rTfhlHmObcLpcN0gjex6S3 O3sWRp0AB8ob6i0Hgn0ZNUlJvXL/Pf1odJGoRT93mXMNWuNPpCOVB/dE2c3G3KhyD1Wd V4XmNOol5SUQHZ7sPDeA9HifM7DXUODJTc5ZSNUFsSIdupUjePMmhN8G7mllaB86K5nb YNuoAlcV4GlfMfZ0phap2JNSYmKkxO27HuuvN7yUXFcw2QS7KJBto4hC+KN1n1bnXLf0 yVNMhbQJYBl8rleAh9tISQZdvRJHhhnD4aM5qPLogUy/eceVoQf3Lkg3d7g1Vu5vlqXG 4cuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=a2RxiJSU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id p7-20020a170902e74700b001c0cbaf6970si3174586plf.501.2023.10.05.21.30.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 21:30:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=a2RxiJSU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id E07158069438; Thu, 5 Oct 2023 21:30:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230213AbjJFEaT (ORCPT + 18 others); Fri, 6 Oct 2023 00:30:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230139AbjJFE3x (ORCPT ); Fri, 6 Oct 2023 00:29:53 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 692D1133; Thu, 5 Oct 2023 21:29:47 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3964TfGZ101304; Thu, 5 Oct 2023 23:29:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696566581; bh=6mKJCRuahYKnMBvA0yWD5j0bYfs2zdnzFtUBVPSOn+o=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=a2RxiJSUP6ahheWLt6NPqehymTYApGN5l+9TMNiiqJyDJiHe+3K/hQnfBi5ADOc8c NuSMrzkLjcovp79hXXrdPmKoyT2eTCu4yTuuA1y0cgfPA85gfnD095NJ3Pg2tva8dq cZrfZjvboU4RJOba9YkjqYVIxSPVkUoniTZFXrqo= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3964TfoD126371 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 5 Oct 2023 23:29:41 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 5 Oct 2023 23:29:41 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE108.ent.ti.com (157.170.170.38) 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; Thu, 5 Oct 2023 23:29:41 -0500 Received: from keerthy.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3964TDHC074236; Thu, 5 Oct 2023 23:29:38 -0500 From: Keerthy To: , , , , , CC: , , , , Subject: [PATCH v7 7/7] arm64: dts: ti: k3-j712s2-mcu: Add the mcu domain watchdog instances Date: Fri, 6 Oct 2023 09:59:01 +0530 Message-ID: <20231006042901.6474-8-j-keerthy@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20231006042901.6474-1-j-keerthy@ti.com> References: <20231006042901.6474-1-j-keerthy@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 05 Oct 2023 21:30:36 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778979060682559451 X-GMAIL-MSGID: 1778979060682559451 There are totally 2 instances of watchdog module in MCU domain. These instances are coupled with the MCU domain R5F instances. Disabling them as they are not used by Linux. Signed-off-by: Keerthy --- .../boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi index f94aa3a34e22..0ef6b7482371 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi @@ -709,4 +709,28 @@ ti,esm-pins = <63>; bootph-pre-ram; }; + + /* + * The 2 RTI instances are couple with MCU R5Fs so keeping them + * disabled 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 295 1>; + power-domains = <&k3_pds 295 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 295 1>; + assigned-clock-parents = <&k3_clks 295 5>; + status = "disabled"; + }; + + mcu_watchdog1: watchdog@40610000 { + compatible = "ti,j7-rti-wdt"; + reg = <0x00 0x40610000 0x00 0x100>; + clocks = <&k3_clks 296 1>; + power-domains = <&k3_pds 296 TI_SCI_PD_EXCLUSIVE>; + assigned-clocks = <&k3_clks 296 1>; + assigned-clock-parents = <&k3_clks 296 5>; + status = "disabled"; + }; };