microchip,mchp23k256.yaml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/mtd/microchip,mchp23k256.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Microchip 23K256 SPI SRAM
  7. maintainers:
  8. - Richard Weinberger <richard@nod.at>
  9. description:
  10. The Microchip 23K256 is a 256 Kbit (32 Kbyte) serial SRAM with an
  11. SPI interface,supporting clock frequencies up to 20 MHz. It features
  12. a 32-byte page size for writes and supports byte, page, and
  13. sequential access modes.
  14. allOf:
  15. - $ref: /schemas/spi/spi-peripheral-props.yaml#
  16. properties:
  17. compatible:
  18. enum:
  19. - microchip,mchp23k256
  20. - microchip,mchp23lcv1024
  21. reg:
  22. maxItems: 1
  23. required:
  24. - reg
  25. - compatible
  26. - spi-max-frequency
  27. unevaluatedProperties: false
  28. examples:
  29. - |
  30. spi {
  31. #address-cells = <1>;
  32. #size-cells = <0>;
  33. sram@0 {
  34. compatible = "microchip,mchp23k256";
  35. reg = <0>;
  36. spi-max-frequency = <20000000>;
  37. };
  38. };
  39. ...