To access the MIDR:
MRC p15, 0, <Rt>, c0, c0, 0; Read MIDR into Rt
Register access is encoded as follows:
Table B1-81 MIDR access encoding
coproc opc1 CRn CRm opc2
1111 000 0000 0000 000
The MIDR can be accessed through the external debug interface, offset 0xD00.
B1 AArch32 system registers
B1.96 Main ID Register
100236_0100_00_en Copyright © 2015–2017, 2019 Arm Limited or its affiliates. All rights
reserved.
B1-314
Non-Confidential