1*8cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*8cc087a1SEmmanuel Vadot%YAML 1.2 3*8cc087a1SEmmanuel Vadot--- 4*8cc087a1SEmmanuel Vadot$id: "http://devicetree.org/schemas/gpio/xlnx,zynqmp-gpio-modepin.yaml#" 5*8cc087a1SEmmanuel Vadot$schema: "http://devicetree.org/meta-schemas/core.yaml#" 6*8cc087a1SEmmanuel Vadot 7*8cc087a1SEmmanuel Vadottitle: ZynqMP Mode Pin GPIO controller 8*8cc087a1SEmmanuel Vadot 9*8cc087a1SEmmanuel Vadotdescription: 10*8cc087a1SEmmanuel Vadot PS_MODE is 4-bits boot mode pins sampled on POR deassertion. Mode Pin 11*8cc087a1SEmmanuel Vadot GPIO controller with configurable from numbers of pins (from 0 to 3 per 12*8cc087a1SEmmanuel Vadot PS_MODE). Every pin can be configured as input/output. 13*8cc087a1SEmmanuel Vadot 14*8cc087a1SEmmanuel Vadotmaintainers: 15*8cc087a1SEmmanuel Vadot - Piyush Mehta <piyush.mehta@xilinx.com> 16*8cc087a1SEmmanuel Vadot 17*8cc087a1SEmmanuel Vadotproperties: 18*8cc087a1SEmmanuel Vadot compatible: 19*8cc087a1SEmmanuel Vadot const: xlnx,zynqmp-gpio-modepin 20*8cc087a1SEmmanuel Vadot 21*8cc087a1SEmmanuel Vadot gpio-controller: true 22*8cc087a1SEmmanuel Vadot 23*8cc087a1SEmmanuel Vadot "#gpio-cells": 24*8cc087a1SEmmanuel Vadot const: 2 25*8cc087a1SEmmanuel Vadot 26*8cc087a1SEmmanuel Vadotrequired: 27*8cc087a1SEmmanuel Vadot - compatible 28*8cc087a1SEmmanuel Vadot - gpio-controller 29*8cc087a1SEmmanuel Vadot - "#gpio-cells" 30*8cc087a1SEmmanuel Vadot 31*8cc087a1SEmmanuel VadotadditionalProperties: false 32*8cc087a1SEmmanuel Vadot 33*8cc087a1SEmmanuel Vadotexamples: 34*8cc087a1SEmmanuel Vadot - | 35*8cc087a1SEmmanuel Vadot zynqmp-firmware { 36*8cc087a1SEmmanuel Vadot gpio { 37*8cc087a1SEmmanuel Vadot compatible = "xlnx,zynqmp-gpio-modepin"; 38*8cc087a1SEmmanuel Vadot gpio-controller; 39*8cc087a1SEmmanuel Vadot #gpio-cells = <2>; 40*8cc087a1SEmmanuel Vadot }; 41*8cc087a1SEmmanuel Vadot }; 42*8cc087a1SEmmanuel Vadot 43*8cc087a1SEmmanuel Vadot... 44