xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/xylon,logicvc.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot# Copyright 2019 Bootlin
3c66ec88fSEmmanuel Vadot%YAML 1.2
4c66ec88fSEmmanuel Vadot---
5*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/mfd/xylon,logicvc.yaml#
6*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
7c66ec88fSEmmanuel Vadot
8c66ec88fSEmmanuel Vadottitle: Xylon LogiCVC multi-function device
9c66ec88fSEmmanuel Vadot
10c66ec88fSEmmanuel Vadotmaintainers:
11c66ec88fSEmmanuel Vadot  - Paul Kocialkowski <paul.kocialkowski@bootlin.com>
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadotdescription: |
14c66ec88fSEmmanuel Vadot  The LogiCVC is a display controller that also contains a GPIO controller.
15c66ec88fSEmmanuel Vadot  As a result, a multi-function device is exposed as parent of the display
16c66ec88fSEmmanuel Vadot  and GPIO blocks.
17c66ec88fSEmmanuel Vadot
18c66ec88fSEmmanuel Vadotproperties:
19c66ec88fSEmmanuel Vadot  compatible:
20c66ec88fSEmmanuel Vadot    items:
21c66ec88fSEmmanuel Vadot      - enum:
22c66ec88fSEmmanuel Vadot          - xylon,logicvc-3.02.a
23c66ec88fSEmmanuel Vadot      - const: syscon
24c66ec88fSEmmanuel Vadot      - const: simple-mfd
25c66ec88fSEmmanuel Vadot
26c66ec88fSEmmanuel Vadot  reg:
27c66ec88fSEmmanuel Vadot    maxItems: 1
28c66ec88fSEmmanuel Vadot
296be33864SEmmanuel Vadot  '#address-cells':
306be33864SEmmanuel Vadot    const: 1
316be33864SEmmanuel Vadot
326be33864SEmmanuel Vadot  '#size-cells':
336be33864SEmmanuel Vadot    const: 1
346be33864SEmmanuel Vadot
35c66ec88fSEmmanuel Vadotselect:
36c66ec88fSEmmanuel Vadot  properties:
37c66ec88fSEmmanuel Vadot    compatible:
38c66ec88fSEmmanuel Vadot      contains:
39c66ec88fSEmmanuel Vadot        enum:
40c66ec88fSEmmanuel Vadot          - xylon,logicvc-3.02.a
41c66ec88fSEmmanuel Vadot
42c66ec88fSEmmanuel Vadot  required:
43c66ec88fSEmmanuel Vadot    - compatible
44c66ec88fSEmmanuel Vadot
456be33864SEmmanuel VadotpatternProperties:
466be33864SEmmanuel Vadot  "^gpio@[0-9a-f]+$":
476be33864SEmmanuel Vadot    $ref: /schemas/gpio/xylon,logicvc-gpio.yaml#
486be33864SEmmanuel Vadot
498cc087a1SEmmanuel Vadot  "^display@[0-9a-f]+$":
508cc087a1SEmmanuel Vadot    $ref: /schemas/display/xylon,logicvc-display.yaml#
518cc087a1SEmmanuel Vadot
52c66ec88fSEmmanuel Vadotrequired:
53c66ec88fSEmmanuel Vadot  - compatible
54c66ec88fSEmmanuel Vadot  - reg
55c66ec88fSEmmanuel Vadot
566be33864SEmmanuel VadotadditionalProperties: false
576be33864SEmmanuel Vadot
58c66ec88fSEmmanuel Vadotexamples:
59c66ec88fSEmmanuel Vadot  - |
60c66ec88fSEmmanuel Vadot    logicvc: logicvc@43c00000 {
61c66ec88fSEmmanuel Vadot      compatible = "xylon,logicvc-3.02.a", "syscon", "simple-mfd";
62c66ec88fSEmmanuel Vadot      reg = <0x43c00000 0x6000>;
63c66ec88fSEmmanuel Vadot    };
64