nicole: Add VPD support
VPD contains general description of the BMC card and MAC address for
the Ethernet controller.
Physically, VPD is stored in the EEPROM AT24C256C, which is connected
to the Aspeed SoC via I2C and can be read or written through
the special device file /sys/bus/i2c/devices/0-0050/eeprom.
(From meta-yadro rev: 95f98dc7d5ccf2b221d2a5aea51bf411201f351c)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: I21624f154cfa1e92eddbc1739a4e053d00889b5a
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-yadro/meta-nicole/recipes-phosphor/vpd/nicole-openpower-fru-properties/properties.yaml b/meta-yadro/meta-nicole/recipes-phosphor/vpd/nicole-openpower-fru-properties/properties.yaml
new file mode 100644
index 0000000..96e567c
--- /dev/null
+++ b/meta-yadro/meta-nicole/recipes-phosphor/vpd/nicole-openpower-fru-properties/properties.yaml
@@ -0,0 +1,7 @@
+/system/chassis/bmc:
+ xyz.openbmc_project.Inventory.Item:
+ Present: 'true'
+
+/system/chassis/ethernet:
+ xyz.openbmc_project.Inventory.Item:
+ Present: 'true'