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-ath79.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 Binding for Qualcomm Atheros AR7xxx/AR9xxx GPIO controller
    2 
    3 Required properties:
    4 - compatible: has to be "qca,<soctype>-gpio" and one of the following
    5   fallbacks:
    6   - "qca,ar7100-gpio"
    7   - "qca,ar9340-gpio"
    8 - reg: Base address and size of the controllers memory area
    9 - gpio-controller : Marks the device node as a GPIO controller.
   10 - #gpio-cells : Should be two. The first cell is the pin number and the
   11   second cell is used to specify optional parameters.
   12 - ngpios: Should be set to the number of GPIOs available on the SoC.
   13 
   14 Optional properties:
   15 - interrupts: Interrupt specifier for the controllers interrupt.
   16 - interrupt-controller : Identifies the node as an interrupt controller
   17 - #interrupt-cells : Specifies the number of cells needed to encode interrupt
   18                      source, should be 2
   19 
   20 Please refer to interrupts.txt in this directory for details of the common
   21 Interrupt Controllers bindings used by client devices.
   22 
   23 Example:
   24 
   25         gpio@18040000 {
   26                 compatible = "qca,ar9132-gpio", "qca,ar7100-gpio";
   27                 reg = <0x18040000 0x30>;
   28                 interrupts = <2>;
   29 
   30                 ngpios = <22>;
   31 
   32                 gpio-controller;
   33                 #gpio-cells = <2>;
   34 
   35                 interrupt-controller;
   36                 #interrupt-cells = <2>;
   37         };

Cache object: 0f54f5c7c22ab906e5b48f5220f1ce93


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