xref: /freebsd-src/sys/contrib/device-tree/Bindings/misc/xlnx,tmr-inject.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1*cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*cb7aa33aSEmmanuel Vadot%YAML 1.2
3*cb7aa33aSEmmanuel Vadot---
4*cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/misc/xlnx,tmr-inject.yaml#
5*cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*cb7aa33aSEmmanuel Vadot
7*cb7aa33aSEmmanuel Vadottitle: Xilinx Triple Modular Redundancy(TMR) Inject IP
8*cb7aa33aSEmmanuel Vadot
9*cb7aa33aSEmmanuel Vadotmaintainers:
10*cb7aa33aSEmmanuel Vadot  - Appana Durga Kedareswara rao <appana.durga.kedareswara.rao@amd.com>
11*cb7aa33aSEmmanuel Vadot
12*cb7aa33aSEmmanuel Vadotdescription: |
13*cb7aa33aSEmmanuel Vadot  The Triple Modular Redundancy(TMR) Inject core provides functional fault
14*cb7aa33aSEmmanuel Vadot  injection by changing selected MicroBlaze instructions, which provides the
15*cb7aa33aSEmmanuel Vadot  possibility to verify that the TMR subsystem error detection and fault
16*cb7aa33aSEmmanuel Vadot  recovery logic is working properly.
17*cb7aa33aSEmmanuel Vadot
18*cb7aa33aSEmmanuel Vadotproperties:
19*cb7aa33aSEmmanuel Vadot  compatible:
20*cb7aa33aSEmmanuel Vadot    enum:
21*cb7aa33aSEmmanuel Vadot      - xlnx,tmr-inject-1.0
22*cb7aa33aSEmmanuel Vadot
23*cb7aa33aSEmmanuel Vadot  reg:
24*cb7aa33aSEmmanuel Vadot    maxItems: 1
25*cb7aa33aSEmmanuel Vadot
26*cb7aa33aSEmmanuel Vadot  xlnx,magic:
27*cb7aa33aSEmmanuel Vadot    minimum: 0
28*cb7aa33aSEmmanuel Vadot    maximum: 255
29*cb7aa33aSEmmanuel Vadot    description: |
30*cb7aa33aSEmmanuel Vadot      Magic number, When configured it allows the controller to perform
31*cb7aa33aSEmmanuel Vadot      recovery.
32*cb7aa33aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
33*cb7aa33aSEmmanuel Vadot
34*cb7aa33aSEmmanuel Vadotrequired:
35*cb7aa33aSEmmanuel Vadot  - compatible
36*cb7aa33aSEmmanuel Vadot  - reg
37*cb7aa33aSEmmanuel Vadot  - xlnx,magic
38*cb7aa33aSEmmanuel Vadot
39*cb7aa33aSEmmanuel VadotadditionalProperties: false
40*cb7aa33aSEmmanuel Vadot
41*cb7aa33aSEmmanuel Vadotexamples:
42*cb7aa33aSEmmanuel Vadot  - |
43*cb7aa33aSEmmanuel Vadot    fault-inject@44a30000 {
44*cb7aa33aSEmmanuel Vadot        compatible = "xlnx,tmr-inject-1.0";
45*cb7aa33aSEmmanuel Vadot        reg = <0x44a10000 0x10000>;
46*cb7aa33aSEmmanuel Vadot        xlnx,magic = <0x46>;
47*cb7aa33aSEmmanuel Vadot    };
48