diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2020-04-22 21:06:02 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-04-27 19:52:12 +0300 |
commit | e161514219e0dc8a957dabbb8529fb9fcac4e115 (patch) | |
tree | 5de46006517d690f5793eec41281d60611228ecd /meta-ibm/recipes-phosphor/power/power-sequencer | |
parent | a3f54c8b8cbd50bc86efdc52cfb7d348d8c19d21 (diff) | |
download | openbmc-e161514219e0dc8a957dabbb8529fb9fcac4e115.tar.xz |
meta-ibm: move all meta-witherspoon metadata
The metadata common to all IBM systems is confusingly split between
meta-ibm and meta-witherspoon. Move everything to meta-ibm.
The meta-ibm README is re-written to more accurately reflect the scope
of the layer.
Allow the configuration samples (bblayers.conf.sample,
local.conf.sample) to be sourced from either meta-ibm or
meta-witherspoon until such a time that any workflows and tooling have
had the opportunity to move to meta-ibm.
(From meta-ibm rev: 6e05ef2e90b214eaf4e43ee7027bbbb1d8d09442)
Change-Id: I3ec890d5300f9649c974ea6b9dca93a2e8a889ab
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-ibm/recipes-phosphor/power/power-sequencer')
3 files changed, 484 insertions, 0 deletions
diff --git a/meta-ibm/recipes-phosphor/power/power-sequencer/rainier/ucd90160.yaml b/meta-ibm/recipes-phosphor/power/power-sequencer/rainier/ucd90160.yaml new file mode 100644 index 000000000..a6bba44ce --- /dev/null +++ b/meta-ibm/recipes-phosphor/power/power-sequencer/rainier/ucd90160.yaml @@ -0,0 +1,201 @@ +- Device: + index: 0 + # Linux sysfs path for this power sequencer (0x22 8-bit address) + path: /sys/bus/i2c/devices/i2c-8/8-0011 + RailNames: + - "12.0V" + - "5.0V_USB" + - "5.0V_DASD" + - "3.3VA" + - "3.3VB" + - "1.5V" + - "1.1V" + - "VDDA_DCM0" + - "VDDB_DCM0" + - "VDDA_DCM1" + - "VDDB_DCM1" + - "12.0VCS" + - "3.3VCS" + - "1.1V_Current" + - "5.0V_USB_Current" + - "5.0V_DASD_Current" + - "12.0VN" + - "12.0VP" + - "12.0VQ" + - "12.0VR" + - "ThermalDiode1" + - "ThermalDiode2" + - "ThermalDiode3" + - "ThermalDiode4" + GPIConfigs: + - name: PCIE_SLOT0 + gpi: 1 + pinID: 44 + poll: false + analysis: none + - name: PCIE_SLOT1 + gpi: 2 + pinID: 45 + poll: false + analysis: none + - name: PCIE_SLOT2 + gpi: 3 + pinID: 46 + poll: false + analysis: none + - name: PCIE_SLOT3 + gpi: 4 + pinID: 47 + poll: false + analysis: none + - name: PCIE_SLOT4 + gpi: 5 + pinID: 48 + poll: false + analysis: none + - name: PCIE_SLOT7 + gpi: 6 + pinID: 49 + poll: false + analysis: none + - name: PCIE_SLOT8 + gpi: 7 + pinID: 50 + poll: false + analysis: none + - name: PCIE_SLOT9 + gpi: 8 + pinID: 51 + poll: false + analysis: none + - name: PCIE_SLOT10 + gpi: 9 + pinID: 52 + poll: false + analysis: none + - name: PCIE_SLOT11 + gpi: 10 + pinID: 53 + poll: false + analysis: none + - name: SOFTWARE_PGOOD + gpi: 11 + pinID: 55 + poll: false + analysis: none + - name: PGOOD_12A + gpi: 12 + pinID: 56 + poll: false + analysis: none + - name: PGOOD_12B + gpi: 13 + pinID: 57 + poll: false + analysis: none + - name: PGOOD_12C + gpi: 14 + pinID: 58 + poll: false + analysis: none + - name: PGOOD_12D + gpi: 15 + pinID: 59 + poll: false + analysis: none + - name: PGOOD_12L + gpi: 16 + pinID: 60 + poll: false + analysis: none + - name: PGOOD_12M + gpi: 17 + pinID: 61 + poll: false + analysis: none + - name: PGOOD_12N + gpi: 18 + pinID: 62 + poll: false + analysis: none + - name: PGOOD_12P + gpi: 19 + pinID: 63 + poll: false + analysis: none + - name: PGOOD_12PCIE + gpi: 20 + pinID: 64 + poll: false + analysis: none + - name: PGOOD_12Q + gpi: 21 + pinID: 65 + poll: false + analysis: none + - name: PGOOD_12R + gpi: 22 + pinID: 66 + poll: false + analysis: none + - name: PGOOD_VDN_DCM0 + gpi: 23 + pinID: 72 + poll: false + analysis: none + - name: PGOOD_VDN_DCM1 + gpi: 24 + pinID: 73 + poll: false + analysis: none + - name: PGOOD_VCS_DCM0 + gpi: 25 + pinID: 74 + poll: false + analysis: none + - name: PGOOD_VCS_DCM1 + gpi: 26 + pinID: 75 + poll: false + analysis: none + - name: PGOOD_VIO_DCM0 + gpi: 27 + pinID: 76 + poll: false + analysis: none + - name: PGOOD_VIO_DCM1 + gpi: 28 + pinID: 77 + poll: false + analysis: none + - name: PGOOD_VPCIE_DCM0 + gpi: 29 + pinID: 78 + poll: false + analysis: none + - name: PGOOD_VPCIE_DCM1 + gpi: 30 + pinID: 79 + poll: false + analysis: none + - name: PGOOD_PSU1 + gpi: 31 + pinID: 80 + poll: false + analysis: none + - name: PGOOD_PSU2 + gpi: 32 + pinID: 81 + poll: false + analysis: none + - name: PGOOD_PSU3 + gpi: 33 + pinID: 82 + poll: false + analysis: none + - name: PGOOD_PSU4 + gpi: 34 + pinID: 83 + poll: false + analysis: none + diff --git a/meta-ibm/recipes-phosphor/power/power-sequencer/swift/ucd90160.yaml b/meta-ibm/recipes-phosphor/power/power-sequencer/swift/ucd90160.yaml new file mode 100644 index 000000000..abb2ce326 --- /dev/null +++ b/meta-ibm/recipes-phosphor/power/power-sequencer/swift/ucd90160.yaml @@ -0,0 +1,180 @@ +- Device: + index: 0 + # Linux sysfs path for this power sequencer (0xC8 8-bit address) + path: /sys/bus/i2c/devices/i2c-8/8-0064 + RailNames: + - "12.0V" + - "3.3V" + - "1.8V" + - "1.1V" + - "0.8V_SW" + - "5.0V" + - "VDN0" + - "VDN1" + - "AVDD" + - "VIO0" + - "VIO1" + - "VDD0" + - "VDD1" + - "VCS0" + - "VCS1" + GPIConfigs: + - name: PGOOD_5P0V + gpi: 1 + pinID: 8 + poll: false + analysis: none + - name: MEM_GOOD0 + gpi: 2 + pinID: 9 + poll: false + analysis: memGOOD0 + - name: MEM_GOOD1 + gpi: 3 + pinID: 10 + poll: false + analysis: memGOOD1 + - name: GPU_PGOOD + gpi: 4 + pinID: 14 + poll: false + analysis: gpuPGOOD # Extra GPIOAnalysis to run if faulted + - name: GPU_TH_OVERT + gpi: 5 + pinID: 17 + poll: false + analysis: gpuOverTemp # Extra GPIOAnalysis to run if faulted + - name: SOFTWARE_PGOOD + gpi: 6 + pinID: 11 + poll: false + analysis: none + GPIOAnalysis: + - type: gpuPGOOD + # The PCA9xxx chip device path and address (0xC0 8-bit = 0x60 7-bit) + path: /sys/bus/i2c/devices/i2c-8/8-0060 + gpio_value: low # What GPIO value indicates a fault/problem? + error_function: gpuPGOODError # Extra analysis function to call for this type + option_flags: none + GPIODefinitions: + - GPIODefinition: GPU Card 0 + gpio: 8 # GPIO pin/register to check for fault + # Call out path for fault + callout: /system/chassis/motherboard/gv100card0 + - GPIODefinition: GPU Card 1 + gpio: 9 + callout: /system/chassis/motherboard/gv100card1 + - GPIODefinition: GPU Card 2 + gpio: 10 + callout: /system/chassis/motherboard/gv100card2 + - GPIODefinition: GPU Card 3 + gpio: 11 + callout: /system/chassis/motherboard/gv100card3 + - type: gpuOverTemp + # The PCA9xxx chip device path and address (0xC0 8-bit = 0x60 7-bit) + path: /sys/bus/i2c/devices/i2c-8/8-0060 + gpio_value: low # What GPIO value indicates a fault/problem? + error_function: gpuOverTempError # Extra analysis function to call for this type + option_flags: shutdownOnFault + GPIODefinitions: + - GPIODefinition: GPU Card 0 Overtemperature + gpio: 2 # GPIO pin/register to check for fault + # Call out path for fault + callout: /system/chassis/motherboard/gv100card0 + - GPIODefinition: GPU Card 1 Overtemperature + gpio: 3 + callout: /system/chassis/motherboard/gv100card1 + - GPIODefinition: GPU Card 2 Overtemperature + gpio: 4 + callout: /system/chassis/motherboard/gv100card2 + - GPIODefinition: GPU Card 3 Overtemperature + gpio: 5 + callout: /system/chassis/motherboard/gv100card3 + - type: memGOOD0 + # The PCA9xxx chip device path and address (0xE8 8-bit = 0x74 7-bit) + path: /sys/bus/i2c/devices/i2c-9/9-0074 + gpio_value: low # What GPIO value indicates a fault/problem? + error_function: memGoodError # Extra analysis function to call for this type + option_flags: none + GPIODefinitions: + - GPIODefinition: CPU 0 OMI0A PGOOD + gpio: 0 # GPIO pin/register to check for fault + # Call out path for fault + callout: /system/chassis/motherboard/dimm4 + - GPIODefinition: CPU 0 OMI0B PGOOD + gpio: 1 + callout: /system/chassis/motherboard/dimm3 + - GPIODefinition: CPU 0 OMI0C PGOOD + gpio: 2 + callout: /system/chassis/motherboard/dimm2 + - GPIODefinition: CPU 0 OMI1A PGOOD + gpio: 3 + callout: /system/chassis/motherboard/dimm5 + - GPIODefinition: CPU 0 OMI1B PGOOD + gpio: 4 + callout: /system/chassis/motherboard/dimm10 + - GPIODefinition: CPU 0 OMI1C PGOOD + gpio: 5 + callout: /system/chassis/motherboard/dimm8 + - GPIODefinition: CPU 0 OMI2A PGOOD + gpio: 6 + callout: /system/chassis/motherboard/dimm11 + - GPIODefinition: CPU 0 OMI2B PGOOD + gpio: 7 + callout: /system/chassis/motherboard/dimm9 + - GPIODefinition: CPU 0 OMI3A PGOOD + gpio: 8 + callout: /system/chassis/motherboard/dimm0 + - GPIODefinition: CPU 0 OMI3B PGOOD + gpio: 9 + callout: /system/chassis/motherboard/dimm1 + - GPIODefinition: CPU 0 OMI3C PGOOD + gpio: 10 + callout: /system/chassis/motherboard/dimm7 + - GPIODefinition: CPU 0 OMI4A PGOOD + gpio: 11 + callout: /system/chassis/motherboard/dimm6 + - type: memGOOD1 + # The PCA9xxx chip device path and address (0xE8 8-bit = 0x74 7-bit) + path: /sys/bus/i2c/devices/i2c-10/10-0074 + gpio_value: low # What GPIO value indicates a fault/problem? + error_function: memGoodError # Extra analysis function to call for this type + option_flags: none + GPIODefinitions: + - GPIODefinition: CPU 1 OMI0A PGOOD + gpio: 0 # GPIO pin/register to check for fault + # Call out path for fault + callout: /system/chassis/motherboard/dimm16 + - GPIODefinition: CPU 1 OMI0B PGOOD + gpio: 1 + callout: /system/chassis/motherboard/dimm15 + - GPIODefinition: CPU 1 OMI0C PGOOD + gpio: 2 + callout: /system/chassis/motherboard/dimm14 + - GPIODefinition: CPU 1 OMI1A PGOOD + gpio: 3 + callout: /system/chassis/motherboard/dimm17 + - GPIODefinition: CPU 1 OMI1B PGOOD + gpio: 4 + callout: /system/chassis/motherboard/dimm22 + - GPIODefinition: CPU 1 OMI1C PGOOD + gpio: 5 + callout: /system/chassis/motherboard/dimm20 + - GPIODefinition: CPU 1 OMI2A PGOOD + gpio: 6 + callout: /system/chassis/motherboard/dimm23 + - GPIODefinition: CPU 1 OMI2B PGOOD + gpio: 7 + callout: /system/chassis/motherboard/dimm21 + - GPIODefinition: CPU 1 OMI3A PGOOD + gpio: 8 + callout: /system/chassis/motherboard/dimm12 + - GPIODefinition: CPU 1 OMI3B PGOOD + gpio: 9 + callout: /system/chassis/motherboard/dimm13 + - GPIODefinition: CPU 1 OMI3C PGOOD + gpio: 10 + callout: /system/chassis/motherboard/dimm19 + - GPIODefinition: CPU 1 OMI4A PGOOD + gpio: 11 + callout: /system/chassis/motherboard/dimm18 diff --git a/meta-ibm/recipes-phosphor/power/power-sequencer/witherspoon/ucd90160.yaml b/meta-ibm/recipes-phosphor/power/power-sequencer/witherspoon/ucd90160.yaml new file mode 100644 index 000000000..9dd381248 --- /dev/null +++ b/meta-ibm/recipes-phosphor/power/power-sequencer/witherspoon/ucd90160.yaml @@ -0,0 +1,103 @@ +- Device: + index: 0 + # Linux sysfs path for this power sequencer (0xC8 8-bit address) + path: /sys/bus/i2c/devices/i2c-11/11-0064 + RailNames: + - "5.0VCS" + - "12.0V" + - "3.3V" + - "1.8V" + - "1.1V" + - "1.0V" + - "0.9V" + - "VDN-A" + - "VDN-B" + - "AVDD" + - "VIO-A" + - "VIO-B" + - "VDD-A" + - "VDD-B" + - "VCS-A" + - "VCS-B" + GPIConfigs: + - name: PGOOD_5P0V + gpi: 1 + pinID: 8 + poll: false + analysis: none + - name: MEM_GOOD0 + gpi: 2 + pinID: 9 + poll: false + analysis: none + - name: MEM_GOOD1 + gpi: 3 + pinID: 10 + poll: false + analysis: none + - name: GPU_PGOOD + gpi: 4 + pinID: 14 + poll: false + analysis: gpuPGOOD + - name: GPU_TH_OVERT + gpi: 5 + pinID: 17 + poll: true + analysis: gpuOverTemp + - name: SOFTWARE_PGOOD + gpi: 6 + pinID: 11 + poll: false + analysis: none + GPIOAnalysis: + - type: gpuPGOOD + path: /sys/bus/i2c/devices/i2c-11/11-0060 + gpio_value: low + error_function: gpuPGOODError + option_flags: none + GPIODefinitions: + - GPIODefinition: GPU Card 0 + gpio: 8 + callout: /system/chassis/motherboard/gv100card0 + - GPIODefinition: GPU Card 1 + gpio: 9 + callout: /system/chassis/motherboard/gv100card1 + - GPIODefinition: GPU Card 2 + gpio: 10 + callout: /system/chassis/motherboard/gv100card2 + - GPIODefinition: GPU Card 3 + gpio: 11 + callout: /system/chassis/motherboard/gv100card3 + - GPIODefinition: GPU Card 4 + gpio: 12 + callout: /system/chassis/motherboard/gv100card4 + - GPIODefinition: GPU Card 5 + gpio: 13 + callout: /system/chassis/motherboard/gv100card5 + - type: gpuOverTemp # Extra analysis function to call for this type + # The PCA9xxx chip device path and address (0xC0 8-bit = 0x60 7-bit) + path: /sys/bus/i2c/devices/i2c-11/11-0060 + gpio_value: low # What GPIO value indicates a fault/problem? + error_function: gpuOverTempError + option_flags: shutdownOnFault + GPIODefinitions: + - GPIODefinition: GPU Card 0 Overtemperature + gpio: 2 # GPIO pin/register to check for fault + # Call out path for fault + callout: /system/chassis/motherboard/gv100card0 + - GPIODefinition: GPU Card 1 Overtemperature + gpio: 3 + callout: /system/chassis/motherboard/gv100card1 + - GPIODefinition: GPU Card 2 Overtemperature + gpio: 4 + callout: /system/chassis/motherboard/gv100card2 + - GPIODefinition: GPU Card 3 Overtemperature + gpio: 5 + callout: /system/chassis/motherboard/gv100card3 + - GPIODefinition: GPU Card 4 Overtemperature + gpio: 6 + callout: /system/chassis/motherboard/gv100card4 + - GPIODefinition: GPU Card 5 Overtemperature + gpio: 7 + callout: /system/chassis/motherboard/gv100card5 |