All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: U-Boot Mailing List <u-boot@lists.denx.de>
Cc: Le Jin <le.jin@siemens.com>,
	Bao Cheng Su <baocheng.su@siemens.com>,
	Nian Gao <nian.gao@siemens.com>,
	Chao Zeng <chao.zeng@siemens.com>,
	Lokesh Vutla <lokeshvutla@ti.com>
Subject: [PATCH v8 3/5] arm64: dts: ti: k3-am65-mcu: Add RTI watchdog entry
Date: Sat, 18 Sep 2021 08:17:54 +0200	[thread overview]
Message-ID: <789827a988a4ca6b418edb55e205918812564fd9.1631945876.git.jan.kiszka@siemens.com> (raw)
In-Reply-To: <cover.1631945876.git.jan.kiszka@siemens.com>

From: Jan Kiszka <jan.kiszka@siemens.com>

Add the DT entry for a watchdog based on RTI1. It requires additional
firmware on the MCU R5F cores to handle the expiry, e.g.
https://github.com/siemens/k3-rti-wdt. As this firmware will also lock
the power domain to protect it against premature shutdown, mark it
shared.

Aligns us to the kernel's DT in this regard.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 arch/arm/dts/k3-am65-mcu.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/dts/k3-am65-mcu.dtsi b/arch/arm/dts/k3-am65-mcu.dtsi
index 7454c8cec0..903796bf7d 100644
--- a/arch/arm/dts/k3-am65-mcu.dtsi
+++ b/arch/arm/dts/k3-am65-mcu.dtsi
@@ -308,4 +308,13 @@
 			ti,loczrama = <1>;
 		};
 	};
+
+	mcu_rti1: rti@40610000 {
+		compatible = "ti,j7-rti-wdt";
+		reg = <0x0 0x40610000 0x0 0x100>;
+		clocks = <&k3_clks 135 0>;
+		power-domains = <&k3_pds 135 TI_SCI_PD_SHARED>;
+		assigned-clocks = <&k3_clks 135 0>;
+		assigned-clock-parents = <&k3_clks 135 4>;
+	};
 };
-- 
2.31.1


  parent reply	other threads:[~2021-09-18  6:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-18  6:17 [PATCH v8 0/5] Add SIMATIC IOT2050 board support Jan Kiszka
2021-09-18  6:17 ` [PATCH v8 1/5] arm: dts: Add IOT2050 device tree files Jan Kiszka
2021-10-03 23:34   ` Tom Rini
2021-09-18  6:17 ` [PATCH v8 2/5] board: siemens: Add support for SIMATIC IOT2050 devices Jan Kiszka
2021-10-03 23:34   ` Tom Rini
2021-10-04 15:54     ` Jan Kiszka
2021-10-04 16:02       ` Tom Rini
2021-10-04 16:35         ` Jan Kiszka
2021-09-18  6:17 ` Jan Kiszka [this message]
2021-10-03 18:40   ` [PATCH v8 3/5] arm64: dts: ti: k3-am65-mcu: Add RTI watchdog entry Tom Rini
2021-10-04  7:44     ` Jan Kiszka
2021-09-18  6:17 ` [PATCH v8 4/5] watchdog: rti_wdt: Add support for loading firmware Jan Kiszka
2021-10-03 23:34   ` Tom Rini
2021-09-18  6:17 ` [PATCH v8 5/5] iot2050: Enable watchdog support, but do not auto-start it Jan Kiszka
2021-10-03 23:34   ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=789827a988a4ca6b418edb55e205918812564fd9.1631945876.git.jan.kiszka@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=baocheng.su@siemens.com \
    --cc=chao.zeng@siemens.com \
    --cc=le.jin@siemens.com \
    --cc=lokeshvutla@ti.com \
    --cc=nian.gao@siemens.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.