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
49required:
50  - compatible
51  - reg
52
53additionalProperties: false
54
55examples:
56  - |
57    logicvc: logicvc@43c00000 {
58      compatible = "xylon,logicvc-3.02.a", "syscon", "simple-mfd";
59      reg = <0x43c00000 0x6000>;
60    };
61