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