Changes between Initial Version and Version 1 of expansion/mezzanine


Ignore:
Timestamp:
10/22/2017 05:28:45 AM (7 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • expansion/mezzanine

    v1 v1  
     1[[PageOutline]]
     2
     3'''For USB, GPIO, MicroSD, SIM, Analog, DIO expansion modules, please visit [wiki:minipciexpressmodules here]'''
     4
     5= Ventana Expansion Modules =
     6Expansion modules for adding a choice of Mini-PCIe sockets, Mini-PCI sockets, Ethernet ports and Fiber SFP pages to any Gateworks Ventana Single Board Computer. To see a complete list of expansion modules, see our main product selection guide here: [http://www.gateworks.com/product#ventanaexpansion]
     7
     8 * This wiki page is to provide more information about the implementation and usage the of the Ventana Expansion Modules
     9
     10
     11== Connector Information ==
     12 * '''To use a Ventana Expansion module, the base board must have the expansion connector, which is only placed on specific models.'''
     13 * ''' This expansion connector replaces one of the normal Mini-PCIe connectors, and thus one Mini-PCIe site is given up for the expansion module '''
     14
     15[[Image(GW16083connectionyellow.png)]]
     16  * '''(Above) Ventana GW5100 Stacked w/GW16083 Expansion Module '''
     17
     18[[Image(gw5100expyellow.png)]]
     19  * '''(Above) Ventana GW5100 Shown With Expansion Connector - Note standard Mini-PCIe connector is replaced with the expansion connector'''
     20
     21[[Image(gw5300expyellow.png)]]
     22  * '''(Above) Ventana GW5300 Shown With Expansion Connector - Note standard Mini-PCIe connector is replaced with the expansion connector '''
     23
     24
     25== Baseboard Models ==
     26Specific Ventana baseboards have a vertical board-to-board connector on their bottom-right miniPCIe socket allowing connection to an expansion mezzanine.
     27
     28The following Ventana baseboards support expansion mezzanines:
     29 * GW51xx:
     30  * GW5102 - Special order
     31  * GW5103 - Special order, check w/factory for availability
     32
     33 * GW52xx:
     34  * GW5202 - Special order
     35  * GW5203 - Special order, check w/factory for availability
     36
     37 * GW53xx:
     38  * GW5302 - Special order
     39  * GW5303 - Special order, check w/factory for availability
     40  * GW5312 - Special order
     41  * GW5313 - Special order
     42
     43 * GW54xx:
     44  * GW5402 - Special order
     45  * GW5403 - Special order, check w/factory for availability
     46  * GW5404 - '''Standard Stocking Model'''
     47  * GW5412 - Special order
     48  * GW5413 - Special order
     49
     50
     51== Stacking Information ==
     52The GW16081 can be stacked multiple times upon itself if using a special variation of the GW16081 which is the GW16081-SP282.
     53
     54The GW16082 and GW16083 cannot be stacked on top of itself but can be stacked on top of a GW16081-SP282 which has an expansion port.
     55
     56
     57[=#gw16081]
     58== GW16081 miniPCI-express expansion mezzanine ==
     59The GW16081 miniPCI-express expansion mezzanine adds the following capabilities to a Ventana baseboard that has a mezzanine connector:
     60 * 140x100x13mm (5.5x3.9) form factor
     61 * Generic Ventana Mounting Hole Pattern (standoff locations to mount to supported baseboards)
     62 * 7x miniPCIe sockets (3 top, 4 bottom)
     63 * 32Kb I2C serial EEPROM (24LC32AT)
     64 * USB switch providing USB signaling to the bottom 4x miniPCIe sockets (for USB based miniPCIe form-factor cards such as bluetooth HCI's and cellular modems)
     65 * GW16081 is powered by baseboard. Amount of power provided is dependent on baseboards power supply. Please consult baseboard user manual/datasheet.
     66 *  If desired a separate power supply can also power the GW16081 via a barrel jack input that accepts 8-60VDC. This can provide up 30W to the miniPCIe sockets on the GW16081.
     67
     68Please refer to the [wiki:ventana/PCIe Ventana PCI/PCIe support] for important information about PCI device resource allocation for the IMX6 processor. Do not assume that 7x additional miniPCIe sockets means that you can add 7x additional PCI devices.
     69
     70An ordering option exists for a version of the GW16081 which has an expansion riser to support connection to an additional Ventana Expansion Mezzanine. Please contact sales@gateworks.com if you are interested in this option.
     71
     72References:
     73 * [http://www.gateworks.com/product/item/ventana-gw16081-pcie-mezzanine Product Brief / Datasheet / etc]
     74
     75
     76=== GW16081 Software support ===
     77No software support is needed for the GW16081
     78
     79
     80[=#gw16082]
     81== GW16082 miniPCI expansion mezzanine ==
     82The GW16082 miniPCI expansion mezzanine adds the following capabilities to a Ventana baseboard that has a mezzanine connector:
     83 * 140x100x18mm (5.5x3.9) form factor
     84 * Generic Ventana Mounting Hole Pattern (standoff locations to mount to supported baseboards)
     85 * 4x miniPCI sockets (2 top, 2 bottom) via a PCIe to PCI bridge
     86 * 32Kb I2C serial EEPROM (24LC32AT)
     87 * USB switch providing USB signaling to all 4 miniPCI sockets (for USB based miniPCI form-factor cards or miniPCI to miniPCIe adapters to support USB based devices such as bluetooth HCI's and cellular modems)
     88 * Additional 8-60VDC input to provide 30W to the miniPCI sockets (not required if baseboard provides sufficient power for user needs).
     89  * If desired this power supply can also power the attached baseboard via a separate power connector cable.
     90
     91Please refer to the [wiki:ventana/PCIe Ventana PCI/PCIe support] for important information about PCI device resource allocation for the IMX6 processor. Do not assume that 4x additional miniPCI sockets means that you can add 4x additional PCI devices.
     92
     93References:
     94 * [http://www.gateworks.com/product/item/ventana-gw16082-mezzanine GW16082 Product Brief / Datasheet / etc]
     95
     96
     97=== GW16082 Software support ===
     98Support for the GW16082 exists for the following:
     99 * [wiki:OpenWrt Gateworks OpenWrt BSP]
     100 * [wiki:Android Gateworks Android BSP]
     101 * [wiki:Yocto Gateworks Yocto BSP]
     102 * Mainline Linux 3.18+
     103
     104For Linux kernel versions 3.18 and beyond (ie OpenWrt 16.02 BSP using the 4.4 kernel) you must have the following:
     105 * latest Gateworks bootloader containing a [https://github.com/Gateworks/u-boot-imx6/commit/b409f63fda49f653f5e3416905462457332932cb  device-tree fixup] that adds a proper interrupt-map for the bridge on the GW16082
     106 * PCI enabled in the bootloader (in order for the above fixup to be allowed to work):
     107{{{
     108setenv pcidisable; saveenv
     109}}}
     110  - Note that by default PCI is disabled in the Ventana bootloaders.
     111
     112
     113[=#gw16083]
     114== GW16083 Ethernet expansion mezzanine ==
     115The GW16083 Ethernet expansion mezzanine adds the following capabilities to a Ventana baseboard that has a mezzanine connector:
     116 * 140x100x25mm (5.5x3.9x1.0in) form factor
     117 * Generic Ventana Mounting Hole Pattern (standoff locations to mount to supported baseboards)
     118 * 7-port Gigabit Ethernet Switch (Marvell LinkStreet 88E6176)
     119  * supports Energy Efficient Ethernet (EEE)
     120  * baseboard uses one port via an onboard Intel i210 PCIe Gigabit Ethernet device
     121  * 4x RJ45 Copper ports
     122  * 2x RJ45 auto-selectable Copper or SFP Module ports
     123   * SFP module supports Gigabit modules (to interconnect to Fiber networks for example)
     124 * 32Kb I2C serial EEPROM (24LC32AT)
     125 * Power over Ethernet (PoE) support via optional PoE module [wiki:ventana/expansion#GW16104PoEModule GW16104]
     126
     127Switch Details:
     128 * 1 port of the Marvell switch is connected to an Intel i210 MAC which hangs off the baseboard PCI bus
     129 * 4 ports of the Marvell switch use internal PHY's supporting Gigabit Copper via RJ45 jacks
     130 * 2 ports of the Marvell switch use external Marvell PHY's that support Gigabit Copper or Gigabit SFP modules (10/100 not supported on these ports).
     131
     132SFP Details:
     133 * A software driver is required on the host to detect insertion and removal of SFP modules, query the capabilities of the SFP via its MSA, verify compatibility and configure the PHY for compatibility. Any SFP module that advertises
     134 * Validated with:
     135  * Addon MGBSX1-AO (1000BASE-SX Duplex 850NM / 550M LC)
     136  * Addon EX-SFP-1GE-T-AO (1000BaseT Copper)
     137
     138References:
     139 * [http://www.gateworks.com/product/item/ventana-gw16083-mezzanine GW16083 Product Brief / Datasheet / etc]
     140
     141
     142=== GW16083 Port mapping ===
     143The GW16083 uses an Intel i210 MAC (Linux igb driver) connected to a Marvell MV88E6176 6-port switch. The physical ports on the MV88E6176 are used as such:
     144
     145||= Connector =||= Silkscreen =||= Port =||= DSA Common Name =||
     146|| J10         || Ethernet4    || 0      || lan4              ||
     147|| J9          || Ethernet3    || 1      || lan3              ||
     148|| J8          || Ethernet2    || 2      || lan2              ||
     149|| J7          || Ethernet1    || 3      || lan1              ||
     150|| -           || i210 (cpu)   || 4      || --                ||
     151|| J3          || Ethernet5    || 5      || lan5              ||
     152|| J2          || Ethernet6    || 6      || lan6              ||
     153
     154
     155=== GW16083 Power support ===
     156The GW16083 gets its power from the baseboard through the expansion connector.
     157
     158A barrel jack also exists on the GW16083.  This barrel jack is only used when the optional POE module is used to output power through the ethernet ports.
     159
     160
     161=== GW16083 Software support ===
     162On power-up with no software support the GW16083 behaves as a simple unmanaged network switch for ports 1-4 (RJ45 copper) and the baseboard CPU upstream port.
     163
     164To use ports 5-6 you need to have software drivers which are available for:
     165 * [wiki:OpenWrt Gateworks OpenWrt BSP]
     166 * [wiki:Android Gateworks Android BSP]
     167 * [wiki:Yocto Gateworks Yocto BSP]
     168 * Mainline Linux via patches:
     169  * [https://github.com/Gateworks/linux-imx6/commit/aacf6137bdeded2acb1f6638c14d98ed19ec1461 net: igb: add i210/i211 support for phy read/write]
     170  * [https://github.com/Gateworks/linux-imx6/commit/f2b99363643e1a7880fab8da4c56c88ccaa546e9 net: igb: add phy read/write functions that accept phy addr]
     171  * [https://github.com/Gateworks/linux-imx6/commit/9bf1c636122d5dd458c48b3e3c2c2f163e3354e7 net: igb: register mii_bus for SerDes w/ external phy]
     172  * [https://github.com/Gateworks/linux-imx6/commit/35a41e4125a65a63b1547801571fbfbe80b92bed phy: add driver for GW16083 Ethernet Expansion Mezzanine] '''(main driver - see here for implementation details)'''
     173  * [https://github.com/Gateworks/linux-imx6/commit/02623c86a751bf8c5567d18de440564558212ab7 ARM: imx: ventana: added GW16083 to device-tree]
     174  * These patches will eventually be submitted to mainline linux for consideration.
     175
     176The Linux GW16083 driver software support provides the following:
     177 * Enable ports 5-6
     178 * register a phy driver off the i210 MDIO bus with a 1 second polling interval
     179 * identify SFP module insertion event, detect module capabilities from MSA, ensure module compatibility, and configure switch port
     180 * register a DSA driver to present ports as physical network interfaces (lan1-6)
     181
     182The Gateworks U-Boot bootloader does not support the GW16083 meaning:
     183 * ports 1-4 will act as a switch by default (because they power up this way) but the IMX6 eth1 port to the switch will not be active
     184 * ports 5-6 will not be active
     185 * PCI bus enumeration will see an i210 and show a message about its mac addr from env not matching its SROM mac addr but this has no affect because the NIC isn't supported anyway in U-Boot
     186
     187The OpenWrt BSP has support for VLAN tagging and port management via OpenWrt's swconfig API however by default DSA support is enabled. See [wiki:OpenWrt/swconfig] for more details.
     188
     189Port5/Port6 details:
     190 * if both RJ45 (with link) as well as an SFP is inserted, the RJ45 (copper) will take precedence and be selected.
     191 * Port physical interface mode is available from {{{/sys/kernel/gw16083/lan*_mode}}}:
     192{{{
     193root@OpenWrt:/# cat /sys/kernel/gw16083/lan5_mode
     194SFP
     195root@OpenWrt:/# cat /sys/kernel/gw16083/lan6_mode
     196RJ45
     197}}}
     198 * Port SFP details are available from {{{/sys/kernel/gw16083/lan*_sfp}}}:
     199{{{
     200root@OpenWrt:/# cat /sys/kernel/gw16083/lan5_sfp
     201SFP: Methode Elec. SFP-1GE-T-AO A2 ADDTX04396
     202}}}
     203 * Note that only GigE capable SFP's are supported
     204 * Port management details are output to the kernel log as INFO level messages:
     205{{{
     206root@OpenWrt:/# dmesg | grep gw16083
     207[   12.639162] gw16083 1-0052: GW16083 Ethernet Expansion Mezzanine
     208[   12.791152] gw16083 1-0052: registered GW16083 DSA switch
     209[   12.796609] gw16083 1-0052: Configuring MV88E6176 7-port switch
     210[   12.808135] gw16083 1-0052: Port5: MV88E111 PHY configured
     211[   12.821554] gw16083 1-0052: Port6: MV88E111 PHY configured
     212[   12.829929] gw16083 1-0052: Port5: SFP inserted
     213[   12.888832] gw16083 1-0052: Port5: SFP: Methode Elec. SFP-1GE-T-AO A2 ADDTX04396
     214[   12.896432] gw16083 1-0052: Port5: 1000Base-T (Copper) (0x08)
     215[   12.902209] gw16083 1-0052: Port5: SFP signal detected
     216[   12.907400] gw16083 1-0052: Port5: copper auto-selected
     217[   12.913102] gw16083 1-0052: Port5: SFP TX disabled
     218[   12.917916] gw16083 1-0052: Port5: Copper: set auto-neg link/duplex/speed
     219[   12.925601] gw16083 1-0052: Port5: SFP TX enabled
     220[   12.930330] gw16083 1-0052: Port5: SFP: force 1000mbps link up (auto-negotiate duplex)
     221[   21.123062] igb 0000:06:00.0 eth1: igb PHY driver [gw16083] (mii_bus:phy_addr=0000:06:00.0-157:10)
     222[  592.964879] gw16083 1-0052: Port5: SERDES auto-selected
     223}}}
     224
     225
     226See also:
     227 * [wiki:linux/vlan]
     228 * [wiki:OpenWrt/swconfig]
     229
     230
     231[=#gw16104]
     232=== GW16104 PoE Module ===
     233The GW16104 is an optional Power over Ethernet (PoE) module for the GW16083 Ethernet expansion mezzanine providing the following features:
     234 * 44VDC to 57VDC power input (provided via the J11 barrel jack connector or the J6 2-pin connector on the GW16083)
     235 * 44W PoE to Ethernet ports 1 through 4
     236 * 802.3af and 802.3at compatible
     237 * dip switch for configuration (802.3af vs 802.3at mode, power limits)
     238
     239Refer to the GW16083 Hardware manual for more details