ti,elm.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. title: Texas Instruments Error Location Module (ELM).
  7. maintainers:
  8. - Roger Quadros <rogerq@kernel.org>
  9. description:
  10. ELM module is used together with GPMC and NAND Flash to detect
  11. errors and the location of the error based on BCH algorithms
  12. so they can be corrected if possible.
  13. properties:
  14. compatible:
  15. enum:
  16. - ti,am3352-elm
  17. - ti,am64-elm
  18. reg:
  19. maxItems: 1
  20. interrupts:
  21. maxItems: 1
  22. clocks:
  23. maxItems: 1
  24. description: Functional clock.
  25. clock-names:
  26. items:
  27. - const: fck
  28. power-domains:
  29. maxItems: 1
  30. ti,hwmods:
  31. description:
  32. Name of the HWMOD associated with ELM. This is for legacy
  33. platforms only.
  34. $ref: /schemas/types.yaml#/definitions/string
  35. deprecated: true
  36. required:
  37. - compatible
  38. - reg
  39. - interrupts
  40. allOf:
  41. - if:
  42. properties:
  43. compatible:
  44. contains:
  45. const: ti,am64-elm
  46. then:
  47. required:
  48. - clocks
  49. - clock-names
  50. - power-domains
  51. additionalProperties: false
  52. examples:
  53. - |
  54. elm: ecc@0 {
  55. compatible = "ti,am3352-elm";
  56. reg = <0x0 0x2000>;
  57. interrupts = <4>;
  58. };