arm64: dts: ti: k3-am64: Add ESM0 to device memory map
authorHari Nagalla <hnagalla@ti.com>
Thu, 10 Feb 2022 17:22:46 +0000 (11:22 -0600)
committerNishanth Menon <nm@ti.com>
Wed, 16 Feb 2022 15:56:06 +0000 (09:56 -0600)
AM64x SoCs have two ESM modules, with one in MAIN voltage domain and the
other in MCU voltage domain. The error output from Main ESM module can
be routed to the MCU ESM module. The error output of MCU ESM can be
configured to reset the device. The MCU ESM configuration address space
is already opened and this patch opens the MAIN ESM configuration
address space.

For ESM details please refer technical reference manual at
https://www.ti.com/lit/pdf/spruim2

Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Link: https://lore.kernel.org/r/20220210172246.27871-1-hnagalla@ti.com
arch/arm64/boot/dts/ti/k3-am64.dtsi

index 84bd07c..09ff146 100644 (file)
@@ -66,6 +66,7 @@
                #address-cells = <2>;
                #size-cells = <2>;
                ranges = <0x00 0x000f4000 0x00 0x000f4000 0x00 0x000002d0>, /* PINCTRL */
+                        <0x00 0x00420000 0x00 0x00420000 0x00 0x00001000>, /* ESM0 */
                         <0x00 0x00600000 0x00 0x00600000 0x00 0x00001100>, /* GPIO */
                         <0x00 0x00a40000 0x00 0x00a40000 0x00 0x00000800>, /* Timesync router */
                         <0x00 0x01000000 0x00 0x01000000 0x00 0x02330400>, /* First peripheral window */