meta-facebook: Add ipmb config
Added configuration file for IPMB channels used for Facebook
tiogapass platform
Change-Id: I083a43e96037ab1d2eb9ee6b472cc67e6ed1cfb1
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Signed-off-by: Amithash Prasad <amithash@fb.com>
diff --git a/meta-tiogapass/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-channels.json b/meta-tiogapass/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-channels.json
new file mode 100644
index 0000000..03f284e
--- /dev/null
+++ b/meta-tiogapass/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-channels.json
@@ -0,0 +1,18 @@
+{
+ "channels": [
+ {
+ "type": "me",
+ "master-path": "/dev/i2c-4",
+ "slave-path": "/sys/bus/i2c/devices/4-1010/slave-mqueue",
+ "bmc-addr": 32,
+ "remote-addr": 44
+ },
+ {
+ "type": "ipmb",
+ "master-path": "/dev/i2c-9",
+ "slave-path": "/sys/bus/i2c/devices/9-1010/slave-mqueue",
+ "bmc-addr": 32,
+ "remote-addr": 96
+ }
+ ]
+}
diff --git a/meta-tiogapass/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend b/meta-tiogapass/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend
new file mode 100644
index 0000000..8a58a2d
--- /dev/null
+++ b/meta-tiogapass/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend
@@ -0,0 +1 @@
+FILESEXTRAPATHS_prepend_tiogapass := "${THISDIR}/${PN}:"