Skip to content

Commit

Permalink
Merge pull request #506 from Laurix1983/cm4add
Browse files Browse the repository at this point in the history
fix: Added some new CM4 modules
  • Loading branch information
Gadgetoid authored Mar 6, 2023
2 parents 1ba8e38 + 2418d51 commit b55f0ec
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions rpihw.c
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,37 @@ static const rpi_hw_t rpi_hw_info[] = {
.desc = "Compute Module 3+",
},

//ComputeModule 4 Additions
{
.hwver = 0xa03141,
.type = RPI_HWVER_TYPE_PI4,
.periph_base = PERIPH_BASE_RPI4,
.videocore_base = VIDEOCORE_BASE_RPI2,
.desc = "Raspberry Pi Compute Module 4 Rev 1.1"
},

{
.hwver = 0xb03141,
.type = RPI_HWVER_TYPE_PI4,
.periph_base = PERIPH_BASE_RPI4,
.videocore_base = VIDEOCORE_BASE_RPI2,
.desc = "Raspberry Pi Compute Module 4 Rev 1.1"
}, {
.hwver = 0xc03141,
.type = RPI_HWVER_TYPE_PI4,
.periph_base = PERIPH_BASE_RPI4,
.videocore_base = VIDEOCORE_BASE_RPI2,
.desc = "Raspberry Pi Compute Module 4 Rev 1.1"
},

{
.hwver = 0xd03141,
.type = RPI_HWVER_TYPE_PI4,
.periph_base = PERIPH_BASE_RPI4,
.videocore_base = VIDEOCORE_BASE_RPI2,
.desc = "Raspberry Pi Compute Module 4 Rev 1.1"
}


};

Expand Down

0 comments on commit b55f0ec

Please sign in to comment.