meta-facebook: Add ipmb config
Added configuration file for IPMB channels used for Facebook
tiogapass platform
(From meta-facebook rev: 2ea4fd02745d51aed93675ffdc23ef67ecbbd9ca)
Change-Id: Ib0168d2065ea7bd7de7b63a3df0c9ce1df48dc1e
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Signed-off-by: Amithash Prasad <amithash@fb.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-facebook/meta-tiogapass/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-channels.json b/meta-facebook/meta-tiogapass/recipes-phosphor/ipmi/phosphor-ipmi-ipmb/ipmb-channels.json
new file mode 100644
index 0000000..03f284e
--- /dev/null
+++ b/meta-facebook/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-facebook/meta-tiogapass/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend b/meta-facebook/meta-tiogapass/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend
new file mode 100644
index 0000000..8a58a2d
--- /dev/null
+++ b/meta-facebook/meta-tiogapass/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend
@@ -0,0 +1 @@
+FILESEXTRAPATHS_prepend_tiogapass := "${THISDIR}/${PN}:"