xref: /freebsd/sys/contrib/device-tree/Bindings/gpio/gpio-rda.yaml (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/gpio/gpio-rda.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: RDA Micro GPIO controller
8
9maintainers:
10  - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
11
12properties:
13  compatible:
14    const: rda,8810pl-gpio
15
16  reg:
17    maxItems: 1
18
19  gpio-controller: true
20
21  "#gpio-cells":
22    const: 2
23
24  ngpios:
25    description:
26      Number of available gpios in a bank.
27    minimum: 1
28    maximum: 32
29
30  interrupt-controller: true
31
32  "#interrupt-cells":
33    const: 2
34
35  interrupts:
36    maxItems: 1
37
38required:
39  - compatible
40  - reg
41  - gpio-controller
42  - "#gpio-cells"
43  - ngpios
44  - interrupt-controller
45  - "#interrupt-cells"
46  - interrupts
47
48additionalProperties: false
49
50...
51