2019-01-29 02:26:30 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2018 Peter Bigot Consulting, LLC
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
2019-06-19 06:03:49 +08:00
|
|
|
|
2019-01-29 02:26:30 +08:00
|
|
|
title: SPI NOR flash devices (JEDEC CFI interface)
|
|
|
|
|
|
|
|
description: >
|
|
|
|
Any SPI NOR flash that supports the JEDEC CFI interface.
|
|
|
|
|
|
|
|
inherits:
|
2019-07-19 04:28:49 +08:00
|
|
|
!include spi-device.yaml
|
2019-01-29 02:26:30 +08:00
|
|
|
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
constraint: "jedec,spi-nor"
|
|
|
|
|
|
|
|
jedec-id:
|
2019-07-22 18:42:00 +08:00
|
|
|
type: uint8-array
|
2019-01-29 02:26:30 +08:00
|
|
|
category: required
|
|
|
|
description: JEDEC ID as manufacturer ID, memory type, memory density
|
|
|
|
|
2019-07-21 03:09:10 +08:00
|
|
|
has-be32k:
|
|
|
|
type: boolean
|
|
|
|
category: optional
|
|
|
|
description: Indicates the device supports the BE32K command
|
2019-04-02 02:12:45 +08:00
|
|
|
|
2019-01-29 02:26:30 +08:00
|
|
|
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
|