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/wd,mbl-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 Bindings for the Western Digital's MyBook Live memory-mapped GPIO controllers.
    2 
    3 The Western Digital MyBook Live has two memory-mapped GPIO controllers.
    4 Both GPIO controller only have a single 8-bit data register, where GPIO
    5 state can be read and/or written.
    6 
    7 Required properties:
    8         - compatible: should be "wd,mbl-gpio"
    9         - reg-names: must contain
   10                 "dat" - data register
   11         - reg: address + size pairs describing the GPIO register sets;
   12                 order must correspond with the order of entries in reg-names
   13         - #gpio-cells: must be set to 2. The first cell is the pin number and
   14                         the second cell is used to specify the gpio polarity:
   15                         0 = active high
   16                         1 = active low
   17         - gpio-controller: Marks the device node as a gpio controller.
   18 
   19 Optional properties:
   20         - no-output: GPIOs are read-only.
   21 
   22 Examples:
   23         gpio0: gpio0@e0000000 {
   24                 compatible = "wd,mbl-gpio";
   25                 reg-names = "dat";
   26                 reg = <0xe0000000 0x1>;
   27                 #gpio-cells = <2>;
   28                 gpio-controller;
   29         };
   30 
   31         gpio1: gpio1@e0100000 {
   32                 compatible = "wd,mbl-gpio";
   33                 reg-names = "dat";
   34                 reg = <0xe0100000 0x1>;
   35                 #gpio-cells = <2>;
   36                 gpio-controller;
   37                 no-output;
   38         };

Cache object: f56599f86635c76e11b5781312690427


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