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,3 @@
lpc-address = 0x2f8
sirq = 3
baud = 115200
@@ -0,0 +1 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
@@ -0,0 +1 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
@@ -0,0 +1,8 @@
{
"id": 32,
"revision": 1,
"addn_dev_support": 8,
"manuf_id": 49622,
"prod_id": 514,
"aux": 0
}
@@ -0,0 +1,32 @@
{
"comments": [ "Config file for ASRock Rack ROMED8HM3" ],
"chassis": [
{
"comments": [ "Chassis number 1 containing CPUs and memory" ],
"number": 1,
"inventory_path": "system/chassis",
"devices": [
{
"comments": [ "ISL96147 regulator producing the VDDCR_CPU rail" ],
"id": "vddcr_cpu_regulator",
"is_regulator": true,
"fru": "system/board/ASRock_ROMED8HM3",
"i2c_interface": {
"bus": 6,
"address": "0x60"
},
"configuration": {
"actions": [
{
"i2c_write_bytes": {
"register": "0xf0",
"values": [ "0x07", "0x31" ]
}
}
]
}
}
]
}
]
}
@@ -0,0 +1,11 @@
FILESEXTRAPATHS:append := ":${THISDIR}/${PN}"
SRC_URI += "file://config.json"
inherit obmc-phosphor-systemd
SYSTEMD_LINK:${PN}-regulators += " ../${REGS_CONF_SVC}:xyz.openbmc_project.Chassis.Control.Power@0.service.requires/${REGS_CONF_SVC}"
do_install:append() {
PR_CFGDIR=${D}/${datadir}/phosphor-regulators
install -d "$PR_CFGDIR"
install -m 0644 ${WORKDIR}/config.json "$PR_CFGDIR"
}