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/ibm,ppc4xx-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 * IBM/AMCC/APM GPIO Controller for PowerPC 4XX series and compatible SoCs
    2 
    3 All GPIOs are pin-shared with other functions. DCRs control whether a
    4 particular pin that has GPIO capabilities acts as a GPIO or is used for
    5 another purpose. GPIO outputs are separately programmable to emulate
    6 an open-drain driver.
    7 
    8 Required properties:
    9         - compatible: must be "ibm,ppc4xx-gpio"
   10         - reg: address and length of the register set for the device
   11         - #gpio-cells: must be set to 2. The first cell is the pin number
   12                 and the second cell is used to specify the gpio polarity:
   13                 0 = active high
   14                 1 = active low
   15         - gpio-controller: marks the device node as a gpio controller.
   16 
   17 Example:
   18 
   19 GPIO0: gpio@ef600b00 {
   20         compatible = "ibm,ppc4xx-gpio";
   21         reg = <0xef600b00 0x00000048>;
   22         #gpio-cells = <2>;
   23         gpio-controller;
   24 };

Cache object: 54d38333174286429d9b947d37b35e49


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