Atmel DataFlash
Schema identifier ($id): "http://devicetree.org/schemas/mtd/atmel,dataflash.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Nayab Sayed <nayabbasha.sayed@microchip.com>"
The Atmel DataFlash is a low pin-count serial interface sequential access Flash memory, compatible with SPI standard. The device tree may optionally contain sub-nodes describing partitions of the address space.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"atmel,at45db321d","atmel,at45db041e","atmel,at45db642d","atmel,at45db021d"Item 2
Exact value (
const):"atmel,at45"Item 3
Exact value (
const):"atmel,dataflash"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"atmel,at45"Item 2
Exact value (
const):"atmel,dataflash"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):mtd.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
spi {
#address-cells = <1>;
#size-cells = <0>;
flash@1 {
compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash";
reg = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)