USB Debug Nodes
Use the following command to check the current role of USB.
cat /sys/devices/platform/soc/10210000.usbdrd/of_node/dr_mode
cat /sys/devices/platform/soc/10210000.usbdrd/of_node/dr_mode