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