Skip to content

Commit

Permalink
configurations: Add Bonnell and Pennybacker
Browse files Browse the repository at this point in the history
Add IBM's Bonnell chassis and its backplane Pennybacker.
The IM value for Bonnell is 50004000 as defined by the vpd repo:
```
https://github.com/openbmc/openpower-vpd-parser/blob/master/const.hpp
```
The CC value for Pennybacker is 2E44.
The sensor values for the power supplies are defined in the kernel
device tree:
```
https://github.com/openbmc/linux/blob/dev-6.0/arch/arm/boot/dts/aspeed-bmc-ibm-bonnell.dts
```

Tested: Verified that the new json files were added to the rootfs image
and that CI passed.

Change-Id: I32c8de73eb4c934da864672677a2a6dae653d241
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
  • Loading branch information
anoo1 authored and ZhikuiRen committed Feb 7, 2023
1 parent e5c473f commit 0b5b122
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
16 changes: 16 additions & 0 deletions configurations/bonnell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"Exposes": [
{
"Name": "Compatible System",
"Names": [
"ibm,bonnell"
],
"Type": "IBMCompatibleSystem"
}
],
"Name": "Bonnell Chassis",
"Probe": [
"com.ibm.ipzvpd.VSBP({'IM': [80, 0, 64, 0]})"
],
"Type": "Chassis"
}
29 changes: 29 additions & 0 deletions configurations/pennybacker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"Exposes": [
{
"I2CAddress": 88,
"I2CBus": 3,
"Name": "Power Supply Slot 0",
"NamedPresenceGpio": "presence-ps0",
"Type": "IBMCFFPSConnector"
},
{
"I2CAddress": 89,
"I2CBus": 3,
"Name": "Power Supply Slot 1",
"NamedPresenceGpio": "presence-ps1",
"Type": "IBMCFFPSConnector"
},
{
"Address": "0x64",
"Bus": 2,
"Name": "UCD90160 Power Sequencer",
"Type": "UCD90160"
}
],
"Name": "Pennybacker Backplane",
"Probe": [
"com.ibm.ipzvpd.VINI({'CC': [50, 69, 52, 52]})"
],
"Type": "Board"
}
2 changes: 2 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ configs = [
'axx2prthdhd.json',
'bnp_baseboard.json',
'bellavista.json',
'bonnell.json',
'delta_awf2dc3200w_psu.json',
'delta_dps-750xb_psu.json',
'delta_dps-1600ab_psu.json',
Expand Down Expand Up @@ -121,6 +122,7 @@ configs = [
'nisqually.json',
'nvme_p4000.json',
'pcie_ssd_retimer.json',
'pennybacker.json',
'pssf132202a.json',
'pssf162205a.json',
'pssf212201a.json',
Expand Down
1 change: 1 addition & 0 deletions schemas/ibm.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
"type": "array",
"items": {
"enum": [
"ibm,bonnell",
"ibm,everest",
"ibm,rainier-2u",
"ibm,rainier-1s4u",
Expand Down

0 comments on commit 0b5b122

Please sign in to comment.