meta-quanta: s6q: add fru yaml config files

Add fru setting config and device json file.

Tested:
~# ipmitool mc info
Device ID : 32
Device Revision : 1
Firmware Revision : 0.00
IPMI Version : 2.0
Manufacturer ID : 7244
Manufacturer Name : Quanta Computer Inc.
Product ID : 13905 (0x3651)
Product Name : Unknown (0x3651)
Device Available : yes
Provides Device SDRs : no
Additional Device Support :
Sensor Device
SEL Device
FRU Inventory Device
Chassis Device
Aux Firmware Rev Info :
0x00
0x00
0x00
0x00

~# ipmitool fru
FRU Device Description : Builtin FRU Device (ID 0)
Board Mfg Date : Mon Jan 17 07:40:00 2022 UTC
Board Mfg : Quanta
Board Product : S6Q_Openbmc
Board Serial : QCTQTW213400001
Board Part Number : 1100827-01

FRU Device Description : mainboard (ID 1)
Board Mfg Date : Sat Sep 4 17:44:00 2021 UTC
Board Mfg : Quanta Cloud Technology Inc.
Board Product : S6Q-MB-RTT
Board Serial : RTTQTW12500077
Board Part Number : 31S6QMB0000

Signed-off-by: Joseph Fu <joseph.fu@quantatw.com>
Change-Id: Id7d8d6a330eb4b698b2933189eec35e0b48fc700
diff --git a/meta-quanta/meta-s6q/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend b/meta-quanta/meta-s6q/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend
new file mode 100644
index 0000000..6caa6a5
--- /dev/null
+++ b/meta-quanta/meta-s6q/recipes-phosphor/ipmi/phosphor-ipmi-fru_%.bbappend
@@ -0,0 +1,26 @@
+FILESEXTRAPATHS:prepend:s6q := "${THISDIR}/${PN}:"
+
+inherit obmc-phosphor-systemd
+DEPENDS:append:s6q = " s6q-yaml-config"
+
+EEPROMS_NAME_LIST = "bmc motherboard"
+
+EEPROMFMT = "system/chassis/{0}"
+EEPROM_ESCAPEDFMT = "system-chassis-{0}"
+EEPROMS = "${@compose_list(d, 'EEPROMFMT', 'EEPROMS_NAME_LIST')}"
+EEPROMS_ESCAPED = "${@compose_list(d, 'EEPROM_ESCAPEDFMT', 'EEPROMS_NAME_LIST')}"
+
+ENVFMT = "obmc/eeproms/{0}"
+SYSTEMD_ENVIRONMENT_FILE:${PN}:append:s6q := " ${@compose_list(d, 'ENVFMT', 'EEPROMS')}"
+
+TMPL = "obmc-read-eeprom@.service"
+TGT = "multi-user.target"
+INSTFMT = "obmc-read-eeprom@{0}.service"
+FMT = "../${TMPL}:${TGT}.wants/${INSTFMT}"
+
+SYSTEMD_LINK:${PN}:append:s6q := " ${@compose_list(d, 'FMT', 'EEPROMS_ESCAPED')}"
+
+EXTRA_OECONF:append:s6q = " \
+    YAML_GEN=${STAGING_DIR_HOST}${datadir}/s6q-yaml-config/ipmi-fru-read.yaml \
+    PROP_YAML=${STAGING_DIR_HOST}${datadir}/s6q-yaml-config/ipmi-extra-properties.yaml \
+    "