When i received the BIGTREETECH E3EZ* together with a CB1* i was wondering how the pinout / gpio on the board was setup. Unfortunately the picture in the User-Manual of the E3EZ was relatively blurry.

Manta E3EZ

GPIO stands for General-Purpose Input/Output. It refers to the pins on a microcontroller or single-board computer, like the Raspberry Pi, that can be programmed to serve as either inputs or outputs. These pins enable the device to interact with the external world by receiving or transmitting digital signals. Through software programming, developers can configure GPIO pins to read data from sensors (inputs) or send signals to actuators (outputs), facilitating versatile applications like the control of fans, lights or other 3D printing accessories.

Thankfully the pinout is the same on the Manta M4P which is why i was able to extract the data from there  (page 9):

Manta M4P

BIGTREETECH describes the pinout of the CM4 the same as the one of the Raspberry pi. However when being used with the CB1, the Pinout Changes. I extracted that information and then used various sources of research to find the corresponding GPIO port: This is the final result:

PinCM4CB1Comment
13.3V3.3VPin is the same on both boards
25V5VPin is the same on both boards
3GPIO2Not connectedNot connected on the CB1
45V5VPin is the same on both boards
5GPIO3Not connectedNot connected on the CB1
6GNDGNDPin is the same on both boards
7GPIO4PC7 / GPIO71Different GPIO numbering
8GPIO14TXIncompatible - different function!
9GNDGNDPin is the same on both boards
10GPIO15RXIncompatible - different function!
11GPIO17PC14 / GPIO78Different GPIO numbering
12GPIO18PC13 / GPIO77Different GPIO numbering
13GPIO27PC12 / GPIO76Different GPIO numbering
14GNDGNDPin is the same on both boards
15GPIO22PC10 / GPIO74Different GPIO numbering
16GPIO23PC11 / GPIO75Different GPIO numbering
173.3V3.3VPin is the same on both boards
18GPIO24PC9 / GPIO73Different GPIO numbering
19GPIO10PH7 / GPIO231Different GPIO numbering
20GNDGNDPin is the same on both boards
21GPIO9PH8 / GPIO232Different GPIO numbering
22GPIO25Not connectedNot connected on the CB1
23GPIO11ph6 / GPIO230Different GPIO numbering
24GPIO8Not connectedNot connected on the CB1
25GNDGNDPin is the same on both boards
26GPIO7PG8 / GPIO200Different GPIO numbering
27ID_SDID_SDPin is the same on both boards
28ID_SCPG7 / GPIO199Incompatible - different function!
29GPIO5Not connectedNot connected on the CB1
30GNDGNDPin is the same on both boards
31GPIO6PG6 / GPIO198Different GPIO numbering
32GPIO12PG9 / GPIO201Different GPIO numbering
33GPIO13Not connectedNot connected on the CB1
34GNDGNDPin is the same on both boards
35GPIO19PC6 / GPIO70Different GPIO numbering
36GPIO16Not connectedNot connected on the CB1
37GPIO26PC15 / GPIO79Different GPIO numbering
38GPIO20PH10 / GPIO234Different GPIO numbering
39GNDGNDPin is the same on both boards
40GPIO21PC8 / GPIO72Different GPIO numbering

Update: Now i finally found a mapping in the CB1 repo - check there  if you want to see the mapping for the BTT PI or CB1 MMC version.