# QUP pin configuration Source: [https://docs.qualcomm.com/doc/80-88500-4/topic/104_QUP_GPIO_assignment.html](https://docs.qualcomm.com/doc/80-88500-4/topic/104_QUP_GPIO_assignment.html) The QUP GPIO ports can be configured to connect with external devices. The tables provide the GPIO assignment for the QUPs and an example of how the GPIOs can be configured for connectivity with external devices. Table : QUP GPIO assignment | QUP | L0 | L1 | L2 | L3 | L4 | L5 | L6 | | --- | --- | --- | --- | --- | --- | --- | --- | | QUP\_0 | GPIO\_28 | GPIO\_29 | GPIO\_30 | GPIO\_31 | GPIO\_6 | GPIO\_7 | GPIO\_77 | | QUP\_1 | GPIO\_4 | GPIO\_5 | GPIO\_6 | GPIO\_7 | – | – | – | | QUP\_2 | GPIO\_115 | GPIO\_116 | GPIO\_117 | GPIO\_118 | GPIO\_14 | GPIO\_15 | GPIO\_93 | | QUP\_3 | GPIO\_119 | GPIO\_120 | GPIO\_121 | GPIO\_122 | – | – | – | | QUP\_4 | GPIO\_8 | GPIO\_9 | GPIO\_10 | GPIO\_11 | GPIO\_123 | GPIO\_124 | GPIO\_92 | | QUP\_5 | GPIO\_12 | GPIO\_13 | GPIO\_14 | GPIO\_15 | – | – | – | | QUP\_6 | GPIO\_16 | GPIO\_17 | GPIO\_18 | GPIO\_19 | – | – | – | | QUP\_7 | GPIO\_20 | GPIO\_21 | GPIO\_22 | GPIO\_23 | – | – | – | | QUP\_8 | GPIO\_24 | GPIO\_25 | GPIO\_26 | GPIO\_27 | – | – | – | | QUP\_9 | GPIO\_125 | GPIO\_126 | GPIO\_127 | GPIO\_128 | – | – | – | | QUP\_10 | GPIO\_129 | GPIO\_130 | GPIO\_131 | GPIO\_132 | – | – | – | | QUP\_11 | GPIO\_60 | GPIO\_61 | GPIO\_62 | GPIO\_63 | – | – | – | | QUP\_12 | GPIO\_32 | GPIO\_33 | GPIO\_34 | GPIO\_35 | – | – | – | | QUP\_13 | GPIO\_36 | GPIO\_37 | GPIO\_38 | GPIO\_39 | – | – | – | | QUP\_14 | GPIO\_40 | GPIO\_41 | GPIO\_42 | GPIO\_43 | GPIO\_46 | GPIO\_47 | GPIO\_64 | | QUP\_15 | GPIO\_44 | GPIO\_45 | GPIO\_46 | GPIO\_47 | – | – | – | | QUP\_16 | GPIO\_48 | GPIO\_49 | GPIO\_50 | GPIO\_51 | – | – | – | | QUP\_17 | GPIO\_52 | GPIO\_53 | GPIO\_54 | GPIO\_55 | – | – | – | | QUP\_18 | GPIO\_56 | GPIO\_57 | GPIO\_58 | GPIO\_59 | – | – | – | | QUP\_19 | GPIO\_0 | GPIO\_1 | GPIO\_2 | GPIO\_3 | – | – | – | Note: Only QUP\_0, QUP\_2, QUP\_4, and QUP\_14 support the multi-CS SPI mode by the GPIO allocation limit. Table : Example of QUP configuration | QUPs | Default connectivity | | --- | --- | | QUP\_0 | NFC eSE | | QUP\_1 | NFC | | QUP\_2 | Third-party camera | | QUP\_3 | Third-party wireless | | QUP\_4 | Third-party camera | | QUP\_5 | Third-party PMIC | | QUP\_6 | QCA6390/QCA6391 (Bluetooth wireless technology) | | QUP\_7 | Unused | | QUP\_8 | CDP camera | | QUP\_9 | Third-party sub PMIC | | QUP\_10 | Unused | | QUP\_11 | Unused | | QUP\_12 | Debug | | QUP\_13 | Legacy Touch Screen | | QUP\_14 | Fingerprint sensor | | QUP\_15 | I2C, Haptics/Broadcast/SMB1355/SMB1390/Type-C-DP/FM | | QUP\_16 | Unused | | QUP\_17 | Modem (UART and audio backup) | | QUP\_18 | Unused | | QUP\_19 | Unused | **Parent Topic:** [Bus protocols](https://docs.qualcomm.com/doc/80-88500-4/topic/103_Bus_protocols.html) Last Published: Aug 18, 2023 [Previous Topic Bus protocols](https://docs.qualcomm.com/bundle/publicresource/80-88500-4/topics/103_Bus_protocols.md) [Next Topic Device tree configuration of SPI, UART, and I2C](https://docs.qualcomm.com/bundle/publicresource/80-88500-4/topics/105_Device_tree_configuration.md)