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,91 @@
{
"gpio_configs":[
{
"Name" : "IdButton",
"LineName" : "ID_BUTTON",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "NMIButton",
"LineName" : "NMI_BUTTON",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "NMIOut",
"LineName" : "NMI_OUT",
"Type" : "GPIO",
"Polarity" : "ActiveHigh"
},
{
"Name" : "PostComplete",
"LineName" : "POST_COMPLETE",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "PowerButton",
"DbusName" : "xyz.openbmc_project.Chassis.Gpios",
"Path" : "/xyz/openbmc_project/chassis/gpios",
"Interface" : "xyz.openbmc_project.Chassis.Gpios",
"Property" : "PButton",
"Type" : "DBUS"
},
{
"Name" : "PowerOk",
"DbusName" : "xyz.openbmc_project.Chassis.Gpios",
"Path" : "/xyz/openbmc_project/chassis/gpios",
"Interface" : "xyz.openbmc_project.Chassis.Gpios",
"Property" : "PGood",
"Type" : "DBUS"
},
{
"Name" : "PowerOut",
"LineName" : "POWER_OUT",
"Type" : "GPIO",
"Polarity" : "ActiveHigh"
},
{
"Name" : "ResetButton",
"LineName" : "RESET_BUTTON",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "ResetOut",
"LineName" : "RESET_OUT",
"Type" : "GPIO",
"Polarity" : "ActiveHigh"
},
{
"Name" : "SioOnControl",
"LineName" : "",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "SioPowerGood",
"LineName" : "",
"Type" : "GPIO",
"Polarity" : "ActiveHigh"
},
{
"Name" : "SIOS5",
"LineName" : "",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
}
],
"timing_configs":{
"PowerPulseMs": 200,
"ForceOffPulseMs": 15000,
"ResetPulseMs": 500,
"PowerCycleMs": 5000,
"SioPowerGoodWatchdogMs": 1000,
"PsPowerOKWatchdogMs": 8000,
"GracefulPowerOffS": 300,
"WarmResetCheckMs": 500,
"PowerOffSaveMs": 7000
}
}
@@ -0,0 +1,9 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://power-config-host0.json"
do_configure:prepend() {
cp ${WORKDIR}/power-config-host0.json ${S}/power-control-x86/config
}