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,63 @@
{
"gpio_configs":[
{
"Name" : "IdButton",
"LineName" : "FP_ID_BTN_SCM_N",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "PostComplete",
"LineName" : "FM_BIOS_POST_CMPLT_BMC_N",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "PowerButton",
"LineName" : "SYS_BMC_PWRBTN_R_N",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "PowerOk",
"LineName" : "PWRGD_PS_PWROK_PLD_R",
"Type" : "GPIO",
"Polarity" : "ActiveHigh"
},
{
"Name" : "PowerOut",
"LineName" : "SYS_PWRBTN_N",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "ResetButton",
"LineName" : "FP_RST_BTN_N",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "ResetOut",
"LineName" : "FM_BMC_RSTBTN_OUT_N",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
},
{
"Name" : "NMIOut",
"LineName" : "IRQ_BMC_PCH_NMI_R",
"Type" : "GPIO",
"Polarity" : "ActiveLow"
}
],
"timing_configs":{
"PowerPulseMs": 200,
"ForceOffPulseMs": 15000,
"ResetPulseMs": 5500,
"PowerCycleMs": 10000,
"SioPowerGoodWatchdogMs": 1000,
"PsPowerOKWatchdogMs": 8000,
"GracefulPowerOffS": 300,
"WarmResetCheckMs": 500,
"PowerOffSaveMs": 7000
}
}
@@ -0,0 +1,7 @@
FILESEXTRAPATHS:prepend:s6q := "${THISDIR}/${PN}:"
SRC_URI:append:s6q = " file://power-config-host0.json"
do_install:append:s6q() {
install -m 0755 -d ${D}/${datadir}/${BPN}
install -m 0644 ${WORKDIR}/power-config-host0.json ${D}${datadir}/${BPN}
}