xref: /freebsd/sys/contrib/device-tree/Bindings/mtd/microchip,mchp48l640.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
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,mchp48l640.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Microchip 48l640 (and similar) serial EERAM
8
9maintainers:
10  - Heiko Schocher <hs@denx.de>
11
12description: |
13  The Microchip 48l640 is a 8KByte EERAM connected via SPI.
14
15  datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/20006055B.pdf
16
17properties:
18  compatible:
19    items:
20      - const: microchip,48l640
21
22  reg:
23    maxItems: 1
24
25required:
26  - compatible
27  - reg
28
29allOf:
30  - $ref: /schemas/spi/spi-peripheral-props.yaml#
31
32unevaluatedProperties: false
33
34examples:
35  - |
36    spi {
37        #address-cells = <1>;
38        #size-cells = <0>;
39
40        eeram@0 {
41            compatible = "microchip,48l640";
42            reg = <0>;
43            spi-max-frequency = <20000000>;
44        };
45    };
46...
47