0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/gpio/delta,tn48m-gpio.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Delta Networks TN48M CPLD GPIO controller
0008
0009 maintainers:
0010 - Robert Marko <robert.marko@sartura.hr>
0011
0012 description: |
0013 This module is part of the Delta TN48M multi-function device. For more
0014 details see ../mfd/delta,tn48m-cpld.yaml.
0015
0016 Delta TN48M has an onboard Lattice CPLD that is used as an GPIO expander.
0017 It provides 12 pins in total, they are input-only or ouput-only type.
0018
0019 properties:
0020 compatible:
0021 enum:
0022 - delta,tn48m-gpo
0023 - delta,tn48m-gpi
0024
0025 reg:
0026 maxItems: 1
0027
0028 "#gpio-cells":
0029 const: 2
0030
0031 gpio-controller: true
0032
0033 required:
0034 - compatible
0035 - reg
0036 - "#gpio-cells"
0037 - gpio-controller
0038
0039 additionalProperties: false