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/dts/bindings-mpp.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 $FreeBSD: releng/12.0/sys/dts/bindings-mpp.txt 325826 2017-11-14 21:03:57Z imp $
    2 
    3 * Multi purpose pin (MPP) configuration.
    4 
    5 Required properties:
    6 
    7 - pin-map : array of pin configurations. Each pin is defined by 2 cells,
    8   respectively: <pin> <function>. Pins not specified in the pin-map property
    9   are assumed to have default value of <function> = 0, which means GPIO.
   10 
   11   - pin : pin number.
   12 
   13   - function : function ID of the pin according to the assignment tables in
   14     User Manual. Each pin can have many possible functions depending on the
   15     MPP unit incarnation.
   16 
   17 - pin-count: number of the physical MPP connections on the SOC (depending on
   18   the model it can be 24-50, or possibly else in future devices).
   19 
   20 Example:
   21 
   22         mpp@10000 {
   23                 #pin-cells = <2>;
   24                 compatible = "mrvl,mpp";
   25                 reg = <0x10000 0x34>;
   26                 pin-count= <50>;
   27                 pin-map = <
   28                         0  1            /* MPP[0]:  NF_IO[2] */
   29                         1  1            /* MPP[1]:  NF_IO[3] */
   30                         2  1            /* MPP[2]:  NF_IO[4] */
   31                         3  1            /* MPP[3]:  NF_IO[5] */
   32                         4  1            /* MPP[4]:  NF_IO[6] */
   33                         5  1            /* MPP[5]:  NF_IO[7] */
   34                         6  1            /* MPP[6]:  SYSRST_OUTn */
   35                         7  2            /* MPP[7]:  SPI_SCn */
   36                         8  1            /* MPP[8]:  TW_SDA */
   37                         9  1            /* MPP[9]:  TW_SCK */
   38                         10 3            /* MPP[10]: UA0_TXD */
   39                         11 3            /* MPP[11]: UA0_RXD */
   40                         12 1            /* MPP[12]: SD_CLK */
   41                         13 1            /* MPP[13]: SD_CMD */
   42                         14 1            /* MPP[14]: SD_D[0] */
   43                         15 1            /* MPP[15]: SD_D[1] */
   44                         16 1            /* MPP[16]: SD_D[2] */
   45                         17 1            /* MPP[17]: SD_D[3] */
   46                         18 1            /* MPP[18]: NF_IO[0] */
   47                         19 1            /* MPP[19]: NF_IO[1] */
   48                         20 5            /* MPP[20]: SATA1_AC */
   49                         21 5 >;         /* MPP[21]: SATA0_AC */
   50         };

Cache object: e6a582e65f8ee6054b2a91ef802a5506


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