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/raspberrypi,firmware-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 Raspberry Pi GPIO expander
    2 
    3 The Raspberry Pi 3 GPIO expander is controlled by the VC4 firmware. The
    4 firmware exposes a mailbox interface that allows the ARM core to control the
    5 GPIO lines on the expander.
    6 
    7 The Raspberry Pi GPIO expander node must be a child node of the Raspberry Pi
    8 firmware node.
    9 
   10 Required properties:
   11 
   12 - compatible : Should be "raspberrypi,firmware-gpio"
   13 - gpio-controller : Marks the device node as a gpio controller
   14 - #gpio-cells : Should be two.  The first cell is the pin number, and
   15   the second cell is used to specify the gpio polarity:
   16   0 = active high
   17   1 = active low
   18 
   19 Example:
   20 
   21 firmware: firmware-rpi {
   22         compatible = "raspberrypi,bcm2835-firmware";
   23         mboxes = <&mailbox>;
   24 
   25         expgpio: gpio {
   26                  compatible = "raspberrypi,firmware-gpio";
   27                  gpio-controller;
   28                  #gpio-cells = <2>;
   29          };
   30 };

Cache object: a0b8f50fd3bd6bdca305c6cf764cfbb8


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