USB hub with unidentified upstream port
I'm working on a small pcb that includes USB functionality. My requirements are as next: 2 USB A ports, 1 USB downstream that connects to my MCU, and 1 Micro SD card slot.
Currently I'm using the microchip USB2660, since it supports 2 USB downstreams and SD card support. At the moment I have one usb input port and one usb pass through. To prevent user error I'd like both usb ports to be able to work as input, and the other port would automatically switch to being an pass through. While maintaining my SD reader and downstream to the MCU.
Any help would be appreciated.