xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/xylon,logicvc.yaml (revision c7a063741720ef81d4caa4613242579d12f1d605)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2# Copyright 2019 Bootlin
3%YAML 1.2
4---
5$id: "http://devicetree.org/schemas/mfd/xylon,logicvc.yaml#"
6$schema: "http://devicetree.org/meta-schemas/core.yaml#"
7
8title: Xylon LogiCVC multi-function device
9
10maintainers:
11  - Paul Kocialkowski <paul.kocialkowski@bootlin.com>
12
13description: |
14  The LogiCVC is a display controller that also contains a GPIO controller.
15  As a result, a multi-function device is exposed as parent of the display
16  and GPIO blocks.
17
18properties:
19  compatible:
20    items:
21      - enum:
22          - xylon,logicvc-3.02.a
23      - const: syscon
24      - const: simple-mfd
25
26  reg:
27    maxItems: 1
28
29  '#address-cells':
30    const: 1
31
32  '#size-cells':
33    const: 1
34
35select:
36  properties:
37    compatible:
38      contains:
39        enum:
40          - xylon,logicvc-3.02.a
41
42  required:
43    - compatible
44
45patternProperties:
46  "^gpio@[0-9a-f]+$":
47    $ref: /schemas/gpio/xylon,logicvc-gpio.yaml#
48
49  "^display@[0-9a-f]+$":
50    $ref: /schemas/display/xylon,logicvc-display.yaml#
51
52required:
53  - compatible
54  - reg
55
56additionalProperties: false
57
58examples:
59  - |
60    logicvc: logicvc@43c00000 {
61      compatible = "xylon,logicvc-3.02.a", "syscon", "simple-mfd";
62      reg = <0x43c00000 0x6000>;
63    };
64