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 39 power-domains: 40 maxItems: 1 41 42required: 43 - compatible 44 - reg 45 - "#gpio-cells" 46 - interrupts 47 - gpio-controller 48 - interrupt-controller 49 - "#interrupt-cells" 50 - clocks 51 52additionalProperties: false 53 54examples: 55 - | 56 gpio@e000a000 { 57 #gpio-cells = <2>; 58 compatible = "xlnx,zynq-gpio-1.0"; 59 clocks = <&clkc 42>; 60 gpio-controller; 61 interrupt-parent = <&intc>; 62 interrupts = <0 20 4>; 63 interrupt-controller; 64 #interrupt-cells = <2>; 65 reg = <0xe000a000 0x1000>; 66 }; 67