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