meta-amd: Add entity-manager configurations for AMD EthanolX
Add entity-manager baseboard and chassis json configurations for AMD
EthanolX.
bb append entity-manager recipe to include above files.
Sigened-off-by: Supreeth Venkatesh <supreeth.venkatesh@amd.com>
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Change-Id: I766be9587149fe54034ff8e01aa1013797f873a9
diff --git a/meta-amd/meta-ethanolx/recipes-phosphor/configuration/entity-manager/ethanolx-chassis.json b/meta-amd/meta-ethanolx/recipes-phosphor/configuration/entity-manager/ethanolx-chassis.json
new file mode 100644
index 0000000..ff4cbdc
--- /dev/null
+++ b/meta-amd/meta-ethanolx/recipes-phosphor/configuration/entity-manager/ethanolx-chassis.json
@@ -0,0 +1,77 @@
+{
+ "Exposes": [
+ {
+ "Index": 0,
+ "BindConnector": "P0 Fan connector",
+ "MaxReading": 6000,
+ "Name": "P0_Fan",
+ "Type": "AspeedFan",
+ "Pwm": 1,
+ "Tachs": [1],
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 10
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 10000
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 8000
+ }
+ ]
+ },
+ {
+ "Index": 1,
+ "BindConnector": "P1 Fan connector",
+ "MaxReading": 6000,
+ "Name": "P1_Fan",
+ "Type": "AspeedFan",
+ "Pwm": 2,
+ "Tachs": [2],
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 0
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 10
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper critical",
+ "Severity": 1,
+ "Value": 10000
+ },
+ {
+ "Direction": "greater than",
+ "Name": "upper non critical",
+ "Severity": 0,
+ "Value": 8000
+ }
+ ]
+ }
+ ],
+ "Name": "AMD EthanolX Chassis",
+ "Probe": "FOUND('AMD EthanolX Baseboard')",
+ "Type": "Chassis"
+}