46 lines
903 B
YAML
46 lines
903 B
YAML
#
|
|
# Copyright (c) 2018 Peter Bigot Consulting, LLC
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
title: SPI NOR flash devices (JEDEC CFI interface)
|
|
|
|
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: uint8-array
|
|
category: required
|
|
description: JEDEC ID as manufacturer ID, memory type, memory density
|
|
|
|
has-be32k:
|
|
type: boolean
|
|
category: optional
|
|
description: Indicates the device supports the BE32K command
|
|
|
|
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
|