xref: /freebsd/sys/contrib/device-tree/Bindings/pinctrl/samsung,pinctrl-gpio-bank.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/pinctrl/samsung,pinctrl-gpio-bank.yaml#
5*c9ccf3a3SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c9ccf3a3SEmmanuel Vadot
7*c9ccf3a3SEmmanuel Vadottitle: Samsung S3C/S5P/Exynos SoC pin controller - gpio bank
8*c9ccf3a3SEmmanuel Vadot
9*c9ccf3a3SEmmanuel Vadotmaintainers:
10*c9ccf3a3SEmmanuel Vadot  - Krzysztof Kozlowski <krzk@kernel.org>
11*c9ccf3a3SEmmanuel Vadot  - Sylwester Nawrocki <s.nawrocki@samsung.com>
12*c9ccf3a3SEmmanuel Vadot  - Tomasz Figa <tomasz.figa@gmail.com>
13*c9ccf3a3SEmmanuel Vadot
14*c9ccf3a3SEmmanuel Vadotdescription: |
15*c9ccf3a3SEmmanuel Vadot  This is a part of device tree bindings for Samsung S3C/S5P/Exynos SoC pin
16*c9ccf3a3SEmmanuel Vadot  controller.
17*c9ccf3a3SEmmanuel Vadot
18*c9ccf3a3SEmmanuel Vadot  GPIO bank description for Samsung S3C/S5P/Exynos SoC pin controller.
19*c9ccf3a3SEmmanuel Vadot
20*c9ccf3a3SEmmanuel Vadot  See also Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml for
21*c9ccf3a3SEmmanuel Vadot  additional information and example.
22*c9ccf3a3SEmmanuel Vadot
23*c9ccf3a3SEmmanuel Vadotproperties:
24*c9ccf3a3SEmmanuel Vadot  '#gpio-cells':
25*c9ccf3a3SEmmanuel Vadot    const: 2
26*c9ccf3a3SEmmanuel Vadot
27*c9ccf3a3SEmmanuel Vadot  gpio-controller: true
28*c9ccf3a3SEmmanuel Vadot
29*c9ccf3a3SEmmanuel Vadot  '#interrupt-cells':
30*c9ccf3a3SEmmanuel Vadot    description:
31*c9ccf3a3SEmmanuel Vadot      For GPIO banks supporting external GPIO interrupts or external wake-up
32*c9ccf3a3SEmmanuel Vadot      interrupts.
33*c9ccf3a3SEmmanuel Vadot    const: 2
34*c9ccf3a3SEmmanuel Vadot
35*c9ccf3a3SEmmanuel Vadot  interrupt-controller:
36*c9ccf3a3SEmmanuel Vadot    description:
37*c9ccf3a3SEmmanuel Vadot      For GPIO banks supporting external GPIO interrupts or external wake-up
38*c9ccf3a3SEmmanuel Vadot      interrupts.
39*c9ccf3a3SEmmanuel Vadot
40*c9ccf3a3SEmmanuel Vadot  interrupts:
41*c9ccf3a3SEmmanuel Vadot    description:
42*c9ccf3a3SEmmanuel Vadot      For GPIO banks supporting direct external wake-up interrupts (without
43*c9ccf3a3SEmmanuel Vadot      multiplexing).  Number of interrupts must match number of wake-up capable
44*c9ccf3a3SEmmanuel Vadot      pins of this bank.
45*c9ccf3a3SEmmanuel Vadot    minItems: 1
46*c9ccf3a3SEmmanuel Vadot    maxItems: 8
47*c9ccf3a3SEmmanuel Vadot
48*c9ccf3a3SEmmanuel Vadotrequired:
49*c9ccf3a3SEmmanuel Vadot  - '#gpio-cells'
50*c9ccf3a3SEmmanuel Vadot  - gpio-controller
51*c9ccf3a3SEmmanuel Vadot
52*c9ccf3a3SEmmanuel VadotadditionalProperties: false
53