summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml
blob: 1d078c5ef16898c88fefbc50cc38156a9fd2eba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/mfd/zii,rave-sp.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Zodiac Inflight Innovations RAVE Supervisory Processor

maintainers:
  - Frank Li <Frank.Li@nxp.com>

description:
  RAVE Supervisory Processor communicates with SoC over UART. It is
  expected that its Device Tree node is specified as a child of a node
  corresponding to UART controller used for communication.

properties:
  compatible:
    enum:
      - zii,rave-sp-niu
      - zii,rave-sp-mezz
      - zii,rave-sp-esb
      - zii,rave-sp-rdu1
      - zii,rave-sp-rdu2

  "#address-cells":
    const: 1

  "#size-cells":
    const: 1

  watchdog:
    $ref: /schemas/watchdog/zii,rave-sp-wdt.yaml

  backlight:
    $ref: /schemas/leds/backlight/zii,rave-sp-backlight.yaml

  pwrbutton:
    $ref: /schemas/input/zii,rave-sp-pwrbutton.yaml

patternProperties:
  '^eeprom@[0-9a-f]+$':
    $ref: /schemas/nvmem/zii,rave-sp-eeprom.yaml

required:
  - compatible

allOf:
  - $ref: /schemas/serial/serial-peripheral-props.yaml

unevaluatedProperties: false

examples:
  - |
    mfd {
        compatible = "zii,rave-sp-rdu2";
        current-speed = <1000000>;

        watchdog {
            compatible = "zii,rave-sp-watchdog";
        };
    };