Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/gpio/kontron,sl28cpld-gpio.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: GPIO driver for the sl28cpld board management controller
0008 
0009 maintainers:
0010   - Michael Walle <michael@walle.cc>
0011 
0012 description: |
0013   This module is part of the sl28cpld multi-function device. For more
0014   details see ../mfd/kontron,sl28cpld.yaml.
0015 
0016   There are three flavors of the GPIO controller, one full featured
0017   input/output with interrupt support (kontron,sl28cpld-gpio), one
0018   output-only (kontron,sl28-gpo) and one input-only (kontron,sl28-gpi).
0019 
0020   Each controller supports 8 GPIO lines.
0021 
0022 properties:
0023   compatible:
0024     enum:
0025       - kontron,sl28cpld-gpio
0026       - kontron,sl28cpld-gpi
0027       - kontron,sl28cpld-gpo
0028 
0029   reg:
0030     maxItems: 1
0031 
0032   interrupts:
0033     maxItems: 1
0034 
0035   "#interrupt-cells":
0036     const: 2
0037 
0038   interrupt-controller: true
0039 
0040   "#gpio-cells":
0041     const: 2
0042 
0043   gpio-controller: true
0044 
0045   gpio-line-names:
0046     minItems: 1
0047     maxItems: 8
0048 
0049 required:
0050   - compatible
0051   - "#gpio-cells"
0052   - gpio-controller
0053 
0054 additionalProperties: false