atmel,dataflash.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/mtd/atmel,dataflash.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Atmel DataFlash
  7. maintainers:
  8. - Nayab Sayed <nayabbasha.sayed@microchip.com>
  9. description:
  10. The Atmel DataFlash is a low pin-count serial interface sequential access
  11. Flash memory, compatible with SPI standard. The device tree may optionally
  12. contain sub-nodes describing partitions of the address space.
  13. properties:
  14. compatible:
  15. oneOf:
  16. - items:
  17. - enum:
  18. - atmel,at45db321d
  19. - atmel,at45db041e
  20. - atmel,at45db642d
  21. - atmel,at45db021d
  22. - const: atmel,at45
  23. - const: atmel,dataflash
  24. - items:
  25. - const: atmel,at45
  26. - const: atmel,dataflash
  27. reg:
  28. maxItems: 1
  29. required:
  30. - compatible
  31. - reg
  32. allOf:
  33. - $ref: mtd.yaml#
  34. - $ref: /schemas/spi/spi-peripheral-props.yaml#
  35. unevaluatedProperties: false
  36. examples:
  37. - |
  38. spi {
  39. #address-cells = <1>;
  40. #size-cells = <0>;
  41. flash@1 {
  42. compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash";
  43. reg = <1>;
  44. };
  45. };