/
jedec,spi-nor.yaml
51 lines (42 loc) · 1.02 KB
/
jedec,spi-nor.yaml
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
#
# Copyright (c) 2018 Peter Bigot Consulting, LLC
#
# SPDX-License-Identifier: Apache-2.0
#
title: SPI NOR flash devices (JEDEC CFI interface)
version: 0.1
description: >
Any SPI NOR flash that supports the JEDEC CFI interface.
inherits:
!include spi-device.yaml
properties:
compatible:
constraint: "jedec,spi-nor"
jedec-id:
type: array
category: required
description: JEDEC ID as manufacturer ID, memory type, memory density
erase-block-size:
type: int
description: address alignment required by flash erase operations
category: optional
write-block-size:
type: int
description: address alignment required by flash write operations
category: optional
size:
type: int
category: optional
description: flash capacity in bits
wp-gpios:
type: compound
category: optional
description: WPn pin
hold-gpios:
type: compound
category: optional
description: HOLDn pin
reset-gpios:
type: compound
category: optional
description: RESETn pin