[PATCH 2/2] arm64: dts: ti: k3-am64: Add ESM support

Nishanth Menon nm at ti.com
Tue May 30 11:53:35 PDT 2023


Add Error Signaling Module (ESM) instances in MCU and MAIN domains.

Signed-off-by: Nishanth Menon <nm at ti.com>
---

Depends on https://lore.kernel.org/all/20230504080526.133149-1-n-francis@ti.com/
(to be merged via SoC tree)

 arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 6 ++++++
 arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi  | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
index 5e8036f32d79..0742af804378 100644
--- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi
@@ -228,6 +228,12 @@ epwm_tbclk: clock at 4140 {
 		};
 	};
 
+	main_esm: esm at 420000 {
+		compatible = "ti,j721e-esm";
+		reg = <0x00 0x420000 0x00 0x1000>;
+		ti,esm-pins = <160>, <161>;
+	};
+
 	main_uart0: serial at 2800000 {
 		compatible = "ti,am64-uart", "ti,am654-uart";
 		reg = <0x00 0x02800000 0x00 0x100>;
diff --git a/arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi
index 38ddf0b3b8a0..825793767d41 100644
--- a/arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi
@@ -109,4 +109,10 @@ mcu_pmx0: pinctrl at 4084000 {
 		pinctrl-single,register-width = <32>;
 		pinctrl-single,function-mask = <0xffffffff>;
 	};
+
+	mcu_esm: esm at 4100000 {
+		compatible = "ti,j721e-esm";
+		reg = <0x00 0x4100000 0x00 0x1000>;
+		ti,esm-pins = <0>, <1>;
+	};
 };
-- 
2.40.0




More information about the linux-arm-kernel mailing list