Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 # Copyright 2019 Bootlin
0003 %YAML 1.2
0004 ---
0005 $id: "http://devicetree.org/schemas/mfd/xylon,logicvc.yaml#"
0006 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0007 
0008 title: Xylon LogiCVC multi-function device
0009 
0010 maintainers:
0011   - Paul Kocialkowski <paul.kocialkowski@bootlin.com>
0012 
0013 description: |
0014   The LogiCVC is a display controller that also contains a GPIO controller.
0015   As a result, a multi-function device is exposed as parent of the display
0016   and GPIO blocks.
0017 
0018 properties:
0019   compatible:
0020     items:
0021       - enum:
0022           - xylon,logicvc-3.02.a
0023       - const: syscon
0024       - const: simple-mfd
0025 
0026   reg:
0027     maxItems: 1
0028 
0029   '#address-cells':
0030     const: 1
0031 
0032   '#size-cells':
0033     const: 1
0034 
0035 select:
0036   properties:
0037     compatible:
0038       contains:
0039         enum:
0040           - xylon,logicvc-3.02.a
0041 
0042   required:
0043     - compatible
0044 
0045 patternProperties:
0046   "^gpio@[0-9a-f]+$":
0047     $ref: /schemas/gpio/xylon,logicvc-gpio.yaml#
0048 
0049   "^display@[0-9a-f]+$":
0050     $ref: /schemas/display/xylon,logicvc-display.yaml#
0051 
0052 required:
0053   - compatible
0054   - reg
0055 
0056 additionalProperties: false
0057 
0058 examples:
0059   - |
0060     logicvc: logicvc@43c00000 {
0061       compatible = "xylon,logicvc-3.02.a", "syscon", "simple-mfd";
0062       reg = <0x43c00000 0x6000>;
0063     };