0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/gpio/gpio-rda.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: RDA Micro GPIO controller
0008
0009 maintainers:
0010 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
0011
0012 properties:
0013 compatible:
0014 const: rda,8810pl-gpio
0015
0016 reg:
0017 maxItems: 1
0018
0019 gpio-controller: true
0020
0021 "#gpio-cells":
0022 const: 2
0023
0024 ngpios:
0025 description:
0026 Number of available gpios in a bank.
0027 minimum: 1
0028 maximum: 32
0029
0030 interrupt-controller: true
0031
0032 "#interrupt-cells":
0033 const: 2
0034
0035 interrupts:
0036 maxItems: 1
0037
0038 required:
0039 - compatible
0040 - reg
0041 - gpio-controller
0042 - "#gpio-cells"
0043 - ngpios
0044 - interrupt-controller
0045 - "#interrupt-cells"
0046 - interrupts
0047
0048 additionalProperties: false
0049
0050 ...