xref: /linux/Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mfd/zii,rave-sp.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Zodiac Inflight Innovations RAVE Supervisory Processor
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12description:
13  RAVE Supervisory Processor communicates with SoC over UART. It is
14  expected that its Device Tree node is specified as a child of a node
15  corresponding to UART controller used for communication.
16
17properties:
18  compatible:
19    enum:
20      - zii,rave-sp-niu
21      - zii,rave-sp-mezz
22      - zii,rave-sp-esb
23      - zii,rave-sp-rdu1
24      - zii,rave-sp-rdu2
25
26  "#address-cells":
27    const: 1
28
29  "#size-cells":
30    const: 1
31
32  watchdog:
33    $ref: /schemas/watchdog/zii,rave-sp-wdt.yaml
34
35  backlight:
36    $ref: /schemas/leds/backlight/zii,rave-sp-backlight.yaml
37
38  pwrbutton:
39    $ref: /schemas/input/zii,rave-sp-pwrbutton.yaml
40
41patternProperties:
42  '^eeprom@[0-9a-f]+$':
43    $ref: /schemas/nvmem/zii,rave-sp-eeprom.yaml
44
45required:
46  - compatible
47
48allOf:
49  - $ref: /schemas/serial/serial-peripheral-props.yaml
50
51unevaluatedProperties: false
52
53examples:
54  - |
55    mfd {
56        compatible = "zii,rave-sp-rdu2";
57        current-speed = <1000000>;
58
59        watchdog {
60            compatible = "zii,rave-sp-watchdog";
61        };
62    };
63
64