brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 87128c0 Raw
73 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 detect14  errors and the location of the error based on BCH algorithms15  so they can be corrected if possible.16 17properties:18  compatible:19    enum:20      - ti,am3352-elm21      - ti,am64-elm22 23  reg:24    maxItems: 125 26  interrupts:27    maxItems: 128 29  clocks:30    maxItems: 131    description: Functional clock.32 33  clock-names:34    items:35      - const: fck36 37  power-domains:38    maxItems: 139 40  ti,hwmods:41    description:42      Name of the HWMOD associated with ELM. This is for legacy43      platforms only.44    $ref: /schemas/types.yaml#/definitions/string45    deprecated: true46 47required:48  - compatible49  - reg50  - interrupts51 52allOf:53  - if:54      properties:55        compatible:56          contains:57            const: ti,am64-elm58    then:59      required:60        - clocks61        - clock-names62        - power-domains63 64additionalProperties: false65 66examples:67  - |68    elm: ecc@0 {69        compatible = "ti,am3352-elm";70        reg = <0x0 0x2000>;71        interrupts = <4>;72    };73