SPRUIU1C July 2020 – February 2024 DRA821U , DRA821U-Q1
Lane swapping for Type-C connector support is performed within the SERDES wrapper module. Type-C CC detection and configuration has to be performed by external ICs. Type-C device attachment/detachment and cable orientation have to be communicated using I2C, GPIO, or a similar method.
For USB Type-C support, the SERDES wrapper and SERDES must be programmed for USB protocol on both lane 0 and lane 1. Software must hold PHY in reset and then write to the LN10_SWAP bit to mux the PIPE interface to the other lane. Also the SuperSpeed port in the controller has to be in disabled state when programming LN10_SWAP.