This article illustrates how to control the power supply on Terra USB host ports.
Each USB port can shutdown independently via GPIO lines. This is very useful to recover freeze conditions of any USB devices.
The lines used to USB power control are:
|Aria G25 pad||Atmel line||Kernel ID||Description|
|N7||PC5||101||Power control of USB A (1=ON)|
|N8||PC6||102||Power control of USB B (1=ON)|
|N9||PC7||103||Power control of USB C (1=ON)|
At startup all the power lines are set to ON.
A green led for any USB port indicates the current USB power line state: