1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/mtd/atmel,dataflash.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Atmel DataFlash 8 9maintainers: 10 - Nayab Sayed <nayabbasha.sayed@microchip.com> 11 12description: 13 The Atmel DataFlash is a low pin-count serial interface sequential access 14 Flash memory, compatible with SPI standard. The device tree may optionally 15 contain sub-nodes describing partitions of the address space. 16 17properties: 18 compatible: 19 oneOf: 20 - items: 21 - enum: 22 - atmel,at45db321d 23 - atmel,at45db041e 24 - atmel,at45db642d 25 - atmel,at45db021d 26 - const: atmel,at45 27 - const: atmel,dataflash 28 - items: 29 - const: atmel,at45 30 - const: atmel,dataflash 31 32 reg: 33 maxItems: 1 34 35required: 36 - compatible 37 - reg 38 39allOf: 40 - $ref: mtd.yaml# 41 - $ref: /schemas/spi/spi-peripheral-props.yaml# 42 43unevaluatedProperties: false 44 45examples: 46 - | 47 spi { 48 #address-cells = <1>; 49 #size-cells = <0>; 50 51 flash@1 { 52 compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; 53 reg = <1>; 54 }; 55 }; 56