1# Copyright (c) 2019 Vestas Wind Systems A/S
2# SPDX-License-Identifier: Apache-2.0
3
4# Common fields for AT24 (I2C) and AT25 (SPI) EEPROM devices
5
6include: eeprom-base.yaml
7
8properties:
9  size:
10    required: true
11  pagesize:
12    type: int
13    required: true
14    description: EEPROM page size in bytes
15  address-width:
16    type: int
17    required: true
18    description: EEPROM address width in bits
19  timeout:
20    type: int
21    required: true
22    description: EEPROM write cycle timeout in milliseconds
23  wp-gpios:
24    type: phandle-array
25    description: |
26      GPIO to which the write-protect pin of the chip is connected.
27
28      The device will interpret this signal as active-low.
29