Man page - raspirev(7)
Packages contains this manual
apt-get install raspi-utils-core
Manual
RASPIREV
NAMEDESCRIPTION
OLD-STYLE REVISION CODES
NEW-STYLE REVISION CODES
SEE ALSO
REFERENCES
NAME
raspirev - Raspberry Pi revision codes
DESCRIPTION
Each distinct Raspberry Pi model revision has a unique revision code. You can look up a Raspberry Pi’s revision code by running:
$ cat /proc/cpuinfo
The last three lines show the hardware type, the revision code, and the Pi’s unique serial number. For example:
Hardware :
BCM2835
Revision : a02082
Serial : 00000000765fc593
Note: As of the 4.9 kernel, all Pis report BCM2835, even those with BCM2836, BCM2837 and BCM2711 processors. You should not use this string to detect the processor. Decode the revision code using the information below, or read /sys/firmware/devicetree/base/model
OLD-STYLE REVISION CODES
The first set of Raspberry Pi models were given sequential hex revision codes from 0002 to 0015:
NEW-STYLE REVISION CODES
With the launch of the Raspberry Pi 2, new-style revision codes were introduced. Rather than being sequential, each bit of the hex code represents a piece of information about the revision:
NOQuuuWuFMMMCCCCPPPPTTTTTTTTRRRR
|
N |
Overvoltage |
0
|
Overvoltage allowed |
||||
|
1 |
Overvoltage disallowed |
|||
|
O |
OTP Programming; see raspiotp (7)
|
0 |
OTP programming allowed |
|||
|
1 |
OTP programming disallowed |
|||
|
Q |
OTP Reading; see raspiotp (7)
|
0 |
OTP reading allowed |
|||
|
1 |
OTP reading disallowed |
|||
|
uuu |
Unused
|
W |
Warranty bit |
0
|
Warranty is intact |
||||
|
1 |
Warranty has been voided by overclocking |
|||
|
u |
Unused
|
F |
New flag |
1
|
new-style revision |
||||
|
0 |
old-style revision |
|||
|
MMM |
Memory size
|
0 |
256MB |
|||
|
1 |
512MB |
|||
|
2 |
1GB |
|||
|
3 |
2GB |
|||
|
4 |
4GB |
|||
|
5 |
8GB |
|||
|
CCCC |
Manufacturer
|
0 |
Sony UK |
|||
|
1 |
Egoman |
|||
|
2 |
Embest |
|||
|
3 |
Sony Japan |
|||
|
4 |
Embest |
|||
|
5 |
Stadium |
|||
|
PPPP |
Processor
|
0 |
BCM2835 |
|||
|
1 |
BCM2836 |
|||
|
2 |
BCM2837 |
|||
|
3 |
BCM2711 |
TTTTTTTT
Type
|
0 |
A |
|||
|
1 |
B |
|||
|
2 |
A+ |
|||
|
3 |
B+ |
|||
|
4 |
2B |
|||
|
5 |
Alpha (early prototype) |
|||
|
6 |
CM1 |
|||
|
8 |
3B |
|||
|
9 |
Zero |
|||
|
a |
CM3 |
|||
|
c |
Zero W |
|||
|
d |
3B+ |
|||
|
e |
3A+ |
|||
|
f |
Internal use only |
|||
|
10 |
CM3+ |
|||
|
11 |
4B |
|||
|
13 |
400 |
|||
|
14 |
CM4 |
|||
|
RRRR |
Revision (0, 1, 2, etc.)
New-style revision codes in use at the time of writing:
SEE ALSO
raspiotp (7), [SOURCE]
REFERENCES
[SOURCE]
https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-revision-codes