Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
@@ -0,0 +1,11 @@
[Unit]
Description=System unit to hard reset or system reset chassis for yosemitev2
[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=i2cset -f -y 10 0x40 0xd9 c
[Install]
WantedBy=chassis-system-reset.target
@@ -0,0 +1,52 @@
{
"gpio_configs":[
{
"Name" : "PostComplete",
"LineName" : "POST_COMPLETE",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "SlotPower",
"LineName" : "SLOT1_POWER",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "PowerOut",
"LineName" : "POWER_OUT1",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "ResetOut",
"LineName" : "RESET_OUT1",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "PowerOk",
"DbusName" : "xyz.openbmc_project.IpmbSensor",
"Path" : "/xyz/openbmc_project/gpio/ipmbGpioState/1_CPU_Good",
"Interface" : "xyz.openbmc_project.Chassis.Control.Power",
"Property" : "PGood",
"Type" : "DBUS"
}
],
"timing_configs":{
"PowerPulseMs": 200,
"ForceOffPulseMs": 15000,
"ResetPulseMs": 500,
"PowerCycleMs": 5000,
"SioPowerGoodWatchdogMs": 1000,
"PsPowerOKWatchdogMs": 8000,
"GracefulPowerOffS": 300,
"WarmResetCheckMs": 500,
"PowerOffSaveMs": 7000,
"slotPowerCycleTimeMs": 200
}
}
@@ -0,0 +1,52 @@
{
"gpio_configs":[
{
"Name" : "PostComplete",
"LineName" : "POST_COMPLETE2",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "SlotPower",
"LineName" : "SLOT2_POWER",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "PowerOut",
"LineName" : "POWER_OUT2",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "ResetOut",
"LineName" : "RESET_OUT2",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "PowerOk",
"DbusName" : "xyz.openbmc_project.IpmbSensor",
"Path" : "/xyz/openbmc_project/gpio/ipmbGpioState/2_CPU_Good",
"Interface" : "xyz.openbmc_project.Chassis.Control.Power",
"Property" : "PGood",
"Type" : "DBUS"
}
],
"timing_configs":{
"PowerPulseMs": 200,
"ForceOffPulseMs": 15000,
"ResetPulseMs": 500,
"PowerCycleMs": 5000,
"SioPowerGoodWatchdogMs": 1000,
"PsPowerOKWatchdogMs": 8000,
"GracefulPowerOffS": 300,
"WarmResetCheckMs": 500,
"PowerOffSaveMs": 7000,
"slotPowerCycleTimeMs": 200
}
}
@@ -0,0 +1,52 @@
{
"gpio_configs":[
{
"Name" : "PostComplete",
"LineName" : "POST_COMPLETE3",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "SlotPower",
"LineName" : "SLOT3_POWER",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "PowerOut",
"LineName" : "POWER_OUT3",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "ResetOut",
"LineName" : "RESET_OUT3",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "PowerOk",
"DbusName" : "xyz.openbmc_project.IpmbSensor",
"Path" : "/xyz/openbmc_project/gpio/ipmbGpioState/3_CPU_Good",
"Interface" : "xyz.openbmc_project.Chassis.Control.Power",
"Property" : "PGood",
"Type" : "DBUS"
}
],
"timing_configs":{
"PowerPulseMs": 200,
"ForceOffPulseMs": 15000,
"ResetPulseMs": 500,
"PowerCycleMs": 5000,
"SioPowerGoodWatchdogMs": 1000,
"PsPowerOKWatchdogMs": 8000,
"GracefulPowerOffS": 300,
"WarmResetCheckMs": 500,
"PowerOffSaveMs": 7000,
"slotPowerCycleTimeMs": 200
}
}
@@ -0,0 +1,52 @@
{
"gpio_configs":[
{
"Name" : "PostComplete",
"LineName" : "POST_COMPLETE4",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "SlotPower",
"LineName" : "SLOT4_POWER",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "PowerOut",
"LineName" : "POWER_OUT4",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "ResetOut",
"LineName" : "RESET_OUT4",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "PowerOk",
"DbusName" : "xyz.openbmc_project.IpmbSensor",
"Path" : "/xyz/openbmc_project/gpio/ipmbGpioState/4_CPU_Good",
"Interface" : "xyz.openbmc_project.Chassis.Control.Power",
"Property" : "PGood",
"Type" : "DBUS"
}
],
"timing_configs":{
"PowerPulseMs": 200,
"ForceOffPulseMs": 15000,
"ResetPulseMs": 500,
"PowerCycleMs": 5000,
"SioPowerGoodWatchdogMs": 1000,
"PsPowerOKWatchdogMs": 8000,
"GracefulPowerOffS": 300,
"WarmResetCheckMs": 500,
"PowerOffSaveMs": 7000,
"slotPowerCycleTimeMs": 200
}
}