Skip to content

Commit b55f0ec

Browse files
authored
Merge pull request #506 from Laurix1983/cm4add
fix: Added some new CM4 modules
2 parents 1ba8e38 + 2418d51 commit b55f0ec

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

rpihw.c

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,37 @@ static const rpi_hw_t rpi_hw_info[] = {
506506
.desc = "Compute Module 3+",
507507
},
508508

509+
//ComputeModule 4 Additions
510+
{
511+
.hwver = 0xa03141,
512+
.type = RPI_HWVER_TYPE_PI4,
513+
.periph_base = PERIPH_BASE_RPI4,
514+
.videocore_base = VIDEOCORE_BASE_RPI2,
515+
.desc = "Raspberry Pi Compute Module 4 Rev 1.1"
516+
},
517+
518+
{
519+
.hwver = 0xb03141,
520+
.type = RPI_HWVER_TYPE_PI4,
521+
.periph_base = PERIPH_BASE_RPI4,
522+
.videocore_base = VIDEOCORE_BASE_RPI2,
523+
.desc = "Raspberry Pi Compute Module 4 Rev 1.1"
524+
}, {
525+
.hwver = 0xc03141,
526+
.type = RPI_HWVER_TYPE_PI4,
527+
.periph_base = PERIPH_BASE_RPI4,
528+
.videocore_base = VIDEOCORE_BASE_RPI2,
529+
.desc = "Raspberry Pi Compute Module 4 Rev 1.1"
530+
},
531+
532+
{
533+
.hwver = 0xd03141,
534+
.type = RPI_HWVER_TYPE_PI4,
535+
.periph_base = PERIPH_BASE_RPI4,
536+
.videocore_base = VIDEOCORE_BASE_RPI2,
537+
.desc = "Raspberry Pi Compute Module 4 Rev 1.1"
538+
}
539+
509540

510541
};
511542

0 commit comments

Comments
 (0)