Changes between Version 2 and Version 3 of venice/PCIe


Ignore:
Timestamp:
09/07/2023 04:49:30 PM (15 months ago)
Author:
Ryan Erbstoesser
Comment:

add 7300 mux

Legend:

Unmodified
Added
Removed
Modified
  • venice/PCIe

    v2 v3  
    2929Reset signals are routed to the Mini-PCIe sockets. On boards without a switch this is an i.MX8M GPIO and on boards with a PCIe switch an i.MX8M GPIO drives the PERST# of the switch and the switch automatically controls the PERST# signal going to each down-stream socket and they can not be independently controlled.
    3030
     31= PCIe / USB3 Mux
     32
     33The GW7300-F and newer have a PCIe and USB 3.0 mux for Mini-PCIe slot J10. Mini-PCIe cannot support USB 3.0 and PCIe at the same time, thus the mux is used to choose which to use.
     34
     35This mux is controlled through GPIO1_6 (default 0, which is PCIe), with a bootloader example shown below:
     36{{{
     37u-boot=> gpio status
     38Bank GPIO1_:
     39GPIO1_0: output: 0 [x] rs485_term.gpio-hog
     40GPIO1_1: input: 0 [x] mipi_gpio4.gpio-hog
     41GPIO1_6: output: 0 [x] pci_usb_sel.gpio-hog
     42}}}
     43
     44To set this GPIO high (USB 3.0) in uboot:
     45{{{
     46gpio set GPIO1_6
     47}}}
     48