schemas: legacy: extract EEPROM

This allows to remove some properties from 'Aggregate' schema which are
no longer needed, since there is now a more specific schema to use.

There was one configuration without 'Address' property,
which was likely a misconfiguration.

The file is sas_module.json which has "Probe": "FALSE" set, so it will
never be probed anyways. The misconfiguration has been removed.

Tested: Schema Validator Pass

Change-Id: I5ceda72a09a4b1dbcce64de9d087701b25a15dac
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/schemas/legacy.json b/schemas/legacy.json
index cf40dbd..51ad1cf 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -759,6 +759,25 @@
             "required": ["Name", "Type", "Bus", "Address"],
             "type": "object"
         },
+        "EEPROM": {
+            "additionalProperties": false,
+            "properties": {
+                "Name": {
+                    "$ref": "#/$defs/Types/Name"
+                },
+                "Bus": {
+                    "$ref": "#/$defs/Types/Bus"
+                },
+                "Address": {
+                    "$ref": "#/$defs/Types/Address"
+                },
+                "Type": {
+                    "const": "EEPROM"
+                }
+            },
+            "required": ["Name", "Type", "Bus", "Address"],
+            "type": "object"
+        },
         "Aggregate": {
             "description": "Don't add additional properties to this schema. Consult README.schema for instructions on adding new Exposes element sub-schema.",
             "additionalProperties": false,
@@ -1200,7 +1219,6 @@
                 "enum": [
                     "SBRMI",
                     "smpro_hwmon",
-                    "EEPROM",
                     "BMC",
                     "Board",
                     "pmbus",