~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/gpio/gpio-zynq.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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 
  7 title: Xilinx Zynq GPIO controller
  8 
  9 maintainers:
 10   - Michal Simek <michal.simek@amd.com>
 11 
 12 properties:
 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   gpio-line-names:
 32     description: strings describing the names of each gpio line
 33     minItems: 58
 34     maxItems: 174
 35 
 36   interrupt-controller: true
 37 
 38   "#interrupt-cells":
 39     const: 2
 40 
 41   clocks:
 42     maxItems: 1
 43 
 44   power-domains:
 45     maxItems: 1
 46 
 47 allOf:
 48   - if:
 49       properties:
 50         compatible:
 51           enum:
 52             - xlnx,zynqmp-gpio-1.0
 53     then:
 54       properties:
 55         gpio-line-names:
 56           minItems: 174
 57           maxItems: 174
 58 
 59   - if:
 60       properties:
 61         compatible:
 62           enum:
 63             - xlnx,zynq-gpio-1.0
 64     then:
 65       properties:
 66         gpio-line-names:
 67           minItems: 118
 68           maxItems: 118
 69 
 70   - if:
 71       properties:
 72         compatible:
 73           enum:
 74             - xlnx,versal-gpio-1.0
 75     then:
 76       properties:
 77         gpio-line-names:
 78           minItems: 58
 79           maxItems: 58
 80 
 81   - if:
 82       properties:
 83         compatible:
 84           enum:
 85             - xlnx,pmc-gpio-1.0
 86     then:
 87       properties:
 88         gpio-line-names:
 89           minItems: 116
 90           maxItems: 116
 91 
 92 required:
 93   - compatible
 94   - reg
 95   - "#gpio-cells"
 96   - interrupts
 97   - gpio-controller
 98   - interrupt-controller
 99   - "#interrupt-cells"
100   - clocks
101 
102 additionalProperties: false
103 
104 examples:
105   - |
106     gpio@e000a000 {
107       #gpio-cells = <2>;
108       compatible = "xlnx,zynq-gpio-1.0";
109       clocks = <&clkc 42>;
110       gpio-controller;
111       interrupt-parent = <&intc>;
112       interrupts = <0 20 4>;
113       interrupt-controller;
114       #interrupt-cells = <2>;
115       reg = <0xe000a000 0x1000>;
116     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php