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-aspeed.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 Aspeed GPIO controller Device Tree Bindings
    2 -------------------------------------------
    3 
    4 Required properties:
    5 - compatible            : Either "aspeed,ast2400-gpio", "aspeed,ast2500-gpio",
    6                                         or "aspeed,ast2600-gpio".
    7 
    8 - #gpio-cells           : Should be two
    9                           - First cell is the GPIO line number
   10                           - Second cell is used to specify optional
   11                             parameters (unused)
   12 
   13 - reg                   : Address and length of the register set for the device
   14 - gpio-controller       : Marks the device node as a GPIO controller.
   15 - interrupts            : Interrupt specifier (see interrupt bindings for
   16                           details)
   17 - interrupt-controller  : Mark the GPIO controller as an interrupt-controller
   18 
   19 Optional properties:
   20 
   21 - clocks                : A phandle to the clock to use for debounce timings
   22 - ngpios                : Number of GPIOs controlled by this controller. Should be set
   23                                   when there are multiple GPIO controllers on a SoC (ast2600).
   24 
   25 The gpio and interrupt properties are further described in their respective
   26 bindings documentation:
   27 
   28 - Documentation/devicetree/bindings/gpio/gpio.txt
   29 - Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
   30 
   31   Example:
   32         gpio@1e780000 {
   33                 #gpio-cells = <2>;
   34                 compatible = "aspeed,ast2400-gpio";
   35                 gpio-controller;
   36                 interrupts = <20>;
   37                 reg = <0x1e780000 0x1000>;
   38                 interrupt-controller;
   39         };

Cache object: 62b7e7eff4aa19ba6b0b8de6d649cad3


[ 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.