1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/gpio/xlnx,zynqmp-gpio-modepin.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: ZynqMP Mode Pin GPIO controller
8
9description:
10  PS_MODE is 4-bits boot mode pins sampled on POR deassertion. Mode Pin
11  GPIO controller with configurable from numbers of pins (from 0 to 3 per
12  PS_MODE). Every pin can be configured as input/output.
13
14maintainers:
15  - Mubin Sayyed <mubin.sayyed@amd.com>
16  - Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
17
18properties:
19  compatible:
20    const: xlnx,zynqmp-gpio-modepin
21
22  gpio-controller: true
23
24  "#gpio-cells":
25    const: 2
26
27  label: true
28
29required:
30  - compatible
31  - gpio-controller
32  - "#gpio-cells"
33
34additionalProperties: false
35
36examples:
37  - |
38    zynqmp-firmware {
39        gpio {
40            compatible = "xlnx,zynqmp-gpio-modepin";
41            gpio-controller;
42            #gpio-cells = <2>;
43            label = "modepin";
44        };
45    };
46
47...
48