Module2020Raspberry Pi Ltd

Raspberry Pi Compute Module 4 (CM4 / CM4Lite)

System-on-Module powered by Broadcom BCM2711 quad-core Cortex-A72 @ 1.5GHz, up to 8GB LPDDR4, optional eMMC, PCIe Gen2 x1, Gigabit Ethernet, dual HDMI 4Kp60, via two 100-pin Hirose DF40 board-to-board connectors.

Aliase:CM4, CM4Lite, Compute Module 4, BCM2711 Mezzanine, Hirose DF40 SoM

Module Overview

Board Layout
Raspberry Pi Compute Module 4 55 mm × 40 mm • BCM2711 Quad-Core • Dual 100-Pin Mezzanine (Hirose DF40) BROADCOM BCM2711 Cortex-A72 1.5GHz LPDDR4 1-8 GB eMMC 5.1 0-64 GB CYW43455 Dual-band Wi-Fi / BT U.FL Click to view Connector 1 Pinout (Pins 1-100) J1 – Base / Power, GPIO 0–27, Ethernet, SDIO (Pins 1–100) 1 2 99 100 Click to view Connector 2 Pinout (Pins 101-200) J2 – High-Speed / PCIe Gen2, USB 2.0, Dual HDMI, Dual MIPI (Pins 101–200) 101 102 199 200

Connector 1 (Base / Power, Ethernet, USB, GPIO 1–100)

