xref: /freebsd/sys/contrib/device-tree/Bindings/misc/ti,j721e-esm.yaml (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*f126890aSEmmanuel Vadot# Copyright (C) 2022 Texas Instruments Incorporated
3*f126890aSEmmanuel Vadot%YAML 1.2
4*f126890aSEmmanuel Vadot---
5*f126890aSEmmanuel Vadot$id: http://devicetree.org/schemas/misc/ti,j721e-esm.yaml#
6*f126890aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadottitle: Texas Instruments K3 ESM
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadotmaintainers:
11*f126890aSEmmanuel Vadot  - Neha Malcom Francis <n-francis@ti.com>
12*f126890aSEmmanuel Vadot
13*f126890aSEmmanuel Vadotdescription:
14*f126890aSEmmanuel Vadot  The ESM (Error Signaling Module) is an IP block on TI K3 devices
15*f126890aSEmmanuel Vadot  that allows handling of safety events somewhat similar to what interrupt
16*f126890aSEmmanuel Vadot  controller would do. The safety signals have their separate paths within
17*f126890aSEmmanuel Vadot  the SoC, and they are handled by the ESM, which routes them to the proper
18*f126890aSEmmanuel Vadot  destination, which can be system reset, interrupt controller, etc. In the
19*f126890aSEmmanuel Vadot  simplest configuration the signals are just routed to reset the SoC.
20*f126890aSEmmanuel Vadot
21*f126890aSEmmanuel Vadotproperties:
22*f126890aSEmmanuel Vadot  compatible:
23*f126890aSEmmanuel Vadot    const: ti,j721e-esm
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot  reg:
26*f126890aSEmmanuel Vadot    maxItems: 1
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadot  ti,esm-pins:
29*f126890aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32-array
30*f126890aSEmmanuel Vadot    description:
31*f126890aSEmmanuel Vadot      integer array of ESM interrupt pins to route to external event pin
32*f126890aSEmmanuel Vadot      which can be used to reset the SoC.
33*f126890aSEmmanuel Vadot    minItems: 1
34*f126890aSEmmanuel Vadot    maxItems: 255
35*f126890aSEmmanuel Vadot
36*f126890aSEmmanuel Vadotrequired:
37*f126890aSEmmanuel Vadot  - compatible
38*f126890aSEmmanuel Vadot  - reg
39*f126890aSEmmanuel Vadot  - ti,esm-pins
40*f126890aSEmmanuel Vadot
41*f126890aSEmmanuel VadotadditionalProperties: false
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadotexamples:
44*f126890aSEmmanuel Vadot  - |
45*f126890aSEmmanuel Vadot    bus {
46*f126890aSEmmanuel Vadot        #address-cells = <2>;
47*f126890aSEmmanuel Vadot        #size-cells = <2>;
48*f126890aSEmmanuel Vadot        esm@700000 {
49*f126890aSEmmanuel Vadot            compatible = "ti,j721e-esm";
50*f126890aSEmmanuel Vadot            reg = <0x0 0x700000 0x0 0x1000>;
51*f126890aSEmmanuel Vadot            ti,esm-pins = <344>, <345>;
52*f126890aSEmmanuel Vadot        };
53*f126890aSEmmanuel Vadot    };
54