Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp216482lqn; Thu, 11 Apr 2024 21:27:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVDQUTWy9uRQBLzK5LKIFWQJ6bek/+yM1Af+fVfOyp1UNTnGCmMeSYzJxIN8gm0wgtd77DyxhNOCcwea2/hL+BlPKSnhLHAq+U3QkaVDw== X-Google-Smtp-Source: AGHT+IECYSkGa/mk8wmL5WWOEW+N2GHPNpqTgrIcQ8WNPr5wR1tYJGXIRz/Yv0ESPe17tuo/hL6s X-Received: by 2002:a05:620a:5646:b0:78d:68d3:5e3c with SMTP id vw6-20020a05620a564600b0078d68d35e3cmr1555741qkn.74.1712896032368; Thu, 11 Apr 2024 21:27:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712896032; cv=pass; d=google.com; s=arc-20160816; b=GuSemeU/8LaPRMqM/LcUy0g6clR5ezmNZCcfBKaD2vrUGad9CExMZs81epC9G3owbg XUPd6f/OPpmdSXarsXU3wqc0BP4yq2mDSbGTEizL7EBK8P4tHAtxZYohosrYGMAcEZcq Lm6HkSJc7xM0soIZnZ8HHn0mdZrbwj1HlveLeGLe5yI0zks7hLU7EeWfKYNQea6jTZlD 00QiV5EDV4hzubDm0YOus9PzQftxhFc002inPYYKIjuJYDEE4j+xhkNapBOTL5R1S3O4 iXCsTahhyyeLztUeF3JRQ7zEE4RSExHii8fnleQM0cjpwB1TzlvWTwa6n4BQYJ051aYH aXUg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=6TtJEfMQaUTxf2lV/vp7IqYVqdk2Tg9DRZngKoo2sIY=; fh=J21S0/8Z4wOtaCwX4Hkatc6FRLi8zEeYSEE0df7GMXo=; b=cKJNcXTmOnIaauH6DEIEP6Kd9V6NFxTz+tIFH8pwIyawJzx/33CAGD7dU0bjm2bxOn BYqc8YPZUBKAX72OdUgKbGkIMp/72koRWHSm8XrgvZ1XuyouqHRS+8XU9xHAzM+wRe5F WUWMvr9Bzw1kU83rBP26HQtc8+FG9sTCopJ7aT/UvzxYYOoOZ3/xGy3CXn745oOuvqdr and1F1sBQzWQV6Qm5CHfQfdSM0jPwqxaRZ+aHhE8oDZV5pK+0rLUfax9Upp1CibJtdh5 ho65qN1fupWOYYAq2wPUtRpX+IJUNN9AQ4AJVWjzaCnwF+qCcylAYLWSRL7biwDJmOm+ ATXQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YJSzZVEt; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-141925-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141925-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id bm39-20020a05620a19a700b0078d60c72e8fsi3325540qkb.563.2024.04.11.21.27.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 21:27:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141925-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YJSzZVEt; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-141925-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141925-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0CA1B1C21044 for ; Fri, 12 Apr 2024 04:27:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 25A9F3F9F4; Fri, 12 Apr 2024 04:26:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="YJSzZVEt" Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C7B40199B8; Fri, 12 Apr 2024 04:26:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.248 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712895966; cv=none; b=Th3DZHV+RaWVkWuw2BTdx75E8maRq5LNhh0roUR32T2o3gedZvjF4nLc421y7e/AGsVm5vUcrxme/ofda4EGyUIUTCkUk4qq8Ao/ePs2jkq5sDLBJWdec9gzIL1wh1mE8bfUioTubwzwO+O5voFHB0uW2yhUKFd5nObArWPwcNY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712895966; c=relaxed/simple; bh=u5UKOfV/AUWtWkYpNET343j5H6hLo9/nP3sn7yra9tw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=r5rcvIQdDIyrRg4Gahu4brQPQ9Gh+yGVqAhKjRwacpe4ylqZFfoYkd5pcThpU9hmp4G1LZV5+8DgpdDCEaQEb9HELCg3SUSlMeTmdDgi/eHLEpQwxa2CMKlOavAMV2/fKSTXZQ4cRZUtxUeCy/PjVjxglJTcXTt7mvbM5hY+Yh0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=YJSzZVEt; arc=none smtp.client-ip=198.47.23.248 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 43C4PqiQ013796; Thu, 11 Apr 2024 23:25:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1712895952; bh=6TtJEfMQaUTxf2lV/vp7IqYVqdk2Tg9DRZngKoo2sIY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=YJSzZVEtpuzNzX4qO8qW51M6bRgJmZeaRL3I/OrRdrMVUcw4oQ8rMjzdlPfx+suPT wyIBZ3gESlLyJlD8c0OX6BJVHkdhrqcoM7ZB/Z0vo0Yte8/qhlKKc4LVZ+sXTJyob2 eWFiPkKYnMh3LucUmecBfPtx8qN97ft3ypa1zrpU= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 43C4PqNj026210 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 11 Apr 2024 23:25:52 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 11 Apr 2024 23:25:52 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) 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 via Frontend Transport; Thu, 11 Apr 2024 23:25:51 -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 lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 43C4PbNd078207; Thu, 11 Apr 2024 23:25:49 -0500 From: Neha Malcom Francis To: , , , , CC: , , , , , Subject: [PATCH v2 3/5] arm64: dts: ti: k3-j721e-main: Add the MAIN domain watchdog instances Date: Fri, 12 Apr 2024 09:55:35 +0530 Message-ID: <20240412042537.666137-4-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240412042537.666137-1-n-francis@ti.com> References: <20240412042537.666137-1-n-francis@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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 --- Changes since v1: - watchdog label numbering changed as per TRM 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>; -- 2.34.1