According to an embodiment, the connection establishment circuit 170 may control an operation associated with the second input/output interface 160. According to an embodiment, the connection establishment circuit 170 may be manufactured as a chip separate from the processor 110 or included in the processor 110. The connection establishment circuit 170 may be connected to the CC pin included in the second input/output interface 160. The connection establishment circuit 170 may control an operation associated with the second input/output interface 160 or perform CC communication with an external device through CC communication. The connection establishment circuit 170 may perform an operation related to power supply or power reception to or from the external device. The connection establishment circuit 170 may recognize information (e.g., information acquired through CC communication) of the electronic device connected to the second input/output interface 160 and determine a power source to be transferred to the second input/output interface 160 or identify the connection with the external device. According to an embodiment, the connection establishment circuit 170 may perform an operation specified in the USB specification. In detail, the connection establishment circuit 170 may transmit information of the connected electronic device to the processor 110, and a program running on the processor 110 (e.g., a driver of the connection establishment circuit) may determine power to be transferred to the second input/output interface 160 or identify the connection with the external device.