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-mm-lantiq.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 Lantiq SoC External Bus memory mapped GPIO controller
    2 
    3 By attaching hardware latches to the EBU it is possible to create output
    4 only gpios. This driver configures a special memory address, which when
    5 written to outputs 16 bit to the latches.
    6 
    7 The node describing the memory mapped GPIOs needs to be a child of the node
    8 describing the "lantiq,localbus".
    9 
   10 Required properties:
   11 - compatible : Should be "lantiq,gpio-mm-lantiq"
   12 - reg : Address and length of the register set for the device
   13 - #gpio-cells : Should be two.  The first cell is the pin number and
   14   the second cell is used to specify optional parameters (currently
   15   unused).
   16 - gpio-controller : Marks the device node as a gpio controller.
   17 
   18 Optional properties:
   19 - lantiq,shadow : The default value that we shall assume as already set on the
   20   shift register cascade.
   21 
   22 Example:
   23 
   24 localbus@0 {
   25         #address-cells = <2>;
   26         #size-cells = <1>;
   27         ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
   28                 1 0 0x4000000 0x4000010>; /* addsel1 */
   29         compatible = "lantiq,localbus", "simple-bus";
   30 
   31         gpio_mm0: gpio@4000000 {
   32                 compatible = "lantiq,gpio-mm";
   33                 reg = <1 0x0 0x10>;
   34                 gpio-controller;
   35                 #gpio-cells = <2>;
   36                 lantiq,shadow = <0x77f>
   37         };
   38 }

Cache object: 9df0db2ee18a0b1577a62e0163eb8572


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