100 Pins
Raspberry Pi Compute Module 4 55 mm × 40 mm • BCM2711 Quad-Core • Dual 100-Pin Mezzanine (Hirose DF40) BROADCOM BCM2711 Cortex-A72 1.5GHz LPDDR4 1-8 GB eMMC 5.1 0-64 GB CYW43455 Dual-band Wi-Fi / BT U.FL J1 – Base / Power, GPIO 0–27, Ethernet, SDIO (Pins 1–100) Pin 1 Pin 3 Pin 5 Pin 7 Pin 9 Pin 11 Pin 13 Pin 15 Pin 17 Pin 19 Pin 21 Pin 23 Pin 25 Pin 27 Pin 29 Pin 31 Pin 33 Pin 35 Pin 37 Pin 39 Pin 41 Pin 43 Pin 45 Pin 47 Pin 49 Pin 51 Pin 53 Pin 55 Pin 57 Pin 59 Pin 61 Pin 63 Pin 65 Pin 67 Pin 69 Pin 71 Pin 73 Pin 75 Pin 77 Pin 79 Pin 81 Pin 83 Pin 85 Pin 87 Pin 89 Pin 91 Pin 93 Pin 95 Pin 97 Pin 99 Pin 2 Pin 4 Pin 6 Pin 8 Pin 10 Pin 12 Pin 14 Pin 16 Pin 18 Pin 20 Pin 22 Pin 24 Pin 26 Pin 28 Pin 30 Pin 32 Pin 34 Pin 36 Pin 38 Pin 40 Pin 42 Pin 44 Pin 46 Pin 48 Pin 50 Pin 52 Pin 54 Pin 56 Pin 58 Pin 60 Pin 62 Pin 64 Pin 66 Pin 68 Pin 70 Pin 72 Pin 74 Pin 76 Pin 78 Pin 80 Pin 82 Pin 84 Pin 86 Pin 88 Pin 90 Pin 92 Pin 94 Pin 96 Pin 98 Pin 100 1 2 99 100 J2 – High-Speed / PCIe Gen2, USB 2.0, Dual HDMI, Dual MIPI (Pins 101–200) 101 102 199 200
Pinout Table100
PinSignal / NameTypeAlternative Functions
1GNDGround
Ground (0 V)
2GNDGround
Ground (0 V)
3Ethernet_Pair3_PDigital
Gigabit Ethernet MDI Pair 3 Positive
4Ethernet_Pair1_PDigital
Gigabit Ethernet MDI Pair 1 Positive
5Ethernet_Pair3_NDigital
Gigabit Ethernet MDI Pair 3 Negative
6Ethernet_Pair1_NDigital
Gigabit Ethernet MDI Pair 1 Negative
7GNDGround
Ground (0 V)
8GNDGround
Ground (0 V)
9Ethernet_Pair2_NDigital
Gigabit Ethernet MDI Pair 2 Negative
10Ethernet_Pair0_NDigital
Gigabit Ethernet MDI Pair 0 Negative
11Ethernet_Pair2_PDigital
Gigabit Ethernet MDI Pair 2 Positive
12Ethernet_Pair0_PDigital
Gigabit Ethernet MDI Pair 0 Positive
13GNDGround
Ground (0 V)
14GNDGround
Ground (0 V)
15Ethernet_nLED3Digital
Active-low Ethernet activity indicator (3.3V)
16SYNC_INDigital
Ethernet IEEE 1588 SYNC input
17Ethernet_nLED2Digital
Active-low Ethernet speed indicator (3.3V)
18Ethernet_SYNC_OUTDigital
IEEE 1588 Precision Time Protocol SYNC output (3.3V)
19Ethernet_nLED1Digital
Active-low Ethernet LED 1 output
20EEPROM_nWPDigital
Hardware Write Protect for on-board Boot EEPROM (internally pulled up)
21LED_nACTDigital
Active-low Pi Activity LED Output (5V tolerant)
22GNDGround
Ground (0 V)
23GNDGround
Ground (0 V)
24GPIO26Digital
General Purpose I/O Pin 26
25GPIO21Digital
General Purpose I/O Pin 21
26GPIO19Digital
General Purpose I/O Pin 19
27GPIO20Digital
General Purpose I/O Pin 20
28GPIO13Digital
General Purpose I/O Pin 13
29GPIO16Digital
General Purpose I/O Pin 16
30GPIO6Digital
General Purpose I/O Pin 6
31GPIO12Digital
General Purpose I/O Pin 12
32GNDGround
Ground (0 V)
33GNDGround
Ground (0 V)
34GPIO5Digital
General Purpose I/O Pin 5
35ID_SCDigital
HAT EEPROM identification I2C clock (RP1 GPIO1)
36ID_SDDigital
HAT EEPROM identification I2C data (RP1 GPIO0)
37GPIO7Digital
General Purpose I/O Pin 7
38GPIO11Digital
General Purpose I/O Pin 11
39GPIO8Digital
General Purpose I/O Pin 8
40GPIO9Digital
General Purpose I/O Pin 9
41GPIO25Digital
General Purpose I/O Pin 25
42GNDGround
Ground (0 V)
43GNDGround
Ground (0 V)
44GPIO10Digital
General Purpose I/O Pin 10
45GPIO24Digital
General Purpose I/O Pin 24
46GPIO22Digital
General Purpose I/O Pin 22
47GPIO23Digital
General Purpose I/O Pin 23
48GPIO27Digital
General Purpose I/O Pin 27
49GPIO18Digital
General Purpose I/O Pin 18
50GPIO17Digital
General Purpose I/O Pin 17
51GPIO15Digital
General Purpose I/O Pin 15
52GNDGround
Ground (0 V)
53GNDGround
Ground (0 V)
54GPIO4Digital
General Purpose I/O Pin 4
55GPIO14Digital
General Purpose I/O Pin 14
56GPIO3Digital
General Purpose I/O Pin 3 (internal 1.8k pullup to GPIO_VREF)
57SD_CLKDigital
SD Card Clock Signal (CM5Lite only)
58GPIO2Digital
General Purpose I/O Pin 2 (internal 1.8k pullup to GPIO_VREF)
59GNDGround
Ground (0 V)
60GNDGround
Ground (0 V)
61SD_DAT3Digital
SD Card / eMMC Data 3 (CM5Lite only)
62SD_CMDDigital
SD Card / eMMC Command Line (CM5Lite only)
63SD_DAT0Digital
SD Card / eMMC Data 0 (CM5Lite only)
64SD_DAT5Digital
SD Card / eMMC Data 5 (CM5Lite only)
65GNDGround
Ground (0 V)
66GNDGround
Ground (0 V)
67SD_DAT1Digital
SD Card / eMMC Data 1 (CM5Lite only)
68SD_DAT4Digital
SD Card / eMMC Data 4 (CM5Lite only)
69SD_DAT2Digital
SD Card / eMMC Data 2 (CM5Lite only)
70SD_DAT7Digital
SD Card / eMMC Data 7 (CM5Lite only)
71GNDGround
Ground (0 V)
72SD_DAT6Digital
SD Card / eMMC Data 6 (CM5Lite only)
73SD_VDD_OVERRIDEPower
Connect to 3.3V to force 1.8V signalling for external eMMC
74GNDGround
Ground (0 V)
75SD_PWR_ONDigital
Power Switch Control Output for SD card (CM5Lite only)
76ReservedNC
Reserved (Do not connect)
775VPower
Main 5V Power Supply Input (4.75V to 5.25V)
78GPIO_VREFDigital
GPIO Bank Voltage Input (connect to 3.3V or 1.8V)
795VPower
Main 5V Power Supply Input
80SCL0Digital
Camera / Display I2C Clock (GPIO39; internal 1.8k pullup)
815VPower
Main 5V Power Supply Input
82SDA0Digital
Camera / Display I2C Data (GPIO38; internal 1.8k pullup)
835VPower
Main 5V Power Supply Input
84CM5_3.3VPower
Regulated 3.3V Power Output (300mA per pin, 600mA total)
855VPower
Main 5V Power Supply Input
86CM5_3.3VPower
Regulated 3.3V Power Output
875VPower
Main 5V Power Supply Input
88CM5_1.8VPower
Regulated 1.8V Power Output (300mA per pin, 600mA total)
89WL_nDisableDigital
Wi-Fi Hardware Disable Input (pull low to disable)
90CM5_1.8VPower
Regulated 1.8V Power Output
91BT_nDisableDigital
Bluetooth Hardware Disable Input (pull low to disable)
92RUN_PGDigital
Power Good / Reset signal
93nRPIBOOTDigital
Force USB Bootloader Mode (pull low to boot over USB)
94AnalogIP1Analog
Analog Input Channel 1 (ADC)
95LED_nPWRDigital
Active-low Power LED Output
96AnalogIP0Analog
Analog Input Channel 0 (ADC)
97CAM_GPIO0Digital
Camera 0 Power Enable Control (GPIO34)
98GNDGround
Ground (0 V)
99Global_ENDigital
Global power enable (pull low to turn off)
100nEXTRSTDigital
External reset output

