Initial commit
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user