Skip to content

Pin map

This page lists the known GPIO assignments of the XP8800. Pins are TLMM pins (the Top-Level Mode Multiplexer or pinctrl of the SoC), unless the table shows a different type.

TLMM pins

Pin Function
0–3 Fingerprint SPI (BLSP1_QUP1), TrustZone-locked
4 Side connector UART TX (BLSP1_UART2)
5 Side connector UART RX
6 I²C c176000 (speaker amplifiers), data
7 I²C c176000, clock
8–11 TrustZone-locked (BLSP1_QUP3)
12 Speaker amplifier reset (active high)
13 Display backlight enable
14 I²C c178000 (touch), data
15 I²C c178000, clock
20 Fingerprint reset
21 Speaker amplifier IRQ
22 I²C c1b6000 (NFC), data
23 I²C c1b6000, clock
28–31 SPI8, top connector
35 Touch power enable
40 App switch / Menu key
42 NFC enable (VEN)
43 NFC IRQ
45 NFC firmware download
48 NFC secure-element power
53 Display panel reset
58 DisplayPort plug orientation (mdss_dp_usbplug_cc)
59 Display panel tearing effect (TE)
61 Side connector power enable
64 Back key
66 Touch reset
67 Touch IRQ (falling)
72 Fingerprint IRQ
74 Top connector power enable
75 SOS key
76 Push-to-talk (PTT) key
113 Camera / programmable key

PM660 GPIOs

Pin Function
PM660 GPIO 4 NFC clock request
PM660 GPIO 11 Home key

PM660L GPIOs

Pin Function
PM660L GPIO 7 Volume-up key

Grouping by function

flowchart TB
  subgraph I2C["I2C buses"]
    I2CA["c176000 — TLMM 6/7 — TFA9890 amps @0x34/0x35"]
    I2CB["c178000 — TLMM 14/15 — touch @0x24"]
    I2CC["c1b6000 — TLMM 22/23 — NFC @0x28"]
  end
  subgraph SPI["SPI buses"]
    SPIA["BLSP1_QUP1 — TLMM 0-3 — fingerprint (TEE)"]
    SPIB["SPI8 — TLMM 28-31 — top connector"]
  end
  subgraph UART["UART"]
    UARTA["BLSP1_UART2 — TLMM 4/5 — side connector"]
    UARTB["c1af000 — WCN3990 Bluetooth HCI"]
  end
  subgraph KEYS["Key GPIOs"]
    K["TLMM 40, 64, 75, 76, 113 · PM660 GPIO 11 · PM660L GPIO 7"]
  end
  subgraph TZ["TrustZone-locked"]
    T["TLMM 0-3, 8-11"]
  end

Important device-tree constraints

  • Include gpio-reserved-ranges = <0 4>, <8 4>. Then Linux does not touch the TrustZone-locked banks.
  • Before the touch controller sends an ACK on I²C, PM660L L3 must be at 2.8 V.
  • The backlight-enable line (TLMM 13) possibly also supplies the capacitive key backlights.