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