18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 28cc087a1SEmmanuel Vadot%YAML 1.2 38cc087a1SEmmanuel Vadot--- 4*aa1a8ff2SEmmanuel Vadot$id: http://devicetree.org/schemas/gpio/xlnx,zynqmp-gpio-modepin.yaml# 5*aa1a8ff2SEmmanuel 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: 15f126890aSEmmanuel Vadot - Piyush Mehta <piyush.mehta@amd.com> 168cc087a1SEmmanuel Vadot 178cc087a1SEmmanuel Vadotproperties: 188cc087a1SEmmanuel Vadot compatible: 198cc087a1SEmmanuel Vadot const: xlnx,zynqmp-gpio-modepin 208cc087a1SEmmanuel Vadot 218cc087a1SEmmanuel Vadot gpio-controller: true 228cc087a1SEmmanuel Vadot 238cc087a1SEmmanuel Vadot "#gpio-cells": 248cc087a1SEmmanuel Vadot const: 2 258cc087a1SEmmanuel Vadot 268cc087a1SEmmanuel Vadotrequired: 278cc087a1SEmmanuel Vadot - compatible 288cc087a1SEmmanuel Vadot - gpio-controller 298cc087a1SEmmanuel Vadot - "#gpio-cells" 308cc087a1SEmmanuel Vadot 318cc087a1SEmmanuel VadotadditionalProperties: false 328cc087a1SEmmanuel Vadot 338cc087a1SEmmanuel Vadotexamples: 348cc087a1SEmmanuel Vadot - | 358cc087a1SEmmanuel Vadot zynqmp-firmware { 368cc087a1SEmmanuel Vadot gpio { 378cc087a1SEmmanuel Vadot compatible = "xlnx,zynqmp-gpio-modepin"; 388cc087a1SEmmanuel Vadot gpio-controller; 398cc087a1SEmmanuel Vadot #gpio-cells = <2>; 408cc087a1SEmmanuel Vadot }; 418cc087a1SEmmanuel Vadot }; 428cc087a1SEmmanuel Vadot 438cc087a1SEmmanuel Vadot... 44