1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/gpio/gpio-zynq.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Xilinx Zynq GPIO controller Device Tree Bindings 8 9maintainers: 10 - Michal Simek <michal.simek@xilinx.com> 11 12properties: 13 compatible: 14 enum: 15 - xlnx,zynq-gpio-1.0 16 - xlnx,zynqmp-gpio-1.0 17 - xlnx,versal-gpio-1.0 18 - xlnx,pmc-gpio-1.0 19 20 reg: 21 maxItems: 1 22 23 "#gpio-cells": 24 const: 2 25 26 interrupts: 27 maxItems: 1 28 29 gpio-controller: true 30 31 interrupt-controller: true 32 33 "#interrupt-cells": 34 const: 2 35 36 clocks: 37 maxItems: 1 38 39required: 40 - compatible 41 - reg 42 - "#gpio-cells" 43 - interrupts 44 - gpio-controller 45 - interrupt-controller 46 - "#interrupt-cells" 47 - clocks 48 49additionalProperties: false 50 51examples: 52 - | 53 gpio@e000a000 { 54 #gpio-cells = <2>; 55 compatible = "xlnx,zynq-gpio-1.0"; 56 clocks = <&clkc 42>; 57 gpio-controller; 58 interrupt-parent = <&intc>; 59 interrupts = <0 20 4>; 60 interrupt-controller; 61 #interrupt-cells = <2>; 62 reg = <0xe000a000 0x1000>; 63 }; 64