xref: /linux/Documentation/devicetree/bindings/mtd/ti,elm.yaml (revision 6863c612024f92dfba656cc4f74b19d348cfce8f)
1*6863c612SRoger Quadros# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*6863c612SRoger Quadros%YAML 1.2
3*6863c612SRoger Quadros---
4*6863c612SRoger Quadros$id: http://devicetree.org/schemas/mtd/ti,elm.yaml#
5*6863c612SRoger Quadros$schema: http://devicetree.org/meta-schemas/core.yaml#
6*6863c612SRoger Quadros
7*6863c612SRoger Quadrostitle: Texas Instruments Error Location Module (ELM).
8*6863c612SRoger Quadros
9*6863c612SRoger Quadrosmaintainers:
10*6863c612SRoger Quadros  - Roger Quadros <rogerq@kernel.org>
11*6863c612SRoger Quadros
12*6863c612SRoger Quadrosdescription:
13*6863c612SRoger Quadros  ELM module is used together with GPMC and NAND Flash to detect
14*6863c612SRoger Quadros  errors and the location of the error based on BCH algorithms
15*6863c612SRoger Quadros  so they can be corrected if possible.
16*6863c612SRoger Quadros
17*6863c612SRoger Quadrosproperties:
18*6863c612SRoger Quadros  compatible:
19*6863c612SRoger Quadros    enum:
20*6863c612SRoger Quadros      - ti,am3352-elm
21*6863c612SRoger Quadros
22*6863c612SRoger Quadros  reg:
23*6863c612SRoger Quadros    maxItems: 1
24*6863c612SRoger Quadros
25*6863c612SRoger Quadros  interrupts:
26*6863c612SRoger Quadros    maxItems: 1
27*6863c612SRoger Quadros
28*6863c612SRoger Quadros  ti,hwmods:
29*6863c612SRoger Quadros    description:
30*6863c612SRoger Quadros      Name of the HWMOD associated with ELM. This is for legacy
31*6863c612SRoger Quadros      platforms only.
32*6863c612SRoger Quadros    $ref: /schemas/types.yaml#/definitions/string
33*6863c612SRoger Quadros    deprecated: true
34*6863c612SRoger Quadros
35*6863c612SRoger Quadrosrequired:
36*6863c612SRoger Quadros  - compatible
37*6863c612SRoger Quadros  - reg
38*6863c612SRoger Quadros  - interrupts
39*6863c612SRoger Quadros
40*6863c612SRoger QuadrosadditionalProperties: false
41*6863c612SRoger Quadros
42*6863c612SRoger Quadrosexamples:
43*6863c612SRoger Quadros  - |
44*6863c612SRoger Quadros    elm: ecc@0 {
45*6863c612SRoger Quadros        compatible = "ti,am3352-elm";
46*6863c612SRoger Quadros        reg = <0x0 0x2000>;
47*6863c612SRoger Quadros        interrupts = <4>;
48*6863c612SRoger Quadros    };
49