Skip to contentSkip to conversation

arm64: ti: k3-j7: Add the ESM nodes

PATCH In review Keerthy 3 participants 5 messages Sep 25, 2023 – Sep 26, 2023 Arm (32-bit)

lore
Share & tools
lore

Keerthy

author
#0 lore raw

cover arm64: ti: k3-j7: Add the ESM nodes

Hi Tom,

https://lore.kernel.org/linux-arm-kernel/[email protected]/T/#me178708007a6b3b9695ae0ff84475fa4f49f283c

I have posted the ESM patches to the linux kernel device tree mailing list. These are neeeded in R5 SPL to enable watchdog support.

Keerthy (2):
arm64: dts: ti: k3-j721s2: Add ESM instances
arm64: dts: ti: k3-j7200: Add MCU domain ESM instance

 arch/arm/dts/k3-j7200-mcu-wakeup.dtsi  |  7 +++++++
 arch/arm/dts/k3-j721s2-main.dtsi       |  7 +++++++
 arch/arm/dts/k3-j721s2-mcu-wakeup.dtsi | 14 ++++++++++++++
 3 files changed, 28 insertions(+)
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 1/2 arm64: dts: ti: k3-j721s2: Add ESM instances

Patch adds the ESM instances for j721s2. It has 3 instances. One in the main domain and two in the mcu-wakeup domian.

---
 arch/arm/dts/k3-j721s2-main.dtsi       |  7 +++++++
 arch/arm/dts/k3-j721s2-mcu-wakeup.dtsi | 14 ++++++++++++++
 2 files changed, 21 insertions(+)
arch/arm/dts/k3-j721s2-main.dtsi +7 -0
index 976ba1e95a..859b5124ae 100644
@@ -934,4 +934,11 @@
 		interrupt-names = "int0", "int1";
 		bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>;
 	};
+
+	main_esm: esm@700000 {
+		compatible = "ti,j721e-esm";
+		reg = <0x00 0x700000 0x00 0x1000>;
+		ti,esm-pins = <688>, <689>;
+		bootph-pre-ram;
+	};
 };
arch/arm/dts/k3-j721s2-mcu-wakeup.dtsi +14 -0
index 7521963719..f28cf7df50 100644
@@ -299,4 +299,18 @@
 			ti,cpts-periodic-outputs = <2>;
 		};
 	};
+
+	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;
+	};
 };
Signature · 1 line
2.17.1
author
#2 lore raw

PATCH 2/2 arm64: dts: ti: k3-j7200: Add MCU domain ESM instance

In reply to Keerthy

Patch adds the ESM instance for MCU domian of j7200.

---
 arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/dts/k3-j7200-mcu-wakeup.dtsi +7 -0
index 1044ec6c4b..2b185fa350 100644
@@ -375,4 +375,11 @@
 			ti,loczrama = <1>;
 		};
 	};
+
+	mcu_esm: esm@40800000 {
+		compatible = "ti,j721e-esm";
+		reg = <0x00 0x40800000 0x00 0x1000>;
+		ti,esm-pins = <95>;
+		bootph-pre-ram;
+	};
 };
Signature · 1 line
2.17.1
#3 lore raw
In reply to Keerthy
Quoted 8 lines · Keerthy

Hi Tom,

https://lore.kernel.org/linux-arm-kernel/[email protected]/T/#me178708007a6b3b9695ae0ff84475fa4f49f283c

I have posted the ESM patches to the linux kernel device tree mailing list. These are neeeded in R5 SPL to enable watchdog support.

Quoted 8 lines

Keerthy (2):
arm64: dts: ti: k3-j721s2: Add ESM instances
arm64: dts: ti: k3-j7200: Add MCU domain ESM instance

 arch/arm/dts/k3-j7200-mcu-wakeup.dtsi  |  7 +++++++
 arch/arm/dts/k3-j721s2-main.dtsi       |  7 +++++++
 arch/arm/dts/k3-j721s2-mcu-wakeup.dtsi | 14 ++++++++++++++
 3 files changed, 28 insertions(+)

Get this as part of kernel dt sync.

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
#4 lore raw

Hi Keerthy

Quoted 13 lines · Nishanth Menon
Quoted 12 lines · Keerthy

Hi Tom,

https://lore.kernel.org/linux-arm-kernel/[email protected]/T/#me178708007a6b3b9695ae0ff84475fa4f49f283c

I have posted the ESM patches to the linux kernel device tree mailing list. These are neeeded in R5 SPL to enable watchdog support.

Keerthy (2):
arm64: dts: ti: k3-j721s2: Add ESM instances
arm64: dts: ti: k3-j7200: Add MCU domain ESM instance

Quoted 5 lines
Quoted 4 lines
  arch/arm/dts/k3-j7200-mcu-wakeup.dtsi  |  7 +++++++
  arch/arm/dts/k3-j721s2-main.dtsi       |  7 +++++++
  arch/arm/dts/k3-j721s2-mcu-wakeup.dtsi | 14 ++++++++++++++
  3 files changed, 28 insertions(+)

Get this as part of kernel dt sync.

Meanwhile, can i request you to post changes needed in u-boot source, May as RFC or so.

Thanks