| 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 |
|
| 8 |
title: Xylon LogiCVC multi-function device |
| 9 |
|
| 10 |
maintainers: |
| 11 |
- Paul Kocialkowski <[email protected]> |
| 12 |
|
| 13 |
description: | |
| 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 |
|
| 18 |
properties: |
| 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 |
|
| 35 |
select: |
| 36 |
properties: |
| 37 |
compatible: |
| 38 |
contains: |
| 39 |
enum: |
| 40 |
- xylon,logicvc-3.02.a |
| 41 |
|
| 42 |
required: |
| 43 |
- compatible |
| 44 |
|
| 45 |
patternProperties: |
| 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 |
|
| 52 |
required: |
| 53 |
- compatible |
| 54 |
- reg |
| 55 |
|
| 56 |
additionalProperties: false |
| 57 |
|
| 58 |
examples: |
| 59 |
- | |
| 60 |
logicvc: logicvc@43c00000 { |
| 61 |
compatible = "xylon,logicvc-3.02.a", "syscon", "simple-mfd"; |
| 62 |
reg = <0x43c00000 0x6000>; |
| 63 |
}; |