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/abilis,tb10x-gpio.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 * Abilis TB10x GPIO controller
    2 
    3 Required Properties:
    4 - compatible: Should be "abilis,tb10x-gpio"
    5 - reg: Address and length of the register set for the device
    6 - gpio-controller: Marks the device node as a gpio controller.
    7 - #gpio-cells: Should be <2>. The first cell is the pin number and the
    8   second cell is used to specify optional parameters:
    9    - bit 0 specifies polarity (0 for normal, 1 for inverted).
   10 - abilis,ngpio: the number of GPIO pins this driver controls.
   11 
   12 Optional Properties:
   13 - interrupt-controller: Marks the device node as an interrupt controller.
   14 - #interrupt-cells: Should be <1>. Interrupts are triggered on both edges.
   15 - interrupts: Defines the interrupt line connecting this GPIO controller to
   16   its parent interrupt controller.
   17 
   18 GPIO ranges are specified as described in
   19 Documentation/devicetree/bindings/gpio/gpio.txt
   20 
   21 Example:
   22 
   23         gpioa: gpio@ff140000 {
   24                 compatible = "abilis,tb10x-gpio";
   25                 interrupt-controller;
   26                 #interrupt-cells = <1>;
   27                 interrupt-parent = <&tb10x_ictl>;
   28                 interrupts = <27 2>;
   29                 reg = <0xFF140000 0x1000>;
   30                 gpio-controller;
   31                 #gpio-cells = <2>;
   32                 abilis,ngpio = <3>;
   33                 gpio-ranges = <&iomux 0 0 0>;
   34                 gpio-ranges-group-names = "gpioa_pins";
   35         };

Cache object: ee7a37e19d092abef36962fea130b30f


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