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