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-omap.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 OMAP GPIO controller bindings
    2 
    3 Required properties:
    4 - compatible:
    5   - "ti,omap2-gpio" for OMAP2 controllers
    6   - "ti,omap3-gpio" for OMAP3 controllers
    7   - "ti,omap4-gpio" for OMAP4 controllers
    8 - reg : Physical base address of the controller and length of memory mapped
    9   region.
   10 - gpio-controller : Marks the device node as a GPIO controller.
   11 - #gpio-cells : Should be two.
   12   - first cell is the pin number
   13   - second cell is used to specify optional parameters (unused)
   14 - interrupt-controller: Mark the device node as an interrupt controller.
   15 - #interrupt-cells : Should be 2.
   16   The first cell is the GPIO number.
   17   The second cell is used to specify flags:
   18     bits[3:0] 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 - interrupts : The interrupt the controller is rising as output when an
   24   interrupt occures
   25 
   26 OMAP specific properties:
   27 - ti,hwmods:            Name of the hwmod associated to the GPIO:
   28                         "gpio<X>", <X> being the 1-based instance number
   29                         from the HW spec.
   30 - ti,gpio-always-on:    Indicates if a GPIO bank is always powered and
   31                         so will never lose its logic state.
   32 
   33 
   34 Example:
   35 
   36 gpio0: gpio@44e07000 {
   37     compatible = "ti,omap4-gpio";
   38     reg = <0x44e07000 0x1000>;
   39     ti,hwmods = "gpio1";
   40     gpio-controller;
   41     #gpio-cells = <2>;
   42     interrupt-controller;
   43     #interrupt-cells = <2>;
   44     interrupts = <96>;
   45 };

Cache object: 3ac801d796f506378fcfcb0531301759


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