zephyr/dts/bindings/mtd/eeprom-spi-i2c.yaml
Peter Bigot ce6ffd21dc drivers: eeprom_at2x: update for new GPIO API
Document and assign write-protect signal as active low, and use the
active-sensitive API to control it.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-02-05 12:00:36 +01:00

30 lines
729 B
YAML

# Copyright (c) 2019 Vestas Wind Systems A/S
# SPDX-License-Identifier: Apache-2.0
# Common fields for I2C and SPI EEPROM devices
include: eeprom-base.yaml
properties:
size:
required: true
pagesize:
type: int
required: true
description: EEPROM page size in bytes
address-width:
type: int
required: true
description: EEPROM address width in bits
timeout:
type: int
required: true
description: EEPROM write cycle timeout in milliseconds
wp-gpios:
type: phandle-array
required: false
description: |
GPIO to which the write-protect pin of the chip is connected.
The device will interpret this signal as active-low.