Last active
April 7, 2017 09:00
-
-
Save lategoodbye/7f69fe3a18e173c6251d81a12168e5e4 to your computer and use it in GitHub Desktop.
Pin usage of the Raspberry Pi firmware
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RPi 1 RPi 1 RPi 1 RPi 1 RPi 1 RPi RPi RPi 2 RPi 3 RPi 3 | |
A+ B r1 B r2 B+ CM 0 0 W B B CM | |
0 | | | X | | | | | | | | |
1 | | | X | | | | | | | | |
2 | | X | | | | | | | | | |
3 | | X | | | | | | | | | |
4 | | | | | | | | | | | |
5 | | X | X | | | | | | | | |
6 | | | | | | | | | | | |
7 | | | | | | | | | | | |
8 | | | | | | | | | | | |
9 | | | | | | | | | | | |
10 | | | | | | | | | | | |
11 | | | | | | | | | | | |
12 | | | | | | | | | | | |
13 | | | | | | | | | | | |
14 | | | | | | | | | | | |
15 | | | | | | | | | | | |
16 | | | | | | | | | | | |
17 | | | | | | | | | | | |
18 | | | | | | | | | | | |
19 | | | | | | | | | | | |
20 | | | | | | | | | | | |
21 | | | X | | | | | | | | |
22 | | | | | | | | | | | |
23 | | | | | | | | | | | |
24 | | | | | | | | | | | |
25 | | | | | | | | | | | |
26 | | | | | | | | | | | |
27 | | X | | | | | | | | | |
28 | X | | | X | | X | X | X | | | |
29 | X | | | X | | X | X | X | | | |
30 | | | | | | | | | | | |
31 | | | | | | | | | | | |
32 | X | | | X | | X | | X | | | |
33 | | | | | | | | | | | |
34 | | | | | | | | | | | |
35 | | | | | | | | | | | |
36 | | | | | | | | | | | |
37 | | | | | | | | | | | |
38 | | | | | | | | | | | |
39 | | | | | | | | | | | |
40 | X | X | X | X | | | X | X | X | | |
41 | X | | | X | | X | | X | X | | |
42 | | | | | | | | X | | | |
43 | | | | | | | | X | | | |
44 | | | | | | | X | | X | | |
45 | X | X | X | X | | | | X | X | | |
46 | | | | | | | | | X | X | |
47 | | | | | | | | | X | X | |
48 | | | | | | | | | | | |
49 | | | | | | | | | | | |
50 | | | | | | | | | | | |
51 | | | | | | | | | | | |
52 | | | | | | | | | | | |
53 | | | | | | | | | | |
Sorry, i didn't noticed your comment.
Usage counts with Linux kernel boot:
- the pin configuration (direction, function, pull, ...) shouldn't be changed
- in case of a GPIO the pin shouldn't be used as an interrupt source or changed its output value
PWM pins are needed by VCHIQ audio?
I added the new Raspberry Pi Zero W.
I added I2C0 for CAM, fixed pin number for Camera shutdown on RPi 1 B r1 and removed WL + BT pins on RPi Zero W.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What counts as usage? The PWM pins aren't included in the table, but if you don't select the PWM functions on the relevant pins you would never notice. Conversely, the HAT I2C pins (28 & 29 on most boards - but not Pi3) aren't used by the firmware once the kernel has booted.