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