All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neha Malcom Francis <n-francis@ti.com>
To: <u-boot@lists.denx.de>, <trini@konsulko.com>, <sjg@chromium.com>,
	<vigneshr@ti.com>, <u-kumar1@ti.com>
Cc: <vaishnav.a@ti.com>, <m-chawdhry@ti.com>
Subject: [PATCH 2/4] arm: dts: k3-j7200: Add Main domain ESM support
Date: Tue, 23 May 2023 13:19:49 +0530	[thread overview]
Message-ID: <20230523074951.176649-3-n-francis@ti.com> (raw)
In-Reply-To: <20230523074951.176649-1-n-francis@ti.com>

From: Gowtham Tammana <g-tammana@ti.com>

Main domain ESM support is needed to configure main domain watchdog
interrupts to generate ESM pin events. On J7200 boards ESM error pin
output is propagated to PMIC to generate reset.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
---
 arch/arm/dts/k3-j7200-main.dtsi | 7 +++++++
 arch/arm/dts/k3-j7200.dtsi      | 1 +
 2 files changed, 8 insertions(+)

diff --git a/arch/arm/dts/k3-j7200-main.dtsi b/arch/arm/dts/k3-j7200-main.dtsi
index e8a41d09b4..d8db2d2d01 100644
--- a/arch/arm/dts/k3-j7200-main.dtsi
+++ b/arch/arm/dts/k3-j7200-main.dtsi
@@ -774,4 +774,11 @@
 			ti,loczrama = <1>;
 		};
 	};
+
+	main_esm: esm@700000 {
+		compatible = "ti,j721e-esm";
+		reg = <0x0 0x700000 0x0 0x1000>;
+		ti,esm-pins = <656>, <657>;
+		bootph-pre-ram;
+	};
 };
diff --git a/arch/arm/dts/k3-j7200.dtsi b/arch/arm/dts/k3-j7200.dtsi
index b7005b8031..9252d97399 100644
--- a/arch/arm/dts/k3-j7200.dtsi
+++ b/arch/arm/dts/k3-j7200.dtsi
@@ -124,6 +124,7 @@
 		#size-cells = <2>;
 		ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */
 			 <0x00 0x00600000 0x00 0x00600000 0x00 0x00031100>, /* GPIO */
+			 <0x00 0x00700000 0x00 0x00700000 0x00 0x00001000>, /* ESM */
 			 <0x00 0x00a40000 0x00 0x00a40000 0x00 0x00000800>, /* timesync router */
 			 <0x00 0x01000000 0x00 0x01000000 0x00 0x0d000000>, /* Most peripherals */
 			 <0x00 0x30000000 0x00 0x30000000 0x00 0x0c400000>, /* MAIN NAVSS */
-- 
2.34.1


  parent reply	other threads:[~2023-05-23  7:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-23  7:49 [PATCH 0/4] ESM support for J721E and J7200 Neha Malcom Francis
2023-05-23  7:49 ` [PATCH 1/4] arm: dts: k3-j721e: Refine MAIN domain ESM support Neha Malcom Francis
2023-05-23  7:49 ` Neha Malcom Francis [this message]
2023-05-23  7:49 ` [PATCH 3/4] board: ti: j721e: initialize ESM support for J7200 SOM Neha Malcom Francis
2023-05-23  7:49 ` [PATCH 4/4] configs: j7200_evm_r5: Add ESM config for J7200 Neha Malcom Francis
2023-05-23 13:56 ` [PATCH 0/4] ESM support for J721E and J7200 Tom Rini
2023-05-23 19:45   ` Nishanth Menon

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=20230523074951.176649-3-n-francis@ti.com \
    --to=n-francis@ti.com \
    --cc=m-chawdhry@ti.com \
    --cc=sjg@chromium.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=u-kumar1@ti.com \
    --cc=vaishnav.a@ti.com \
    --cc=vigneshr@ti.com \
    /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.