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 7title: Microchip 23K256 SPI SRAM 8 9maintainers: 10 - Richard Weinberger <richard@nod.at> 11 12description: 13 The Microchip 23K256 is a 256 Kbit (32 Kbyte) serial SRAM with an 14 SPI interface,supporting clock frequencies up to 20 MHz. It features 15 a 32-byte page size for writes and supports byte, page, and 16 sequential access modes. 17 18allOf: 19 - $ref: /schemas/spi/spi-peripheral-props.yaml# 20 21properties: 22 compatible: 23 enum: 24 - microchip,mchp23k256 25 - microchip,mchp23lcv1024 26 27 reg: 28 maxItems: 1 29 30required: 31 - reg 32 - compatible 33 - spi-max-frequency 34 35unevaluatedProperties: false 36 37examples: 38 - | 39 spi { 40 #address-cells = <1>; 41 #size-cells = <0>; 42 43 sram@0 { 44 compatible = "microchip,mchp23k256"; 45 reg = <0>; 46 spi-max-frequency = <20000000>; 47 }; 48 }; 49... 50