Debian Codegraph @

Documentation/devicetree/bindings/mtd/microchip,mchp23k256.yaml

raw
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
7 title: Microchip 23K256 SPI SRAM
8
9 maintainers:
10 - Richard Weinberger <[email protected]>
11
12 description:
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
18 allOf:
19 - $ref: /schemas/spi/spi-peripheral-props.yaml#
20
21 properties:
22 compatible:
23 enum:
24 - microchip,mchp23k256
25 - microchip,mchp23lcv1024
26
27 reg:
28 maxItems: 1
29
30 required:
31 - reg
32 - compatible
33 - spi-max-frequency
34
35 unevaluatedProperties: false
36
37 examples:
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 ...