The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/gpio/gpio-zynq.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 Xilinx Zynq GPIO controller Device Tree Bindings
    2 -------------------------------------------
    3 
    4 Required properties:
    5 - #gpio-cells           : Should be two
    6                           - First cell is the GPIO line number
    7                           - Second cell is used to specify optional
    8                             parameters (unused)
    9 - compatible            : Should be "xlnx,zynq-gpio-1.0" or
   10                           "xlnx,zynqmp-gpio-1.0" or "xlnx,versal-gpio-1.0
   11                           or "xlnx,pmc-gpio-1.0
   12 - clocks                : Clock specifier (see clock bindings for details)
   13 - gpio-controller       : Marks the device node as a GPIO controller.
   14 - interrupts            : Interrupt specifier (see interrupt bindings for
   15                           details)
   16 - interrupt-controller  : Marks the device node as an interrupt controller.
   17 - #interrupt-cells      : Should be 2.  The first cell is the GPIO number.
   18                           The second cell bits[3:0] is used to specify trigger type and level flags:
   19                               1 = low-to-high edge triggered.
   20                               2 = high-to-low edge triggered.
   21                               4 = active high level-sensitive.
   22                               8 = active low level-sensitive.
   23 - reg                   : Address and length of the register set for the device
   24 
   25 Example:
   26         gpio@e000a000 {
   27                 #gpio-cells = <2>;
   28                 compatible = "xlnx,zynq-gpio-1.0";
   29                 clocks = <&clkc 42>;
   30                 gpio-controller;
   31                 interrupt-parent = <&intc>;
   32                 interrupts = <0 20 4>;
   33                 interrupt-controller;
   34                 #interrupt-cells = <2>;
   35                 reg = <0xe000a000 0x1000>;
   36         };

Cache object: 85bc485e384b13c56203976e048e0980


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.