Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp148968rdb; Thu, 5 Oct 2023 21:31:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFJd1cLQeEzmMSVMD1gpze/2yJhmYCzacmQGckVTTj/SEIcc6xSV2P8OMXvPlNbmS2F01uK X-Received: by 2002:a05:6830:6b44:b0:6b8:dcd2:8b9e with SMTP id dc4-20020a0568306b4400b006b8dcd28b9emr7040591otb.7.1696566695323; 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=iFiZF73nwjFYJp7zq54c0Lp71jes2BDBH9qGIrZ8VBGsOR08Uuw027Mv1MCThxNWeg eyW54sXG5SzBkQPdcLuf7vLwT4CHsjKMz63b/aX6UH8H1bi8AUVN3KSfx2X483m4lP5d +1pRi4MSu0Wv9LpsPSof1nDFCEEP6QQrYphMivUyKwUpOA2xE9C+/eQ2HH805WouQdIY WcH5w/QLMfxD6uIrdh/QjStsRdYCq5bnZ5YAMF1muSDsB6UABeeOm3vMMqUA/9ky0Wje A0DT0KUOkpDTW+mOQ0zeXk53tVvrTXqz6cI+xZCnBwjlDyVJUuvdrzu08VUg5QI1OT0e zAqA== 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 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id bt8-20020a632908000000b005774bb908d0si2728879pgb.132.2023.10.05.21.31.34 (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 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; 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 2620:137:e000::3:6 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 1D8888072F67; Thu, 5 Oct 2023 21:30:09 -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 S230114AbjJFE3z (ORCPT + 99 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 Content-Type: text/plain 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:11 -0700 (PDT) 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"; + }; }; -- 2.17.1