schemas: Add interfaces for Item.Accelerator and Item.Dimm

This commit add the interfaces as described in [1] and [2].

[1] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/Accelerator.interface.yaml

[2] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/Dimm.interface.yaml

Tested:
Interfaces are added with the corresponding properties under
the related path.

Change-Id: Id4db6ebd599e94ec23f9c5db96fa3e9143619299
Signed-off-by: Sean He <sean.he.wiwynn@gmail.com>
diff --git a/configurations/yosemite4_wailuafalls.json b/configurations/yosemite4_wailuafalls.json
index 3f8bc22..f7da000 100644
--- a/configurations/yosemite4_wailuafalls.json
+++ b/configurations/yosemite4_wailuafalls.json
@@ -298,5 +298,9 @@
     },
     "xyz.openbmc_project.Inventory.Decorator.Slot": {
         "SlotNumber": "$bus % 15"
-    }
+    },
+    "xyz.openbmc_project.Inventory.Item.Accelerator": {
+        "Type": "ASIC"
+    },
+    "xyz.openbmc_project.Inventory.Item.Dimm": {}
 }
diff --git a/schemas/global.json b/schemas/global.json
index fcf057b..955a034 100644
--- a/schemas/global.json
+++ b/schemas/global.json
@@ -140,6 +140,12 @@
                 },
                 "xyz.openbmc_project.Inventory.Item.Storage": {
                     "$ref": "openbmc-dbus.json#/$defs/xyz/openbmc_project/Inventory/Item/Storage"
+                },
+                "xyz.openbmc_project.Inventory.Item.Accelerator": {
+                    "$ref": "openbmc-dbus.json#/$defs/xyz/openbmc_project/Inventory/Item/Accelerator"
+                },
+                "xyz.openbmc_project.Inventory.Item.Dimm": {
+                    "$ref": "openbmc-dbus.json#/$defs/xyz/openbmc_project/Inventory/Item/Dimm"
                 }
             },
             "required": ["Exposes", "Name", "Probe", "Type"]
diff --git a/schemas/openbmc-dbus.json b/schemas/openbmc-dbus.json
index 528d2b2..ace8cfa 100644
--- a/schemas/openbmc-dbus.json
+++ b/schemas/openbmc-dbus.json
@@ -150,6 +150,20 @@
                         "Storage": {
                             "additionalProperties": false,
                             "type": "object"
+                        },
+                        "Accelerator": {
+                            "additionalProperties": false,
+                            "properties": {
+                                "Type": {
+                                    "type": "string"
+                                }
+                            },
+                            "required": ["Type"],
+                            "type": "object"
+                        },
+                        "Dimm": {
+                            "additionalProperties": false,
+                            "type": "object"
                         }
                     }
                 },