2019-10-26 05:55:26 +08:00
|
|
|
# Copyright (c) 2019 Vestas Wind Systems A/S
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-01-25 20:58:19 +08:00
|
|
|
# Common fields for AT24 (I2C) and AT25 (SPI) EEPROM devices
|
2019-10-26 05:55:26 +08:00
|
|
|
|
|
|
|
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
|
2020-01-27 00:19:12 +08:00
|
|
|
description: |
|
|
|
|
GPIO to which the write-protect pin of the chip is connected.
|
|
|
|
|
|
|
|
The device will interpret this signal as active-low.
|