44 lines
725 B
YAML
44 lines
725 B
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/gpio/lsi,zevio-gpio.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Zevio GPIO controller
|
|
|
|
maintainers:
|
|
- Pratik Farkase <pratikfarkase94@gmail.com>
|
|
|
|
properties:
|
|
compatible:
|
|
items:
|
|
- const: lsi,zevio-gpio
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
"#gpio-cells":
|
|
const: 2
|
|
|
|
gpio-controller: true
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- "#gpio-cells"
|
|
- gpio-controller
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
gpio@90000000 {
|
|
compatible = "lsi,zevio-gpio";
|
|
reg = <0x90000000 0x1000>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
};
|