xref: /freebsd/sys/contrib/device-tree/Bindings/gpio/xlnx,zynqmp-gpio-modepin.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28cc087a1SEmmanuel Vadot%YAML 1.2
38cc087a1SEmmanuel Vadot---
4aa1a8ff2SEmmanuel Vadot$id: http://devicetree.org/schemas/gpio/xlnx,zynqmp-gpio-modepin.yaml#
5aa1a8ff2SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68cc087a1SEmmanuel Vadot
78cc087a1SEmmanuel Vadottitle: ZynqMP Mode Pin GPIO controller
88cc087a1SEmmanuel Vadot
98cc087a1SEmmanuel Vadotdescription:
108cc087a1SEmmanuel Vadot  PS_MODE is 4-bits boot mode pins sampled on POR deassertion. Mode Pin
118cc087a1SEmmanuel Vadot  GPIO controller with configurable from numbers of pins (from 0 to 3 per
128cc087a1SEmmanuel Vadot  PS_MODE). Every pin can be configured as input/output.
138cc087a1SEmmanuel Vadot
148cc087a1SEmmanuel Vadotmaintainers:
15*8d13bc63SEmmanuel Vadot  - Mubin Sayyed <mubin.sayyed@amd.com>
16*8d13bc63SEmmanuel Vadot  - Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
178cc087a1SEmmanuel Vadot
188cc087a1SEmmanuel Vadotproperties:
198cc087a1SEmmanuel Vadot  compatible:
208cc087a1SEmmanuel Vadot    const: xlnx,zynqmp-gpio-modepin
218cc087a1SEmmanuel Vadot
228cc087a1SEmmanuel Vadot  gpio-controller: true
238cc087a1SEmmanuel Vadot
248cc087a1SEmmanuel Vadot  "#gpio-cells":
258cc087a1SEmmanuel Vadot    const: 2
268cc087a1SEmmanuel Vadot
27*8d13bc63SEmmanuel Vadot  label: true
28*8d13bc63SEmmanuel Vadot
298cc087a1SEmmanuel Vadotrequired:
308cc087a1SEmmanuel Vadot  - compatible
318cc087a1SEmmanuel Vadot  - gpio-controller
328cc087a1SEmmanuel Vadot  - "#gpio-cells"
338cc087a1SEmmanuel Vadot
348cc087a1SEmmanuel VadotadditionalProperties: false
358cc087a1SEmmanuel Vadot
368cc087a1SEmmanuel Vadotexamples:
378cc087a1SEmmanuel Vadot  - |
388cc087a1SEmmanuel Vadot    zynqmp-firmware {
398cc087a1SEmmanuel Vadot        gpio {
408cc087a1SEmmanuel Vadot            compatible = "xlnx,zynqmp-gpio-modepin";
418cc087a1SEmmanuel Vadot            gpio-controller;
428cc087a1SEmmanuel Vadot            #gpio-cells = <2>;
43*8d13bc63SEmmanuel Vadot            label = "modepin";
448cc087a1SEmmanuel Vadot        };
458cc087a1SEmmanuel Vadot    };
468cc087a1SEmmanuel Vadot
478cc087a1SEmmanuel Vadot...
48