Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Microchip 48l640 (and similar) serial EERAM |
| 8 | |
| 9 | maintainers: |
| 10 | - Heiko Schocher <hs@denx.de> |
| 11 | |
| 12 | description: | |
| 13 | The Microchip 48l640 is a 8KByte EERAM connected via SPI. |
| 14 | |
| 15 | datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/20006055B.pdf |
| 16 | |
| 17 | properties: |
| 18 | compatible: |
| 19 | items: |
| 20 | - const: microchip,48l640 |
| 21 | |
| 22 | reg: |
| 23 | maxItems: 1 |
| 24 | |
| 25 | required: |
| 26 | - compatible |
| 27 | - reg |
| 28 | |
| 29 | allOf: |
| 30 | - $ref: /schemas/spi/spi-peripheral-props.yaml# |
| 31 | |
| 32 | unevaluatedProperties: false |
| 33 | |
| 34 | examples: |
| 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 | ... |