Debian Codegraph @

Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml

raw
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
7 title: Zodiac Inflight Innovations RAVE Supervisory Processor
8
9 maintainers:
10 - Frank Li <[email protected]>
11
12 description:
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
17 properties:
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
41 patternProperties:
42 '^eeprom@[0-9a-f]+$':
43 $ref: /schemas/nvmem/zii,rave-sp-eeprom.yaml
44
45 required:
46 - compatible
47
48 allOf:
49 - $ref: /schemas/serial/serial-peripheral-props.yaml
50
51 unevaluatedProperties: false
52
53 examples:
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