f54a7b1602
Allow use of multiple mb85rc frams at contiguous i2c addresses as a single big fram module. Tested on mb85rc1mt used as two 32K modules, where the first one was at mb85rc1mt's first i2c address and the second one at mb85rc1mt's second i2c address. Signed-off-by: Jakub Michalski <jmichalski@internships.antmicro.com> Signed-off-by: Mateusz Sierszulski <msierszulski@antmicro.com>
29 lines
668 B
YAML
29 lines
668 B
YAML
# Copyright (c) 2023 Antmicro <www.antmicro.com>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: Fujitsu MB85RCXX series I2C FRAM
|
|
|
|
compatible: "fujitsu,mb85rcxx"
|
|
|
|
include: ["eeprom-base.yaml", i2c-device.yaml]
|
|
|
|
properties:
|
|
size:
|
|
required: true
|
|
description: Total FRAM size in bytes.
|
|
|
|
pagesize:
|
|
type: int
|
|
description: |
|
|
Size of the single FRAM module in bytes.
|
|
If not provided it is assumed to be the same as total size.
|
|
|
|
address-width:
|
|
type: int
|
|
required: true
|
|
description: FRAM address width in bits.
|
|
|
|
wp-gpios:
|
|
type: phandle-array
|
|
description: GPIO to which the write-protect pin of the chip is connected.
|