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-vf610.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 * Freescale VF610 PORT/GPIO module
    2 
    3 The Freescale PORT/GPIO modules are two adjacent modules providing GPIO
    4 functionality. Each pair serves 32 GPIOs. The VF610 has 5 instances of
    5 each, and each PORT module has its own interrupt.
    6 
    7 Required properties for GPIO node:
    8 - compatible : Should be "fsl,<soc>-gpio", below is supported list:
    9                "fsl,vf610-gpio"
   10                "fsl,imx7ulp-gpio"
   11 - reg : The first reg tuple represents the PORT module, the second tuple
   12   the GPIO module.
   13 - interrupts : Should be the port interrupt shared by all 32 pins.
   14 - gpio-controller : Marks the device node as a gpio controller.
   15 - #gpio-cells : Should be two. The first cell is the pin number and
   16   the second cell is used to specify the gpio polarity:
   17       0 = active high
   18       1 = active low
   19 - interrupt-controller: Marks the device node as an interrupt controller.
   20 - #interrupt-cells : Should be 2.  The first cell is the GPIO number.
   21   The second cell bits[3:0] is used to specify trigger type and level flags:
   22       1 = low-to-high edge triggered.
   23       2 = high-to-low edge triggered.
   24       4 = active high level-sensitive.
   25       8 = active low level-sensitive.
   26 
   27 Optional properties:
   28 -clocks:        Must contain an entry for each entry in clock-names.
   29                 See common clock-bindings.txt for details.
   30 -clock-names:   A list of clock names. For imx7ulp, it must contain
   31                 "gpio", "port".
   32 
   33 Note: Each GPIO port should have an alias correctly numbered in "aliases"
   34 node.
   35 
   36 Examples:
   37 
   38 aliases {
   39         gpio0 = &gpio1;
   40         gpio1 = &gpio2;
   41 };
   42 
   43 gpio1: gpio@40049000 {
   44         compatible = "fsl,vf610-gpio";
   45         reg = <0x40049000 0x1000 0x400ff000 0x40>;
   46         interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
   47         gpio-controller;
   48         #gpio-cells = <2>;
   49         interrupt-controller;
   50         #interrupt-cells = <2>;
   51         gpio-ranges = <&iomuxc 0 0 32>;
   52 };
   53 
   54 gpio2: gpio@4004a000 {
   55         compatible = "fsl,vf610-gpio";
   56         reg = <0x4004a000 0x1000 0x400ff040 0x40>;
   57         interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>;
   58         gpio-controller;
   59         #gpio-cells = <2>;
   60         interrupt-controller;
   61         #interrupt-cells = <2>;
   62         gpio-ranges = <&iomuxc 0 32 32>;
   63 };

Cache object: f30316d688f914e5575ba0bc4f06b09e


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