xref: /freebsd/sys/contrib/device-tree/Bindings/gpio/delta,tn48m-gpio.yaml (revision bdd1243df58e60e85101c09001d9812a789b6bc4)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/gpio/delta,tn48m-gpio.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Delta Networks TN48M CPLD GPIO controller
8
9maintainers:
10  - Robert Marko <robert.marko@sartura.hr>
11
12description: |
13  This module is part of the Delta TN48M multi-function device. For more
14  details see ../mfd/delta,tn48m-cpld.yaml.
15
16  Delta TN48M has an onboard Lattice CPLD that is used as an GPIO expander.
17  It provides 12 pins in total, they are input-only or ouput-only type.
18
19properties:
20  compatible:
21    enum:
22      - delta,tn48m-gpo
23      - delta,tn48m-gpi
24
25  reg:
26    maxItems: 1
27
28  "#gpio-cells":
29    const: 2
30
31  gpio-controller: true
32
33required:
34  - compatible
35  - reg
36  - "#gpio-cells"
37  - gpio-controller
38
39additionalProperties: false
40