Initial commit
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
DEVPATH=/sys/bus/i2c/devices/3-0069
|
||||
INSTANCE=0
|
||||
INVENTORY=/system/chassis/motherboard/powersupply0
|
||||
NUM_HISTORY_RECORDS=120
|
||||
SYNC_GPIO_PATH=/dev/gpiochip0
|
||||
SYNC_GPIO_NUM=105
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
DEVPATH=/sys/bus/i2c/devices/3-0068
|
||||
INSTANCE=1
|
||||
INVENTORY=/system/chassis/motherboard/powersupply1
|
||||
NUM_HISTORY_RECORDS=120
|
||||
SYNC_GPIO_PATH=/dev/gpiochip0
|
||||
SYNC_GPIO_NUM=105
|
||||
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Power Sequencer Power-on Monitor
|
||||
Wants=obmc-power-start@0.service
|
||||
After=obmc-power-start@0.service
|
||||
Wants=power-workarounds@0.service
|
||||
After=power-workarounds@0.service
|
||||
Conflicts=obmc-chassis-poweroff@0.target
|
||||
ConditionPathExists=!/run/openbmc/chassis@0-on
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/pseq-monitor -a pgood-monitor -i 5000
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"inventoryPMBusAccessType": "HwmonDeviceDebug",
|
||||
"fruConfigs": [
|
||||
{
|
||||
"propertyName": "PartNumber",
|
||||
"fileName": "part_number",
|
||||
"interface": "xyz.openbmc_project.Inventory.Decorator.Asset"
|
||||
},
|
||||
{
|
||||
"propertyName": "SerialNumber",
|
||||
"fileName": "serial_number",
|
||||
"interface": "xyz.openbmc_project.Inventory.Decorator.Asset"
|
||||
},
|
||||
{
|
||||
"propertyName": "Model",
|
||||
"fileName": "ccin",
|
||||
"interface": "xyz.openbmc_project.Inventory.Decorator.Asset"
|
||||
},
|
||||
{
|
||||
"propertyName": "Version",
|
||||
"fileName": "fw_version",
|
||||
"interface": "xyz.openbmc_project.Software.Version"
|
||||
}
|
||||
],
|
||||
"psuDevices": {
|
||||
"/xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply0" : "/sys/bus/i2c/devices/3-0069",
|
||||
"/xyz/openbmc_project/inventory/system/chassis/motherboard/powersupply1" : "/sys/bus/i2c/devices/3-0068"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user