xref: /linux/Documentation/devicetree/bindings/gpio/lsi,zevio-gpio.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/gpio/lsi,zevio-gpio.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Zevio GPIO controller
8
9maintainers:
10  - Pratik Farkase <pratikfarkase94@gmail.com>
11
12properties:
13  compatible:
14    items:
15      - const: lsi,zevio-gpio
16
17  reg:
18    maxItems: 1
19
20  interrupts:
21    maxItems: 1
22
23  "#gpio-cells":
24    const: 2
25
26  gpio-controller: true
27
28required:
29  - compatible
30  - reg
31  - "#gpio-cells"
32  - gpio-controller
33
34unevaluatedProperties: false
35
36examples:
37  - |
38    gpio@90000000 {
39        compatible = "lsi,zevio-gpio";
40        reg = <0x90000000 0x1000>;
41        gpio-controller;
42        #gpio-cells = <2>;
43    };
44