Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/gpio/kontron,sl28cpld-gpio.yaml
26308 views
1
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/gpio/kontron,sl28cpld-gpio.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: GPIO driver for the sl28cpld board management controller
8
9
maintainers:
10
- Michael Walle <michael@walle.cc>
11
12
description: |
13
This module is part of the sl28cpld multi-function device. For more
14
details see ../mfd/kontron,sl28cpld.yaml.
15
16
There are three flavors of the GPIO controller, one full featured
17
input/output with interrupt support (kontron,sl28cpld-gpio), one
18
output-only (kontron,sl28-gpo) and one input-only (kontron,sl28-gpi).
19
20
Each controller supports 8 GPIO lines.
21
22
properties:
23
compatible:
24
enum:
25
- kontron,sl28cpld-gpio
26
- kontron,sl28cpld-gpi
27
- kontron,sl28cpld-gpo
28
29
reg:
30
maxItems: 1
31
32
interrupts:
33
maxItems: 1
34
35
"#interrupt-cells":
36
const: 2
37
38
interrupt-controller: true
39
40
"#gpio-cells":
41
const: 2
42
43
gpio-controller: true
44
45
gpio-line-names:
46
minItems: 1
47
maxItems: 8
48
49
required:
50
- compatible
51
- "#gpio-cells"
52
- gpio-controller
53
54
additionalProperties: false
55
56