| 31 | = PCIe / USB3 Mux |
| 32 | |
| 33 | The 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 | |
| 35 | This mux is controlled through GPIO1_6 (default 0, which is PCIe), with a bootloader example shown below: |
| 36 | {{{ |
| 37 | u-boot=> gpio status |
| 38 | Bank GPIO1_: |
| 39 | GPIO1_0: output: 0 [x] rs485_term.gpio-hog |
| 40 | GPIO1_1: input: 0 [x] mipi_gpio4.gpio-hog |
| 41 | GPIO1_6: output: 0 [x] pci_usb_sel.gpio-hog |
| 42 | }}} |
| 43 | |
| 44 | To set this GPIO high (USB 3.0) in uboot: |
| 45 | {{{ |
| 46 | gpio set GPIO1_6 |
| 47 | }}} |
| 48 | |