| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/nvmem/zii,rave-sp-eeprom.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Zodiac Inflight Innovations RAVE EEPROM |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Frank Li <[email protected]> |
| 11 |
|
| 12 |
description: |
| 13 |
RAVE SP EEPROM device is a "MFD cell" device exposing physical EEPROM |
| 14 |
attached to RAVE Supervisory Processor. It is expected that its Device |
| 15 |
Tree node is specified as a child of the node corresponding to the |
| 16 |
parent RAVE SP device (as documented in |
| 17 |
Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml) |
| 18 |
|
| 19 |
properties: |
| 20 |
compatible: |
| 21 |
const: zii,rave-sp-eeprom |
| 22 |
|
| 23 |
reg: |
| 24 |
maxItems: 1 |
| 25 |
|
| 26 |
zii,eeprom-name: |
| 27 |
$ref: /schemas/types.yaml#/definitions/string |
| 28 |
description: |
| 29 |
Unique EEPROM identifier describing its function in the |
| 30 |
system. Will be used as created NVMEM deivce's name. |
| 31 |
|
| 32 |
required: |
| 33 |
- compatible |
| 34 |
|
| 35 |
allOf: |
| 36 |
- $ref: nvmem.yaml# |
| 37 |
- $ref: nvmem-deprecated-cells.yaml# |
| 38 |
|
| 39 |
unevaluatedProperties: false |
| 40 |
|
| 41 |
examples: |
| 42 |
- | |
| 43 |
eeprom@a4 { |
| 44 |
compatible = "zii,rave-sp-eeprom"; |
| 45 |
reg = <0xa4 0x4000>; |
| 46 |
#address-cells = <1>; |
| 47 |
#size-cells = <1>; |
| 48 |
zii,eeprom-name = "main-eeprom"; |
| 49 |
|
| 50 |
wdt-timeout@81 { |
| 51 |
reg = <0x81 2>; |
| 52 |
}; |
| 53 |
}; |
| 54 |
|