]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: ti: k3-am62a: Add ESM nodes
authorJudith Mendez <jm@ti.com>
Thu, 15 Aug 2024 20:48:28 +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] 10.4 Interrupt
Sources.

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

[0] https://www.ti.com/lit/pdf/spruj16

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

index 63fd4030df7928438850ed29f60179946e65015d..16a578ae2b412f3eb66c728c12fa2467b75af4be 100644 (file)
                pinctrl-single,function-mask = <0xffffffff>;
        };
 
+       main_esm: esm@420000 {
+               compatible = "ti,j721e-esm";
+               reg = <0x0 0x420000 0x0 0x1000>;
+               bootph-pre-ram;
+               /* Interrupt sources: rti0, rti1, wrti0, rti4, rti2, rti3 */
+               ti,esm-pins = <192>, <193>, <195>, <204>, <209>, <210>;
+       };
+
        main_timer0: timer@2400000 {
                compatible = "ti,am654-timer";
                reg = <0x00 0x2400000 0x00 0x400>;
index 8c36e56f41388377666e06b14a4412cec3de458a..0469c766b769e46068f23e0073f951aa094c456f 100644 (file)
                status = "disabled";
        };
 
+       mcu_esm: esm@4100000 {
+               compatible = "ti,j721e-esm";
+               reg = <0x0 0x4100000 0x0 0x1000>;
+               bootph-pre-ram;
+               /* Interrupt sources: esm0_cfg, esm0_hi, esm0_low, mrti0 */
+               ti,esm-pins = <0>, <1>, <2>, <85>;
+       };
+
        /*
         * The MCU domain timer interrupts are routed only to the ESM module,
         * and not currently available for Linux. The MCU domain timers are