Skip to content

Commit

Permalink
Merge pull request #1 from SimonWaldherr/add-v1.5-to-rasPiVariants
Browse files Browse the repository at this point in the history
add additional Raspberry Pi Variants
  • Loading branch information
Jon-Bright committed Aug 11, 2022
2 parents beff2ab + f306aef commit 98f2a0b
Showing 1 changed file with 47 additions and 3 deletions.
50 changes: 47 additions & 3 deletions rpi/rpi.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,13 @@ var rasPiVariants = map[uint32]hw{
vcBase: VIDEOCORE_BASE_RPI2,
name: "Pi 400 - 4GB v1.0",
},
0xC03131: {
hwType: RPI_HWVER_TYPE_PI4,
periphBase: PERIPH_BASE_RPI4,
vcBase: VIDEOCORE_BASE_RPI2,
name: "Pi 400 - 4GB v1.1",
},

//
// Raspberry Pi 4
//
Expand Down Expand Up @@ -136,18 +143,49 @@ var rasPiVariants = map[uint32]hw{
vcBase: VIDEOCORE_BASE_RPI2,
name: "Pi 4 Model B - 4GB v1.2",
},
0xB03114: {
hwType: RPI_HWVER_TYPE_PI4,
periphBase: PERIPH_BASE_RPI4,
vcBase: VIDEOCORE_BASE_RPI2,
name: "Pi 4 Model B - 2GB v1.4",
},
0xC03114: {
hwType: RPI_HWVER_TYPE_PI4,
periphBase: PERIPH_BASE_RPI4,
vcBase: VIDEOCORE_BASE_RPI2,
name: "Pi 4 Model B - 4GB v1.4",
},
0xD03114: {
hwType: RPI_HWVER_TYPE_PI4,
periphBase: PERIPH_BASE_RPI4,
vcBase: VIDEOCORE_BASE_RPI2,
name: "Pi 4 Model B - 8GB v1.2",
name: "Pi 4 Model B - 8GB v1.4",
},
0xB03114: {
0xA03115: {
hwType: RPI_HWVER_TYPE_PI4,
periphBase: PERIPH_BASE_RPI4,
vcBase: VIDEOCORE_BASE_RPI2,
name: "Pi 4 Model B - 2GB v1.4",
name: "Pi 4 Model B - 1GB v1.5",
},
0xB03115: {
hwType: RPI_HWVER_TYPE_PI4,
periphBase: PERIPH_BASE_RPI4,
vcBase: VIDEOCORE_BASE_RPI2,
name: "Pi 4 Model B - 2GB v1.5",
},
0xC03115: {
hwType: RPI_HWVER_TYPE_PI4,
periphBase: PERIPH_BASE_RPI4,
vcBase: VIDEOCORE_BASE_RPI2,
name: "Pi 4 Model B - 4GB v1.5",
},
0xD03115: {
hwType: RPI_HWVER_TYPE_PI4,
periphBase: PERIPH_BASE_RPI4,
vcBase: VIDEOCORE_BASE_RPI2,
name: "Pi 4 Model B - 8GB v1.5",
},

//
// Model B Rev 1.0
//
Expand Down Expand Up @@ -301,6 +339,12 @@ var rasPiVariants = map[uint32]hw{
vcBase: VIDEOCORE_BASE_RPI,
name: "Pi Zero W v1.1",
},
0x902120: {
hwType: RPI_HWVER_TYPE_PI2,
periphBase: PERIPH_BASE_RPI2,
vcBase: VIDEOCORE_BASE_RPI2,
name: "Pi Zero 2 W v1.0",
},

//
// Model A+
Expand Down

0 comments on commit 98f2a0b

Please sign in to comment.