arm64: dts: ti: k3-am65: Add ESM nodes
authorJudith Mendez <jm@ti.com>
Thu, 15 Aug 2024 20:48:33 +0000 (15:48 -0500)
committerNishanth Menon <nm@ti.com>
Sun, 1 Sep 2024 19:02:20 +0000 (14:02 -0500)
Add Error Signaling Module (ESM) instances in MCU and MAIN domains,
set ESM interrupt sources for rti as per TRM [0] 9.4 Interrupt
Sources.

There are no ESM0_ESM_INT* events routed to MCU ESM, so it is not
possible to reset the CPU using watchdog and ESM0 configuration.
However add ESM instances for device completion.

Add comments to describe what interrupt sources are routed to ESM
modules.

[0] http://www.ti.com/lit/pdf/spruid7

Signed-off-by: Judith Mendez <jm@ti.com>
Reviewed-by: Bryan Brattlof <bb@ti.com>
Link: https://lore.kernel.org/r/20240815204833.452132-7-jm@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am65-main.dtsi
arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi

index 06ed74197f893fda178e6fd8d3fe8f2f38e35780..1f1af7ea23305399c4705c1c7e479523d79fbf84 100644 (file)
                };
        };
 
+       main_esm: esm@700000 {
+               compatible = "ti,j721e-esm";
+               reg = <0x00 0x700000 0x00 0x1000>;
+               bootph-pre-ram;
+               /* Interrupt sources: rti0, rti1, rti2, rti3 */
+               ti,esm-pins = <224>, <225>, <226>, <227>;
+       };
+
        serdes0: serdes@900000 {
                compatible = "ti,phy-am654-serdes";
                reg = <0x0 0x900000 0x0 0x2000>;
index 1a251d13f80ab90c8b287e50a7b1710ca1177f96..7cf1f646500a16c1d1bac6dfb37fb285218063b3 100644 (file)
                };
        };
 
+       mcu_esm: esm@40800000 {
+               compatible = "ti,j721e-esm";
+               reg = <0x00 0x40800000 0x00 0x1000>;
+               bootph-pre-ram;
+               /* Interrupt sources: mrti0, mrti1 */
+               ti,esm-pins = <104>, <105>;
+       };
+
        mcu_rti1: watchdog@40610000 {
                compatible = "ti,j7-rti-wdt";
                reg = <0x0 0x40610000 0x0 0x100>;