diff options
Diffstat (limited to 'meta-quanta')
48 files changed, 562 insertions, 416 deletions
diff --git a/meta-quanta/MAINTAINERS b/meta-quanta/MAINTAINERS new file mode 100644 index 000000000..f309c5644 --- /dev/null +++ b/meta-quanta/MAINTAINERS @@ -0,0 +1,46 @@ +How to use this list: + Find the most specific section entry (described below) that matches where + your change lives and add the reviewers (R) and maintainers (M) as + reviewers. You can use the same method to track down who knows a particular + code base best. + + Your change/query may span multiple entries; that is okay. + + If you do not find an entry that describes your request at all, someone + forgot to update this list; please at least file an issue or send an email + to a maintainer, but preferably you should just update this document. + +Description of section entries: + + Section entries are structured according to the following scheme: + + X: NAME <EMAIL_USERNAME@DOMAIN> <IRC_USERNAME!> + X: ... + . + . + . + + Where REPO_NAME is the name of the repository within the OpenBMC GitHub + organization; FILE_PATH is a file path within the repository, possibly with + wildcards; X is a tag of one of the following types: + + M: Denotes maintainer; has fields NAME <EMAIL_USERNAME@DOMAIN> <IRC_USERNAME!>; + if omitted from an entry, assume one of the maintainers from the + MAINTAINERS entry. + R: Denotes reviewer; has fields NAME <EMAIL_USERNAME@DOMAIN> <IRC_USERNAME!>; + these people are to be added as reviewers for a change matching the repo + path. + F: Denotes forked from an external repository; has fields URL. + + Line comments are to be denoted "# SOME COMMENT" (typical shell style + comment); it is important to follow the correct syntax and semantics as we + may want to use automated tools with this file in the future. + + A change cannot be added to an OpenBMC repository without a MAINTAINER's + approval; thus, a MAINTAINER should always be listed as a reviewer. + +START OF MAINTAINERS LIST +------------------------- + +M: Benjamin Fair <benjaminfair@google.com> <benjaminfair!> +M: Samuel Jiang <Samuel.Jiang@quantatw.com> <samueljiang!> diff --git a/meta-quanta/meta-gsj/conf/machine/gsj.conf b/meta-quanta/meta-gsj/conf/machine/gsj.conf index cad99697d..328796aa0 100644 --- a/meta-quanta/meta-gsj/conf/machine/gsj.conf +++ b/meta-quanta/meta-gsj/conf/machine/gsj.conf @@ -2,6 +2,7 @@ KMACHINE = "nuvoton" KERNEL_DEVICETREE = "${KMACHINE}-npcm730-gsj.dtb" UBOOT_MACHINE = "PolegSVB_config" +IGPS_MACHINE = "EB" FLASH_SIZE = "32768" require conf/machine/include/npcm7xx.inc diff --git a/meta-quanta/meta-runbmc-nuvoton/conf/bblayers.conf.sample b/meta-quanta/meta-olympus-nuvoton/conf/bblayers.conf.sample index 1e6f3b030..a4fbed41f 100644 --- a/meta-quanta/meta-runbmc-nuvoton/conf/bblayers.conf.sample +++ b/meta-quanta/meta-olympus-nuvoton/conf/bblayers.conf.sample @@ -13,7 +13,7 @@ BBLAYERS ?= " \ ##OEROOT##/meta-phosphor \ ##OEROOT##/meta-nuvoton \ ##OEROOT##/meta-quanta \ - ##OEROOT##/meta-quanta/meta-runbmc-nuvoton \ + ##OEROOT##/meta-quanta/meta-olympus-nuvoton \ " BBLAYERS_NON_REMOVABLE ?= " \ ##OEROOT##/meta \ @@ -23,5 +23,5 @@ BBLAYERS_NON_REMOVABLE ?= " \ ##OEROOT##/meta-phosphor \ ##OEROOT##/meta-nuvoton \ ##OEROOT##/meta-quanta \ - ##OEROOT##/meta-quanta/meta-runbmc-nuvoton \ + ##OEROOT##/meta-quanta/meta-olympus-nuvoton \ " diff --git a/meta-quanta/meta-runbmc-nuvoton/conf/conf-notes.txt b/meta-quanta/meta-olympus-nuvoton/conf/conf-notes.txt index 9b3c01a55..9b3c01a55 100644 --- a/meta-quanta/meta-runbmc-nuvoton/conf/conf-notes.txt +++ b/meta-quanta/meta-olympus-nuvoton/conf/conf-notes.txt diff --git a/meta-quanta/meta-runbmc-nuvoton/conf/layer.conf b/meta-quanta/meta-olympus-nuvoton/conf/layer.conf index ccb683fe8..5d5fdb733 100644 --- a/meta-quanta/meta-runbmc-nuvoton/conf/layer.conf +++ b/meta-quanta/meta-olympus-nuvoton/conf/layer.conf @@ -5,6 +5,6 @@ BBPATH .= ":${LAYERDIR}" BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ ${LAYERDIR}/recipes-*/*/*.bbappend" -BBFILE_COLLECTIONS += "runbmc-nuvoton-layer" -BBFILE_PATTERN_runbmc-nuvoton-layer := "^${LAYERDIR}/" -LAYERSERIES_COMPAT_runbmc-nuvoton-layer = "warrior zeus" +BBFILE_COLLECTIONS += "olympus-nuvoton-layer" +BBFILE_PATTERN_olympus-nuvoton-layer := "^${LAYERDIR}/" +LAYERSERIES_COMPAT_olympus-nuvoton-layer = "warrior zeus" diff --git a/meta-quanta/meta-runbmc-nuvoton/conf/local.conf.sample b/meta-quanta/meta-olympus-nuvoton/conf/local.conf.sample index 37ae2b3a8..76d1a9716 100644 --- a/meta-quanta/meta-runbmc-nuvoton/conf/local.conf.sample +++ b/meta-quanta/meta-olympus-nuvoton/conf/local.conf.sample @@ -1,4 +1,4 @@ -MACHINE ??= "runbmc-nuvoton" +MACHINE ??= "olympus-nuvoton" DISTRO ?= "openbmc-phosphor" PACKAGE_CLASSES ?= "package_rpm" SANITY_TESTED_DISTROS_append ?= " *" diff --git a/meta-quanta/meta-runbmc-nuvoton/conf/machine/runbmc-nuvoton.conf b/meta-quanta/meta-olympus-nuvoton/conf/machine/olympus-nuvoton.conf index c8e8257ca..f13b5c5ac 100644 --- a/meta-quanta/meta-runbmc-nuvoton/conf/machine/runbmc-nuvoton.conf +++ b/meta-quanta/meta-olympus-nuvoton/conf/machine/olympus-nuvoton.conf @@ -11,6 +11,7 @@ FLASH_ROFS_OFFSET = "8192" FLASH_RWFS_OFFSET = "29696" UBOOT_MACHINE = "PolegRunBMC_defconfig" +IGPS_MACHINE = "RunBMC" IMAGE_FSTYPES += " cpio.${INITRAMFS_CTYPE}.u-boot" IMAGE_FSTYPES += " mtd-ubi-tar" diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton/fw_env.config b/meta-quanta/meta-olympus-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton/fw_env.config index 0c384273f..0c384273f 100644 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton/fw_env.config +++ b/meta-quanta/meta-olympus-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton/fw_env.config diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_%.bbappend b/meta-quanta/meta-olympus-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_%.bbappend index 91518decf..91518decf 100644 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_%.bbappend +++ b/meta-quanta/meta-olympus-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_%.bbappend diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-kernel/linux/linux-nuvoton/runbmc-nuvoton.cfg b/meta-quanta/meta-olympus-nuvoton/recipes-kernel/linux/linux-nuvoton/olympus-nuvoton.cfg index d970410dd..eb0eec124 100644 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-kernel/linux/linux-nuvoton/runbmc-nuvoton.cfg +++ b/meta-quanta/meta-olympus-nuvoton/recipes-kernel/linux/linux-nuvoton/olympus-nuvoton.cfg @@ -17,6 +17,7 @@ CONFIG_IIO_MUX=y CONFIG_NPCM_ADC=y CONFIG_SENSORS_IIO_HWMON=y +CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y CONFIG_LEDS_GPIO=y CONFIG_LEDS_TRIGGERS=y diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-kernel/linux/linux-nuvoton_%.bbappend b/meta-quanta/meta-olympus-nuvoton/recipes-kernel/linux/linux-nuvoton_%.bbappend index de375ce24..0ebbb1aae 100644 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-kernel/linux/linux-nuvoton_%.bbappend +++ b/meta-quanta/meta-olympus-nuvoton/recipes-kernel/linux/linux-nuvoton_%.bbappend @@ -1,3 +1,3 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/linux-nuvoton:" -SRC_URI += "file://runbmc-nuvoton.cfg" +SRC_URI += "file://olympus-nuvoton.cfg" diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/console/files/obmc-console.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/files/obmc-console.conf index f99eaff47..f99eaff47 100644 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/console/files/obmc-console.conf +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/files/obmc-console.conf diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend index 5967ce1bb..5967ce1bb 100644 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/console/obmc-console_%.bbappend diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/config-runbmc-nuvoton.json b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/fans/phosphor-pid-control/config-olympus-nuvoton.json index 5a78db6ee..5a78db6ee 100644 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/config-runbmc-nuvoton.json +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/fans/phosphor-pid-control/config-olympus-nuvoton.json diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/fan-full-speed.sh b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/fans/phosphor-pid-control/fan-full-speed.sh index 9a0d8e2e7..9a0d8e2e7 100644 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/fan-full-speed.sh +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/fans/phosphor-pid-control/fan-full-speed.sh diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/fan-reboot-control.service b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/fans/phosphor-pid-control/fan-reboot-control.service index 3ce2e01b0..3ce2e01b0 100644 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/fan-reboot-control.service +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/fans/phosphor-pid-control/fan-reboot-control.service diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/phosphor-pid-control.service b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/fans/phosphor-pid-control/phosphor-pid-control.service index 57ae69c56..57ae69c56 100644 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control/phosphor-pid-control.service +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/fans/phosphor-pid-control/phosphor-pid-control.service diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/fans/phosphor-pid-control_%.bbappend b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/fans/phosphor-pid-control_%.bbappend new file mode 100644 index 000000000..a61181dcb --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/fans/phosphor-pid-control_%.bbappend @@ -0,0 +1,29 @@ +FILESEXTRAPATHS_prepend_olympus-nuvoton := "${THISDIR}/${PN}:" + +SRC_URI_append_olympus-nuvoton = " file://config-olympus-nuvoton.json" +SRC_URI_append_olympus-nuvoton = " file://fan-full-speed.sh" +SRC_URI_append_olympus-nuvoton = " file://phosphor-pid-control.service" +SRC_URI_append_olympus-nuvoton = " file://fan-reboot-control.service" + +FILES_${PN}_append_olympus-nuvoton = " ${bindir}/fan-full-speed.sh" +FILES_${PN}_append_olympus-nuvoton = " ${datadir}/swampd/config.json" + +RDEPENDS_${PN} += "bash" + +SYSTEMD_SERVICE_${PN}_append_olympus-nuvoton = " phosphor-pid-control.service" +SYSTEMD_SERVICE_${PN}_append_olympus-nuvoton = " fan-reboot-control.service" + +do_install_append_olympus-nuvoton() { + install -d ${D}/${bindir} + install -m 0755 ${WORKDIR}/fan-full-speed.sh ${D}/${bindir} + + install -d ${D}${datadir}/swampd + install -m 0644 -D ${WORKDIR}/config-olympus-nuvoton.json \ + ${D}${datadir}/swampd/config.json + + install -d ${D}${systemd_unitdir}/system/ + install -m 0644 ${WORKDIR}/phosphor-pid-control.service \ + ${D}${systemd_unitdir}/system + install -m 0644 ${WORKDIR}/fan-reboot-control.service \ + ${D}${systemd_unitdir}/system +} diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-runbmc-channels.json b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-olympus-channels.json index 45100bd1d..45100bd1d 100644 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-runbmc-channels.json +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-olympus-channels.json diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend new file mode 100644 index 000000000..6feb2be84 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend @@ -0,0 +1,11 @@ +FILESEXTRAPATHS_prepend_olympus-nuvoton := "${THISDIR}/${PN}:" + +SRC_URI_append_olympus-nuvoton = " file://ipmb-olympus-channels.json" +FILES_${PN}_append_olympus-nuvoton = " ${datadir}/ipmbbridge/ipmb-channels.json" + +do_install_append_olympus-nuvoton() { + install -d ${D}${datadir}/ipmbbridge + install -m 0644 -D ${WORKDIR}/ipmb-olympus-channels.json \ + ${D}${datadir}/ipmbbridge/ipmb-channels.json +} + diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/adc@c000.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/adc@c000.conf new file mode 100644 index 000000000..0a91f05d9 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/adc@c000.conf @@ -0,0 +1,46 @@ +LABEL_in1 = "P3V3" +GAIN_in1=2.435 +WARNHI_in1 = "3541" +WARNLO_in1 = "3066" +CRITHI_in1 = "3647" +CRITLO_in1 = "2097" + +LABEL_in2 = "P5V" +GAIN_in2=3.68 +WARNHI_in2 = "5500" +WARNLO_in2 = "4500" +CRITHI_in2 = "5700" +CRITLO_in2 = "4000" + +LABEL_in3 = "P3V3_STBY" +GAIN_in3=2.435 +WARNHI_in3 = "3541" +WARNLO_in3 = "3066" +CRITHI_in3 = "3647" +CRITLO_in3 = "2097" + +LABEL_in4 = "P5V_STBY" +GAIN_in4=3.68 +WARNHI_in4 = "5500" +WARNLO_in4 = "4500" +CRITHI_in4 = "5700" +CRITLO_in4 = "4000" + +LABEL_in6 = "PVNN_STBY_PCH" +WARNHI_in6 = "1050" +WARNLO_in6 = "945" +CRITHI_in6 = "1100" +CRITLO_in6 = "916" + +LABEL_in7 = "P12V_STBY" +GAIN_in7=8.9 +WARNHI_in7 = "13101" +WARNLO_in7 = "10945" +CRITHI_in7 = "13494" +CRITLO_in7 = "10616" + +LABEL_in8 = "P1V05_STBY_PCH" +WARNHI_in8 = "1106" +WARNLO_in8 = "995" +CRITHI_in8 = "1139" +CRITLO_in8 = "966" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@82000/power-supply@58.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@82000/power-supply@58.conf new file mode 100644 index 000000000..eb47c3c89 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@82000/power-supply@58.conf @@ -0,0 +1,34 @@ +LABEL_temp1= "ps0_tempture" +WARNHI_temp1 = "90000" +WARNLO_temp1 = "0" +CRITHI_temp1 = "100000" +CRITLO_temp1 = "0" + +LABEL_in1= "ps0_input_voltage" +WARNHI_in1="290000" +WARNLO_in1="200000" +CRITHI_in1="300000" +CRITLO_in1="180000" + +LABEL_in2= "ps0_output_voltage" +WARNHI_in2="12700" +WARNLO_in2="0" +CRITHI_in2="13000" +CRITLO_in2="0" + +LABEL_power1= "ps0_input_power" +WARNHI_power1="950000000" +WARNLO_power1="0" +CRITHI_power1="1000000000" +CRITLO_power1="0" + +LABEL_power2= "ps0_output_power" +WARNHI_power2="950000000" +WARNLO_power2="0" +CRITHI_power2="1000000000" +CRITLO_power2="0" + +LABEL_fan1= "ps0_fan1" +LABEL_fan2= "ps0_fan2" + +INTERVAL=10000000 diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@82000/tmp421@4c.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@82000/tmp421@4c.conf new file mode 100644 index 000000000..a7430a769 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@82000/tmp421@4c.conf @@ -0,0 +1,5 @@ +LABEL_temp1 = "inlet" +WARNHI_temp1 = "110000" +WARNLO_temp1 = "5000" +CRITHI_temp1 = "115000" +CRITLO_temp1 = "0" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/ina219@40.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/ina219@40.conf new file mode 100644 index 000000000..2073266c7 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/ina219@40.conf @@ -0,0 +1,5 @@ +LABEL_curr1 = "p0_dimm_vr0_lin" +WARNHI_curr1 = "231000" +CRITHI_curr1 = "288000" +WARNLO_curr1 = "0" +CRITLO_curr1 = "0" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/ina219@41.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/ina219@41.conf new file mode 100644 index 000000000..c01aab86e --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/ina219@41.conf @@ -0,0 +1,5 @@ +LABEL_curr1 = "p0_dimm_vr1_lin" +WARNHI_curr1 = "231000" +CRITHI_curr1 = "288000" +WARNLO_curr1 = "0" +CRITLO_curr1 = "0" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/ina219@44.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/ina219@44.conf new file mode 100644 index 000000000..3cc382473 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/ina219@44.conf @@ -0,0 +1,5 @@ +LABEL_curr1 = "p1_dimm_vr0_lin" +WARNHI_curr1 = "231000" +CRITHI_curr1 = "288000" +WARNLO_curr1 = "0" +CRITLO_curr1 = "0" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/ina219@45.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/ina219@45.conf new file mode 100644 index 000000000..5384422eb --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/ina219@45.conf @@ -0,0 +1,5 @@ +LABEL_curr1 = "p1_dimm_vr1_lin" +WARNHI_curr1 = "231000" +CRITHI_curr1 = "288000" +WARNLO_curr1 = "0" +CRITLO_curr1 = "0" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53622@67.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53622@67.conf new file mode 100644 index 000000000..7b27a4ce3 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53622@67.conf @@ -0,0 +1,21 @@ +LABEL_temp1 = "p0_vccio_vr_temp" +WARNHI_temp1 = "105000" +CRITHI_temp1 = "115000" +WARNLO_temp1 = "0" +CRITLO_temp1 = "0" + +LABEL_curr1 = "p0_vccio_vr_current" +WARNHI_curr1 = "231000" +CRITHI_curr1 = "288000" +WARNLO_curr1 = "0" +CRITLO_curr1 = "0" + +LABEL_in1 = "p0_vccio_vr_voltage" +WARNHI_in1 = "16000" +WARNLO_in1 = "11000" +CRITLO_in1 = "9500" +CRITHI_in1 = "17000" + +LABEL_power1 = "p0_vccio_vr_pin" + +LABEL_power2 = "p0_vccio_vr_pout" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53622@77.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53622@77.conf new file mode 100644 index 000000000..b4d46de3d --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53622@77.conf @@ -0,0 +1,21 @@ +LABEL_temp1 = "p1_vccio_vr_temp" +WARNHI_temp1 = "105000" +CRITHI_temp1 = "115000" +WARNLO_temp1 = "0" +CRITLO_temp1 = "0" + +LABEL_curr1 = "p1_vccio_vr_current" +WARNHI_curr1 = "231000" +CRITHI_curr1 = "288000" +WARNLO_curr1 = "0" +CRITLO_curr1 = "0" + +LABEL_in1 = "p1_vccio_vr_voltage" +WARNHI_in1 = "16000" +WARNLO_in1 = "11000" +CRITLO_in1 = "9500" +CRITHI_in1 = "17000" + +LABEL_power1 = "p1_vccio_vr_pin" + +LABEL_power2 = "p1_vccio_vr_pout" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53659@62.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53659@62.conf new file mode 100644 index 000000000..3c10f9c26 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53659@62.conf @@ -0,0 +1,21 @@ +LABEL_temp1 = "p0_dimm_vr0_temp" +WARNHI_temp1 = "105000" +CRITHI_temp1 = "115000" +WARNLO_temp1 = "0" +CRITLO_temp1 = "0" + +LABEL_curr1 = "p0_dimm_vr0_current" +WARNHI_curr1 = "231000" +CRITHI_curr1 = "288000" +WARNLO_curr1 = "0" +CRITLO_curr1 = "0" + +LABEL_in1 = "p0_dimm_vr0_voltage" +WARNHI_in1 = "16000" +WARNLO_in1 = "11000" +CRITLO_in1 = "9500" +CRITHI_in1 = "17000" + +LABEL_power1 = "p0_dimm_vr0_pin" + +LABEL_power2 = "p0_dimm_vr0_pout" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53659@64.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53659@64.conf new file mode 100644 index 000000000..55bce3f4e --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53659@64.conf @@ -0,0 +1,21 @@ +LABEL_temp1 = "p0_dimm_vr1_temp" +WARNHI_temp1 = "105000" +CRITHI_temp1 = "115000" +WARNLO_temp1 = "0" +CRITLO_temp1 = "0" + +LABEL_curr1 = "p0_dimm_vr1_current" +WARNHI_curr1 = "231000" +CRITHI_curr1 = "288000" +WARNLO_curr1 = "0" +CRITLO_curr1 = "0" + +LABEL_in1 = "p0_dimm_vr1_voltage" +WARNHI_in1 = "16000" +WARNLO_in1 = "11000" +CRITLO_in1 = "9500" +CRITHI_in1 = "17000" + +LABEL_power1 = "p0_dimm_vr1_pin" + +LABEL_power2 = "p0_dimm_vr1_pout" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53659@72.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53659@72.conf new file mode 100644 index 000000000..75c9b4e6a --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53659@72.conf @@ -0,0 +1,21 @@ +LABEL_temp1 = "p1_dimm_vr0_temp" +WARNHI_temp1 = "105000" +CRITHI_temp1 = "115000" +WARNLO_temp1 = "0" +CRITLO_temp1 = "0" + +LABEL_curr1 = "p1_dimm_vr0_current" +WARNHI_curr1 = "231000" +CRITHI_curr1 = "288000" +WARNLO_curr1 = "0" +CRITLO_curr1 = "0" + +LABEL_in1 = "p1_dimm_vr0_voltage" +WARNHI_in1 = "16000" +WARNLO_in1 = "11000" +CRITLO_in1 = "9500" +CRITHI_in1 = "17000" + +LABEL_power1 = "p1_dimm_vr0_pin" + +LABEL_power2 = "p1_dimm_vr0_pout" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53659@74.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53659@74.conf new file mode 100644 index 000000000..249e61d33 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53659@74.conf @@ -0,0 +1,21 @@ +LABEL_temp1 = "p1_dimm_vr1_temp" +WARNHI_temp1 = "105000" +CRITHI_temp1 = "115000" +WARNLO_temp1 = "0" +CRITLO_temp1 = "0" + +LABEL_curr1 = "p1_dimm_vr1_current" +WARNHI_curr1 = "231000" +CRITHI_curr1 = "288000" +WARNLO_curr1 = "0" +CRITLO_curr1 = "0" + +LABEL_in1 = "p1_dimm_vr1_voltage" +WARNHI_in1 = "16000" +WARNLO_in1 = "11000" +CRITLO_in1 = "9500" +CRITHI_in1 = "17000" + +LABEL_power1 = "p1_dimm_vr1_pin" + +LABEL_power2 = "p1_dimm_vr1_pout" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53679@60.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53679@60.conf new file mode 100644 index 000000000..7ef3664ba --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53679@60.conf @@ -0,0 +1,21 @@ +LABEL_temp1 = "p0_vccin_vr_temp" +WARNHI_temp1 = "105000" +CRITHI_temp1 = "115000" +WARNLO_temp1 = "0" +CRITLO_temp1 = "0" + +LABEL_curr1 = "p0_vccin_vr_current" +WARNHI_curr1 = "231000" +CRITHI_curr1 = "288000" +WARNLO_curr1 = "0" +CRITLO_curr1 = "0" + +LABEL_in1 = "p0_vccin_vr_voltage" +WARNHI_in1 = "16000" +WARNLO_in1 = "11000" +CRITLO_in1 = "9500" +CRITHI_in1 = "17000" + +LABEL_power1 = "p0_vccin_vr_pin" + +LABEL_power2 = "p0_vccin_vr_pout" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53679@70.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53679@70.conf new file mode 100644 index 000000000..611b1073f --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@86000/tps53679@70.conf @@ -0,0 +1,21 @@ +LABEL_temp1 = "p1_vccin_vr_temp" +WARNHI_temp1 = "105000" +CRITHI_temp1 = "115000" +WARNLO_temp1 = "0" +CRITLO_temp1 = "0" + +LABEL_curr1 = "p1_vccin_vr_current" +WARNHI_curr1 = "231000" +CRITHI_curr1 = "288000" +WARNLO_curr1 = "0" +CRITLO_curr1 = "0" + +LABEL_in1 = "p1_vccin_vr_voltage" +WARNHI_in1 = "16000" +WARNLO_in1 = "11000" +CRITLO_in1 = "9500" +CRITHI_in1 = "17000" + +LABEL_power1 = "p1_vccin_vr_pin" + +LABEL_power2 = "p1_vccin_vr_pout" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@87000/tmp421@4c.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@87000/tmp421@4c.conf new file mode 100644 index 000000000..3afeef744 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@87000/tmp421@4c.conf @@ -0,0 +1,5 @@ +LABEL_temp1 = "outlet" +WARNHI_temp1 = "110000" +WARNLO_temp1 = "5000" +CRITHI_temp1 = "115000" +CRITLO_temp1 = "0" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@88000/adm1278@11.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@88000/adm1278@11.conf new file mode 100644 index 000000000..84bce0d51 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@88000/adm1278@11.conf @@ -0,0 +1,9 @@ +LABEL_temp1 = "MB0_Temp" +WARNLO_temp1= "5000" +WARNHI_temp1= "50000" +CRITHI_temp1 = "60000" +CRITLO_temp1 = "0" +LABEL_curr1 = "MB0_Iout" +LABEL_in1 = "MB0_Vin" +LABEL_in2 = "MB0_Vout" +LABEL_power1 = "MB0_Pin" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8d000/tmp75@4a.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8d000/tmp75@4a.conf new file mode 100644 index 000000000..7cf67cb8b --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/i2c@8d000/tmp75@4a.conf @@ -0,0 +1,5 @@ +LABEL_temp1 = "bmc_card" +WARNHI_temp1 = "110000" +WARNLO_temp1 = "5000" +CRITHI_temp1 = "115000" +CRITLO_temp1 = "0" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/pwm-fan-controller@103000.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/pwm-fan-controller@103000.conf new file mode 100644 index 000000000..9ffe5bfb7 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb/pwm-fan-controller@103000.conf @@ -0,0 +1,59 @@ +LABEL_fan1= "fan1" +TARGET_fan1= "fan1" +WARNHI_fan1= "19250" +WARNLO_fan1= "150" +CRITHI_fan1= "19250" +CRITLO_fan1= "150" +MINVALUE_fan1 = "0" +MAXVALUE_fan1 = "20145" +PWM_TARGET_fan1 = 1 + +LABEL_fan2= "fan2" +TARGET_fan2= "fan2" +WARNHI_fan2= "19250" +WARNLO_fan2= "150" +CRITHI_fan2= "19250" +CRITLO_fan2= "150" +MINVALUE_fan2 = "0" +MAXVALUE_fan2 = "20145" +PWM_TARGET_fan2 = 1 + +LABEL_fan3= "fan3" +TARGET_fan3= "fan3" +WARNHI_fan3= "19250" +WARNLO_fan3= "150" +CRITHI_fan3= "19250" +CRITLO_fan3= "150" +MINVALUE_fan3 = "0" +MAXVALUE_fan3 = "20145" +PWM_TARGET_fan3 = 1 + +LABEL_fan4= "fan4" +TARGET_fan4= "fan4" +WARNHI_fan4= "19250" +WARNLO_fan4= "150" +CRITHI_fan4= "19250" +CRITLO_fan4= "150" +MINVALUE_fan4 = "0" +MAXVALUE_fan4 = "20145" +PWM_TARGET_fan4 = 1 + +LABEL_fan5= "fan5" +TARGET_fan5= "fan5" +WARNHI_fan5= "19250" +WARNLO_fan5= "150" +CRITHI_fan5= "19250" +CRITLO_fan5= "150" +MINVALUE_fan5 = "0" +MAXVALUE_fan5 = "20145" +PWM_TARGET_fan5 = 1 + +LABEL_fan6= "fan6" +TARGET_fan6= "fan6" +WARNHI_fan6= "19250" +WARNLO_fan6= "150" +CRITHI_fan6= "19250" +CRITLO_fan6= "150" +MINVALUE_fan6 = "0" +MAXVALUE_fan6 = "20145" +PWM_TARGET_fan6 = 1 diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/devices/platform/ahb/ahb--apb/f0100000.peci-bus/peci-0/0-30/peci-cputemp.0.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/devices/platform/ahb/ahb--apb/f0100000.peci-bus/peci-0/0-30/peci-cputemp.0.conf new file mode 100644 index 000000000..3285f71d9 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/devices/platform/ahb/ahb--apb/f0100000.peci-bus/peci-0/0-30/peci-cputemp.0.conf @@ -0,0 +1,35 @@ +LABEL_temp1 = "Die_CPU0" +WARNHI_temp1 = "79000" +WARNLO_temp1 = "0" +CRITHI_temp1 = "89000" +CRITLO_temp1 = "0" +LABEL_temp5 = "Core_0_CPU0" +WARNHI_temp5 = "79000" +WARNLO_temp5 = "0" +CRITHI_temp5 = "89000" +CRITLO_temp5 = "0" +LABEL_temp6 = "Core_1_CPU0" +WARNHI_temp6 = "79000" +WARNLO_temp6 = "0" +CRITHI_temp6 = "89000" +CRITLO_temp6 = "0" +LABEL_temp7 = "Core_2_CPU0" +WARNHI_temp7 = "79000" +WARNLO_temp7 = "0" +CRITHI_temp7 = "89000" +CRITLO_temp7 = "0" +LABEL_temp8 = "Core_3_CPU0" +WARNHI_temp8 = "79000" +WARNLO_temp8 = "0" +CRITHI_temp8 = "89000" +CRITLO_temp8 = "0" +LABEL_temp9 = "Core_4_CPU0" +WARNHI_temp9 = "79000" +WARNLO_temp9 = "0" +CRITHI_temp9 = "89000" +CRITLO_temp9 = "0" +LABEL_temp10 = "Core_5_CPU0" +WARNHI_temp10 = "79000" +WARNLO_temp10 = "0" +CRITHI_temp10 = "89000" +CRITLO_temp10 = "0" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/devices/platform/ahb/ahb--apb/f0100000.peci-bus/peci-0/0-30/peci-dimmtemp.0.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/devices/platform/ahb/ahb--apb/f0100000.peci-bus/peci-0/0-30/peci-dimmtemp.0.conf new file mode 100644 index 000000000..7c74dd72f --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/devices/platform/ahb/ahb--apb/f0100000.peci-bus/peci-0/0-30/peci-dimmtemp.0.conf @@ -0,0 +1,5 @@ +LABEL_temp5 = "DIMM_C1_CPU0" +WARNHI_temp5 = "79000" +WARNLO_temp5 = "0" +CRITHI_temp5 = "89000" +CRITLO_temp5 = "0" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/devices/platform/ahb/ahb--apb/f0100000.peci-bus/peci-0/0-31/peci-cputemp.1.conf b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/devices/platform/ahb/ahb--apb/f0100000.peci-bus/peci-0/0-31/peci-cputemp.1.conf new file mode 100644 index 000000000..a24fd0a87 --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/devices/platform/ahb/ahb--apb/f0100000.peci-bus/peci-0/0-31/peci-cputemp.1.conf @@ -0,0 +1,35 @@ +LABEL_temp1 = "Die_CPU1" +WARNHI_temp1 = "79000" +WARNLO_temp1 = "0" +CRITHI_temp1 = "89000" +CRITLO_temp1 = "0" +LABEL_temp5 = "Core_0_CPU1" +WARNHI_temp5 = "79000" +WARNLO_temp5 = "0" +CRITHI_temp5 = "89000" +CRITLO_temp5 = "0" +LABEL_temp6 = "Core_1_CPU1" +WARNHI_temp6 = "79000" +WARNLO_temp6 = "0" +CRITHI_temp6 = "89000" +CRITLO_temp6 = "0" +LABEL_temp7 = "Core_2_CPU1" +WARNHI_temp7 = "79000" +WARNLO_temp7 = "0" +CRITHI_temp7 = "89000" +CRITLO_temp7 = "0" +LABEL_temp8 = "Core_3_CPU1" +WARNHI_temp8 = "79000" +WARNLO_temp8 = "0" +CRITHI_temp8 = "89000" +CRITLO_temp8 = "0" +LABEL_temp9 = "Core_4_CPU1" +WARNHI_temp9 = "79000" +WARNLO_temp9 = "0" +CRITHI_temp9 = "89000" +CRITLO_temp9 = "0" +LABEL_temp10 = "Core_5_CPU1" +WARNHI_temp10 = "79000" +WARNLO_temp10 = "0" +CRITHI_temp10 = "89000" +CRITLO_temp10 = "0" diff --git a/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend new file mode 100644 index 000000000..938bfb60f --- /dev/null +++ b/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/sensors/phosphor-hwmon_%.bbappend @@ -0,0 +1,40 @@ +FILESEXTRAPATHS_prepend_olympus-nuvoton := "${THISDIR}/${PN}:" + + +ITEMS = " \ + i2c@82000/tmp421@4c \ + i2c@82000/power-supply@58 \ + i2c@86000/tps53679@60 \ + i2c@86000/tps53659@62 \ + i2c@86000/tps53659@64 \ + i2c@86000/tps53679@70 \ + i2c@86000/tps53659@72 \ + i2c@86000/tps53659@74 \ + i2c@86000/tps53622@67 \ + i2c@86000/tps53622@77 \ + i2c@86000/ina219@40 \ + i2c@86000/ina219@41 \ + i2c@86000/ina219@44 \ + i2c@86000/ina219@45 \ + i2c@87000/tmp421@4c \ + i2c@88000/adm1278@11 \ + i2c@8d000/tmp75@4a \ + pwm-fan-controller@103000 \ + adc@c000 \ + " + +ENVS = "obmc/hwmon/ahb/apb/{0}.conf" +SYSTEMD_ENVIRONMENT_FILE_${PN}_append_olympus-nuvoton = " ${@compose_list(d, 'ENVS', 'ITEMS')}" + +# PECI +PECINAMES = " \ + peci-0/0-30/peci-cputemp.0 \ + peci-0/0-31/peci-cputemp.1\ + peci-0/0-30/peci-dimmtemp.0 \ + " +PECIITEMSFMT = "devices/platform/ahb/ahb--apb/f0100000.peci-bus/{0}.conf" +PECIITEMS = "${@compose_list(d, 'PECIITEMSFMT', 'PECINAMES')}" +PECIENVS = "obmc/hwmon/{0}" +SYSTEMD_ENVIRONMENT_FILE_${PN}_append_olympus-nuvoton = " ${@compose_list(d, 'PECIENVS', 'PECIITEMS')}" + +EXTRA_OECONF_append_olympus-nuvoton = " --enable-update-functional-on-fail" diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-bsp/images/files/BootBlockAndHeader_RunBMC.xml b/meta-quanta/meta-runbmc-nuvoton/recipes-bsp/images/files/BootBlockAndHeader_RunBMC.xml deleted file mode 100644 index 58723e60e..000000000 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-bsp/images/files/BootBlockAndHeader_RunBMC.xml +++ /dev/null @@ -1,166 +0,0 @@ -<!-- SPDX-License-Identifier: GPL-2.0 -# -# Nuvoton IGPS: Image Generation And Programming Scripts For Poleg BMC -# -# Copyright (C) 2018 Nuvoton Technologies, All Rights Reserved -#---------------------------------------------------------------------------> - -<?xml version="1.0" encoding="UTF-8"?> - -<Bin_Ecc_Map> - <!-- BMC mandatory fields --> - <ImageProperties> - <BinSize>0</BinSize> <!-- If 0 the binary size will be calculated by the tool --> - <PadValue>0xFF</PadValue> <!-- Byte value to pad the empty areas, default is 0 --> - </ImageProperties> - - <BinField> - <!-- BootBlock tag (0x50 0x07 0x55 0xAA 0x54 0x4F 0x4F 0x42) or - uboot tag (0x55 0x42 0x4F 0x4F 0x54 0x42 0x4C 0x4B) --> - <name>StartTag</name> <!-- name of field --> - <config> - <offset>0</offset> <!-- offset in the header --> - <size>0x8</size> <!-- size in the header --> - </config> - <content format='bytes'>0x50 0x07 0x55 0xAA 0x54 0x4F 0x4F 0x42</content> <!-- content the user should fill --> - </BinField> - - <BinField> - <!-- Code destination address, 32-bit aligned: for BootBlock should be 0xFFFD5E00 so code will run in 0xFFFD6000 as linked for --> - <name>DestAddr</name> <!-- name of field --> - <config> - <offset>0x140</offset> <!-- offset in the header --> - <size>0x4</size> <!-- size in the header --> - </config> - <content format='32bit'>0xFFFD5E00</content> <!-- content the user should fill --> - </BinField> - - <BinField> - <!-- BootBlock or u-boot Code size --> - <name>CodeSize</name> <!-- name of field --> - <config> - <offset>0x144</offset> <!-- offset in the header --> - <size>0x4</size> <!-- size in the header --> - </config> - <content format='FileSize'>Poleg_bootblock.bin</content> <!-- content the user should fill --> - </BinField> - - <BinField> - <!-- The BootBlock or u-boot binary file --> - <name>Code</name> <!-- name of field --> - <config> - <offset>0x200</offset> <!-- offset in the header --> - <size format='FileSize'>Poleg_bootblock.bin</size> <!-- size in the header calculated by tool--> - </config> - <content format='FileContent'>Poleg_bootblock.bin</content> <!-- content the user should fill --> - </BinField> - - <!-- BMC optional fields --> - <BinField> - <!-- Word contents copied by ROM code to FIU0 FIU_DRD_CFG register --> - <name>FIU0_DRD_CFG_Set</name> <!-- name of field --> - <config> - <offset>0x108</offset> <!-- offset in the header --> - <size>0x4</size> <!-- size in the header --> - </config> - <content format='32bit'>0x030011BB</content> <!-- content the user should fill --> - </BinField> - - <BinField> - <!-- Defines the clock divide ratio from AHB to FIU0 clock --> - <name>FIU_Clk_Divider</name> <!-- name of field --> - <config> - <offset>0x10C</offset> <!-- offset in the header --> - <size>0x1</size> <!-- size in the header --> - </config> - <content format='bytes'>4</content> <!-- content the user should fill --> - </BinField> - - <BinField> - <!-- Version (Major.Minor) --> - <name>Version</name> <!-- name of field --> - <config> - <offset>0x148</offset> <!-- offset in the header --> - <size>0x4</size> <!-- size in the header --> - </config> - <content format='32bit'>0x0201</content> <!-- content the user should fill --> - </BinField> - - <BinField> - <!-- Board manufaturer ( Dell = 0, Nuvoton = 100, Google = 1, MS = 2) --> - <name>BOARD_VENDOR</name> <!-- name of field --> - <config> - <offset>0x124</offset> <!-- offset in the header --> - <size>0x4</size> <!-- size in the header --> - </config> - <content format='32bit'>100</content> <!--Board_manufacturer: Nuvoton--> - </BinField> - <BinField> - <!-- Board type ( DRB = 0, SVB = 1, EB = 2,HORIZON = 3, SANDSTORM = 4, ROCKAWAY = 100 RunBMC = 10) --> - <!-- WARNING: Currently this value is only printed to serial. Set BOARD_VENDOR to 1 get Dell specific customization. --> - <name>BOARD_TYPE</name> <!-- name of field --> - <config> - <offset>0x120</offset> <!-- offset in the header --> - <size>0x4</size> <!-- size in the header --> - </config> - <content format='32bit'>0x0A</content> <!--Board_type: SVB--> - </BinField> - - <!-- the next two fields are available since version 10.7.0 --> - <BinField> - <!-- supported values: 333,444,500,600,666,700,720,750,775,787,800,825,850,900,950,1000,1060 --> - <name>MC_FREQ_IN_MHZ</name> <!-- name of field --> - <config> - <offset>0x128</offset> <!-- offset in the header --> - <size>0x2</size> <!-- size in the header --> - </config> - <content format='32bit'>800</content> - </BinField> - <BinField> - <!-- supporeted values: 333,500,600,666,700,720,750,800,825,850,900,950,1000,1060 --> - <name>CPU_FREQ_IN_MHZ</name> <!-- name of field --> - <config> - <offset>0x12A</offset> <!-- offset in the header --> - <size>0x2</size> <!-- size in the header --> - </config> - <content format='32bit'>800</content> - </BinField> - - <BinField> - <!-- MC_CONFIG. - Bit 0: MC_DISABLE_CAPABILITY_INPUT_DQS_ENHANCE_TRAINING (0x01) - Bit 1: MC_CAPABILITY_IGNORE_ECC_DEVICE (0x02) --> - <name>MC_CONFIG</name> <!-- name of field --> - <config> - <offset>0x12C</offset> <!-- offset in the header --> - <size>0x1</size> <!-- size in the header --> - </config> - <content format='32bit'>0x01</content> - </BinField> - - <BinField> - <!-- HOST_IF. - 0xFF: LPC backward compatible - 0x00: LPC. - 0x01: eSPI - 0x02: GPIOs TRIS. --> - <name>HOST_IF</name> <!-- name of field --> - <config> - <offset>0x12D</offset> <!-- offset in the header --> - <size>0x1</size> <!-- size in the header --> - </config> - <content format='32bit'>0x00</content> - </BinField> - - <!-- reserved fields --> - <BinField> - <!-- reserved field for sample --> - <name>My_reserved</name> <!-- name of field --> - <config> - <offset>0x110</offset> <!-- offset in the header --> - <size>0x4</size> <!-- size in the header --> - </config> - <content format='bytes'>0xFF 0xFF 0xFF 0xFF</content> <!-- content the user should fill --> - </BinField> - -</Bin_Ecc_Map> diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-bsp/images/files/UbootHeader_RunBMC.xml b/meta-quanta/meta-runbmc-nuvoton/recipes-bsp/images/files/UbootHeader_RunBMC.xml deleted file mode 100644 index 1612a8368..000000000 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-bsp/images/files/UbootHeader_RunBMC.xml +++ /dev/null @@ -1,191 +0,0 @@ -<!-- SPDX-License-Identifier: GPL-2.0 -# -# Nuvoton IGPS: Image Generation And Programming Scripts For Poleg BMC -# -# Copyright (C) 2018 Nuvoton Technologies, All Rights Reserved -#---------------------------------------------------------------------------> - -<?xml version="1.0" encoding="UTF-8"?> - -<Bin_Ecc_Map> - <!-- BMC mandatory fields --> - <ImageProperties> - <BinSize>0</BinSize> <!-- If 0 the binary size will be calculated by the tool --> - <PadValue>0xFF</PadValue> <!-- Byte value to pad the empty areas, default is 0 --> - </ImageProperties> - - <BinField> - <!-- BootBlock tag (0x50 0x07 0x55 0xAA 0x54 0x4F 0x4F 0x42) or - uboot tag (0x55 0x42 0x4F 0x4F 0x54 0x42 0x4C 0x4B) --> - <name>StartTag</name> <!-- name of field --> - <config> - <offset>0</offset> <!-- offset in the header --> - <size>0x8</size> <!-- size in the header --> - </config> - <content format='bytes'>0x55 0x42 0x4F 0x4F 0x54 0x42 0x4C 0x4B</content> <!-- content the user should fill --> - </BinField> - - <BinField> - <!-- Code destination address, 32-bit aligned: for u-boot should be 0x80005000 so code will run in 0x80005200 as linked for --> - <name>DestAddr</name> <!-- name of field --> - <config> - <offset>0x140</offset> <!-- offset in the header --> - <size>0x4</size> <!-- size in the header --> - </config> - <content format='32bit'>0x8000</content> <!-- content the user should fill --> - </BinField> - - <BinField> - <!-- BootBlock or u-boot Code size --> - <name>CodeSize</name> <!-- name of field --> - <config> - <offset>0x144</offset> <!-- offset in the header --> - <size>0x4</size> <!-- size in the header --> - </config> - <content format='FileSize'>u-boot.bin</content> <!-- content the user should fill --> - </BinField> - - <BinField> - <!-- The BootBlock or u-boot binary file --> - <name>Code</name> <!-- name of field --> - <config> - <offset>0x200</offset> <!-- offset in the header --> - <size format='FileSize'>u-boot.bin</size> <!-- size in the header calculated by tool--> - </config> - <content format='FileContent'>u-boot.bin</content> <!-- content the user should fill --> - </BinField> - - <!-- BMC optional fields --> - <BinField> - <!-- Word contents copied by ROM code to FIU0 FIU_DRD_CFG register --> - <name>FIU0_DRD_CFG_Set</name> <!-- name of field --> - <config> - <offset>0x108</offset> <!-- offset in the header --> - <size>0x4</size> <!-- size in the header --> - </config> - <content format='32bit'>0x030111BC</content> <!-- content the user should fill 0x030032EB --> - </BinField> - - <BinField> - <!-- Defines the clock divide ratio from AHB to FIU0 clock --> - <name>FIU0_Clk_Divider</name> <!-- name of field --> - <config> - <offset>0x10C</offset> <!-- offset in the header --> - <size>0x1</size> <!-- size in the header --> - </config> - <content format='bytes'>0</content> <!-- content the user should fill --> - </BinField> - - <BinField> - <!-- Defines if FIU0 CS1 is enabled --> - <name>fiu0_cs1_en</name> <!-- name of field --> - <config> - <offset>0x10D</offset> <!-- offset in the header --> - <size>0x1</size> <!-- size in the header --> - </config> - <content format='bytes'>0x0</content> <!-- content the user should fill --> - </BinField> - - <BinField> - <!-- Defines if FIU0 CS2 is enabled --> - <name>fiu0_cs2_en</name> <!-- name of field --> - <config> - <offset>0x10E</offset> <!-- offset in the header --> - <size>0x1</size> <!-- size in the header --> - </config> - <content format='bytes'>0x0</content> <!-- content the user should fill --> - </BinField> - - <BinField> - <!-- Defines if FIU0 CS3 is enabled --> - <name>fiu0_cs3_en</name> <!-- name of field --> - <config> - <offset>0x10F</offset> <!-- offset in the header --> - <size>0x1</size> <!-- size in the header --> - </config> - <content format='bytes'>0x0</content> <!-- content the user should fill --> - </BinField> - - <!-- BMC optional fields --> - <BinField> - <!-- Word contents copied by ROM code to FIU3 FIU_DRD_CFG register --> - <name>FIU3_DRD_CFG_Set</name> <!-- name of field --> - <config> - <offset>0x110</offset> <!-- offset in the header --> - <size>0x4</size> <!-- size in the header --> - </config> - <content format='32bit'>0x030011BB</content> <!-- content the user should fill --> - </BinField> - - <!-- BMC optional fields --> - <BinField> - <!-- Word contents copied by ROM code to FIU3 FIU_DRD_CFG register --> - <name>FIU3_DWR_CFG_Set</name> <!-- name of field --> - <config> - <offset>0x114</offset> <!-- offset in the header --> - <size>0x4</size> <!-- size in the header --> - </config> - <content format='32bit'>0x0</content> <!-- content the user should fill --> - </BinField> - - <BinField> - <!-- Defines the clock divide ratio from AHB to FIU3 clock --> - <name>FIU3_Clk_Divider</name> <!-- name of field --> - <config> - <offset>0x118</offset> <!-- offset in the header --> - <size>0x1</size> <!-- size in the header --> - </config> - <content format='bytes'>0x0</content> <!-- content the user should fill --> - </BinField> - - <BinField> - <!-- Defines if FIU3 CS0 is enabled --> - <name>fiu3_cs0_en</name> <!-- name of field --> - <config> - <offset>0x119</offset> <!-- offset in the header --> - <size>0x1</size> <!-- size in the header --> - </config> - <content format='bytes'>0x0</content> <!-- content the user should fill --> - </BinField> - - <BinField> - <!-- Defines if FIU3 CS1 is enabled --> - <name>fiu3_cs1_en</name> <!-- name of field --> - <config> - <offset>0x11A</offset> <!-- offset in the header --> - <size>0x1</size> <!-- size in the header --> - </config> - <content format='bytes'>0x0</content> <!-- content the user should fill --> - </BinField> - - <BinField> - <!-- Defines if FIU3 CS2 is enabled --> - <name>fiu3_cs2_en</name> <!-- name of field --> - <config> - <offset>0x11B</offset> <!-- offset in the header --> - <size>0x1</size> <!-- size in the header --> - </config> - <content format='bytes'>0x0</content> <!-- content the user should fill --> - </BinField> - - <BinField> - <!-- Defines if FIU3 CS3 is enabled --> - <name>fiu3_cs3_en</name> <!-- name of field --> - <config> - <offset>0x11C</offset> <!-- offset in the header --> - <size>0x1</size> <!-- size in the header --> - </config> - <content format='bytes'>0x0</content> <!-- content the user should fill --> - </BinField> - - <BinField> - <!-- Version (Major.Minor) --> - <name>Version</name> <!-- name of field --> - <config> - <offset>0x148</offset> <!-- offset in the header --> - <size>0x4</size> <!-- size in the header --> - </config> - <content format='32bit'>0x0201</content> <!-- content the user should fill --> - </BinField> - -</Bin_Ecc_Map> diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-bsp/images/npcm7xx-bingo-native_%.bbappend b/meta-quanta/meta-runbmc-nuvoton/recipes-bsp/images/npcm7xx-bingo-native_%.bbappend deleted file mode 100644 index 664fcb01d..000000000 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-bsp/images/npcm7xx-bingo-native_%.bbappend +++ /dev/null @@ -1,12 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/files:" -SRC_URI_remove = "file://BootBlockAndHeader_EB.xml" -SRC_URI_remove = "file://UbootHeader_EB.xml" -SRC_URI += " file://BootBlockAndHeader_RunBMC.xml" -SRC_URI += " file://UbootHeader_RunBMC.xml" - - -do_install_append() { - install ${WORKDIR}/BootBlockAndHeader_RunBMC.xml ${D}${bindir}/BootBlockAndHeader_EB.xml - install ${WORKDIR}/UbootHeader_RunBMC.xml ${D}${bindir}/UbootHeader_EB.xml -} - diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control_%.bbappend b/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control_%.bbappend deleted file mode 100644 index 5d7e0f977..000000000 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/fans/phosphor-pid-control_%.bbappend +++ /dev/null @@ -1,29 +0,0 @@ -FILESEXTRAPATHS_prepend_runbmc-nuvoton := "${THISDIR}/${PN}:" - -SRC_URI_append_runbmc-nuvoton = " file://config-runbmc-nuvoton.json" -SRC_URI_append_runbmc-nuvoton = " file://fan-full-speed.sh" -SRC_URI_append_runbmc-nuvoton = " file://phosphor-pid-control.service" -SRC_URI_append_runbmc-nuvoton = " file://fan-reboot-control.service" - -FILES_${PN}_append_runbmc-nuvoton = " ${bindir}/fan-full-speed.sh" -FILES_${PN}_append_runbmc-nuvoton = " ${datadir}/swampd/config.json" - -RDEPENDS_${PN} += "bash" - -SYSTEMD_SERVICE_${PN}_append_runbmc-nuvoton = " phosphor-pid-control.service" -SYSTEMD_SERVICE_${PN}_append_runbmc-nuvoton = " fan-reboot-control.service" - -do_install_append_runbmc-nuvoton() { - install -d ${D}/${bindir} - install -m 0755 ${WORKDIR}/fan-full-speed.sh ${D}/${bindir} - - install -d ${D}${datadir}/swampd - install -m 0644 -D ${WORKDIR}/config-runbmc-nuvoton.json \ - ${D}${datadir}/swampd/config.json - - install -d ${D}${systemd_unitdir}/system/ - install -m 0644 ${WORKDIR}/phosphor-pid-control.service \ - ${D}${systemd_unitdir}/system - install -m 0644 ${WORKDIR}/fan-reboot-control.service \ - ${D}${systemd_unitdir}/system -} diff --git a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend b/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend deleted file mode 100644 index ef0838e10..000000000 --- a/meta-quanta/meta-runbmc-nuvoton/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend +++ /dev/null @@ -1,11 +0,0 @@ -FILESEXTRAPATHS_prepend_runbmc-nuvoton := "${THISDIR}/${PN}:" - -SRC_URI_append_runbmc-nuvoton = " file://ipmb-runbmc-channels.json" -FILES_${PN}_append_runbmc-nuvoton = " ${datadir}/ipmbbridge/ipmb-channels.json" - -do_install_append_runbmc-nuvoton() { - install -d ${D}${datadir}/ipmbbridge - install -m 0644 -D ${WORKDIR}/ipmb-runbmc-channels.json \ - ${D}${datadir}/ipmbbridge/ipmb-channels.json -} - |