| 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 |
|
| 7 |
title: RDA Micro GPIO controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Manivannan Sadhasivam <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 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 |
|
| 38 |
required: |
| 39 |
- compatible |
| 40 |
- reg |
| 41 |
- gpio-controller |
| 42 |
- "#gpio-cells" |
| 43 |
- ngpios |
| 44 |
- interrupt-controller |
| 45 |
- "#interrupt-cells" |
| 46 |
- interrupts |
| 47 |
|
| 48 |
additionalProperties: false |
| 49 |
|
| 50 |
... |