File: atmel%2Cdataflash.yaml

package info (click to toggle)
linux 6.19.6-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,760,712 kB
  • sloc: ansic: 27,010,185; asm: 273,400; sh: 151,347; python: 81,280; makefile: 58,564; perl: 34,311; xml: 21,064; cpp: 5,986; yacc: 4,841; lex: 2,901; awk: 1,707; sed: 30; ruby: 25
file content (55 lines) | stat: -rw-r--r-- 1,242 bytes parent folder | download | duplicates (23)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/mtd/atmel,dataflash.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Atmel DataFlash

maintainers:
  - Nayab Sayed <nayabbasha.sayed@microchip.com>

description:
  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:
  compatible:
    oneOf:
      - items:
          - enum:
              - atmel,at45db321d
              - atmel,at45db041e
              - atmel,at45db642d
              - atmel,at45db021d
          - const: atmel,at45
          - const: atmel,dataflash
      - items:
          - const: atmel,at45
          - const: atmel,dataflash

  reg:
    maxItems: 1

required:
  - compatible
  - reg

allOf:
  - $ref: mtd.yaml#
  - $ref: /schemas/spi/spi-peripheral-props.yaml#

unevaluatedProperties: false

examples:
  - |
    spi {
        #address-cells = <1>;
        #size-cells = <0>;

        flash@1 {
            compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash";
            reg = <1>;
        };
    };