Connector 2 (High-Speed / PCIe, MIPI CSI/DSI, HDMI 101–200)

100 Pins
Raspberry Pi Compute Module 4 55 mm × 40 mm • BCM2711 Quad-Core • Dual 100-Pin Mezzanine (Hirose DF40) BROADCOM BCM2711 Cortex-A72 1.5GHz LPDDR4 1-8 GB eMMC 5.1 0-64 GB CYW43455 Dual-band Wi-Fi / BT U.FL J1 – Base / Power, GPIO 0–27, Ethernet, SDIO (Pins 1–100) 1 2 99 100 J2 – High-Speed / PCIe Gen2, USB 2.0, Dual HDMI, Dual MIPI (Pins 101–200) Pin 101 Pin 103 Pin 105 Pin 107 Pin 109 Pin 111 Pin 113 Pin 115 Pin 117 Pin 119 Pin 121 Pin 123 Pin 125 Pin 127 Pin 129 Pin 131 Pin 133 Pin 135 Pin 137 Pin 139 Pin 141 Pin 143 Pin 145 Pin 147 Pin 149 Pin 151 Pin 153 Pin 155 Pin 157 Pin 159 Pin 161 Pin 163 Pin 165 Pin 167 Pin 169 Pin 171 Pin 173 Pin 175 Pin 177 Pin 179 Pin 181 Pin 183 Pin 185 Pin 187 Pin 189 Pin 191 Pin 193 Pin 195 Pin 197 Pin 199 Pin 102 Pin 104 Pin 106 Pin 108 Pin 110 Pin 112 Pin 114 Pin 116 Pin 118 Pin 120 Pin 122 Pin 124 Pin 126 Pin 128 Pin 130 Pin 132 Pin 134 Pin 136 Pin 138 Pin 140 Pin 142 Pin 144 Pin 146 Pin 148 Pin 150 Pin 152 Pin 154 Pin 156 Pin 158 Pin 160 Pin 162 Pin 164 Pin 166 Pin 168 Pin 170 Pin 172 Pin 174 Pin 176 Pin 178 Pin 180 Pin 182 Pin 184 Pin 186 Pin 188 Pin 190 Pin 192 Pin 194 Pin 196 Pin 198 Pin 200 101 102 199 200
Pinout Table100
PinSignal / NameTypeAlternative Functions
101USB_OTG_IDDigital
USB 2.0 OTG ID Pin (ground for host mode)
102PCIe_CLK_nREQDigital
PCIe Clock Request Input (active low to request clock)
103USB_NDigital
USB 2.0 High-Speed Data Negative (D-)
104ReservedNC
Reserved on CM4
105USB_PDigital
USB 2.0 High-Speed Data Positive (D+)
106ReservedNC
Reserved on CM4
107GNDGround
Ground (0 V)
108GNDGround
Ground (0 V)
109PCIe_nRSTDigital
PCIe Reset Output (active low)
110PCIe_CLK_PDigital
PCIe 100MHz Differential Reference Clock Positive
111VDAC_COMPPower
Video DAC compensation capacitor
112PCIe_CLK_NDigital
PCIe 100MHz Differential Reference Clock Negative
113GNDGround
Ground (0 V)
114GNDGround
Ground (0 V)
115MIPI0_D0_NDigital
MIPI Port 0 Data 0 Negative (CSI / DSI)
116PCIe_RX_PDigital
PCIe Gen 2 Receiver Differential Positive
117MIPI0_D0_PDigital
MIPI Port 0 Data 0 Positive (CSI / DSI)
118PCIe_RX_NDigital
PCIe Gen 2 Receiver Differential Negative
119GNDGround
Ground (0 V)
120GNDGround
Ground (0 V)
121MIPI0_D1_NDigital
MIPI Port 0 Data 1 Negative (CSI / DSI)
122PCIe_TX_PDigital
PCIe Gen 2 Transmitter Differential Positive
123MIPI0_D1_PDigital
MIPI Port 0 Data 1 Positive (CSI / DSI)
124PCIe_TX_NDigital
PCIe Gen 2 Transmitter Differential Negative
125GNDGround
Ground (0 V)
126GNDGround
Ground (0 V)
127MIPI0_C_NDigital
MIPI Port 0 Clock Negative
128CAM0_D0_NDigital
Camera 0 Data 0 Negative (2-lane CSI)
129MIPI0_C_PDigital
MIPI Port 0 Clock Positive
130CAM0_D0_PDigital
Camera 0 Data 0 Positive (2-lane CSI)
131GNDGround
Ground (0 V)
132GNDGround
Ground (0 V)
133MIPI0_D2_NDigital
MIPI Port 0 Data 2 Negative
134CAM0_D1_NDigital
Camera 0 Data 1 Negative (2-lane CSI)
135MIPI0_D2_PDigital
MIPI Port 0 Data 2 Positive
136CAM0_D1_PDigital
Camera 0 Data 1 Positive (2-lane CSI)
137GNDGround
Ground (0 V)
138GNDGround
Ground (0 V)
139MIPI0_D3_NDigital
MIPI Port 0 Data 3 Negative
140CAM0_C_NDigital
Camera 0 Clock Negative (2-lane CSI)
141MIPI0_D3_PDigital
MIPI Port 0 Data 3 Positive
142CAM0_C_PDigital
Camera 0 Clock Positive (2-lane CSI)
143HDMI1_HOTPLUGDigital
HDMI Port 1 Hotplug Detect (5V tolerant, 100k pull-down)
144GNDGround
Ground (0 V)
145HDMI1_SDADigital
HDMI Port 1 I2C SDA (5V tolerant, 1.8k pull-up)
146HDMI1_TX2_PDigital
HDMI Port 1 TMDS TX2 Positive
147HDMI1_SCLDigital
HDMI Port 1 I2C SCL (5V tolerant, 1.8k pull-up)
148HDMI1_TX2_NDigital
HDMI Port 1 TMDS TX2 Negative
149HDMI1_CECDigital
HDMI Port 1 CEC (5V tolerant, 27k pull-up)
150GNDGround
Ground (0 V)
151HDMI0_CECDigital
HDMI Port 0 CEC (5V tolerant, 27k pull-up)
152HDMI1_TX1_PDigital
HDMI Port 1 TMDS TX1 Positive
153HDMI0_HOTPLUGDigital
HDMI Port 0 Hotplug Detect (5V tolerant, 100k pull-down)
154HDMI1_TX1_NDigital
HDMI Port 1 TMDS TX1 Negative
155GNDGround
Ground (0 V)
156GNDGround
Ground (0 V)
157DSI0_D0_NDigital
Display 0 Data 0 Negative (2-lane DSI)
158HDMI1_TX0_PDigital
HDMI Port 1 TMDS TX0 Positive
159DSI0_D0_PDigital
Display 0 Data 0 Positive (2-lane DSI)
160HDMI1_TX0_NDigital
HDMI Port 1 TMDS TX0 Negative
161GNDGround
Ground (0 V)
162GNDGround
Ground (0 V)
163DSI0_D1_NDigital
Display 0 Data 1 Negative (2-lane DSI)
164HDMI1_CLK_PDigital
HDMI Port 1 TMDS Clock Positive
165DSI0_D1_PDigital
Display 0 Data 1 Positive (2-lane DSI)
166HDMI1_CLK_NDigital
HDMI Port 1 TMDS Clock Negative
167GNDGround
Ground (0 V)
168GNDGround
Ground (0 V)
169DSI0_C_NDigital
Display 0 Clock Negative (2-lane DSI)
170HDMI0_TX2_PDigital
HDMI Port 0 TMDS TX2 Positive
171DSI0_C_PDigital
Display 0 Clock Positive (2-lane DSI)
172HDMI0_TX2_NDigital
HDMI Port 0 TMDS TX2 Negative
173GNDGround
Ground (0 V)
174GNDGround
Ground (0 V)
175MIPI1_D0_NDigital
MIPI Port 1 Data 0 Negative (CSI / DSI)
176HDMI0_TX1_PDigital
HDMI Port 0 TMDS TX1 Positive
177MIPI1_D0_PDigital
MIPI Port 1 Data 0 Positive (CSI / DSI)
178HDMI0_TX1_NDigital
HDMI Port 0 TMDS TX1 Negative
179GNDGround
Ground (0 V)
180GNDGround
Ground (0 V)
181MIPI1_D1_NDigital
MIPI Port 1 Data 1 Negative (CSI / DSI)
182HDMI0_TX0_PDigital
HDMI Port 0 TMDS TX0 Positive
183MIPI1_D1_PDigital
MIPI Port 1 Data 1 Positive (CSI / DSI)
184HDMI0_TX0_NDigital
HDMI Port 0 TMDS TX0 Negative
185GNDGround
Ground (0 V)
186GNDGround
Ground (0 V)
187MIPI1_C_NDigital
MIPI Port 1 Clock Negative
188HDMI0_CLK_PDigital
HDMI Port 0 TMDS Clock Positive
189MIPI1_C_PDigital
MIPI Port 1 Clock Positive
190HDMI0_CLK_NDigital
HDMI Port 0 TMDS Clock Negative
191GNDGround
Ground (0 V)
192GNDGround
Ground (0 V)
193MIPI1_D2_NDigital
MIPI Port 1 Data 2 Negative
194MIPI1_D3_NDigital
MIPI Port 1 Data 3 Negative
195MIPI1_D2_PDigital
MIPI Port 1 Data 2 Positive
196MIPI1_D3_PDigital
MIPI Port 1 Data 3 Positive
197GNDGround
Ground (0 V)
198GNDGround
Ground (0 V)
199HDMI0_SDADigital
HDMI Port 0 I2C SDA (5V tolerant, 1.8k pull-up)
200HDMI0_SCLDigital
HDMI Port 0 I2C SCL (5V tolerant, 1.8k pull-up)