kudo_motherboard: Add fan sensor configuration
Provide support for kudo motherboard REAR FAN sensor configurations.
Signed-off-by: Avenash Asai Thambi <avenash.thambi@fii-usa.com>
Change-Id: I9590b1c3ca0e76b359789603353b4451e2b16521
diff --git a/configurations/kudo_motherboard.json b/configurations/kudo_motherboard.json
index 5788ba0..d5f4eb8 100644
--- a/configurations/kudo_motherboard.json
+++ b/configurations/kudo_motherboard.json
@@ -864,6 +864,245 @@
"Units": "DegreesC"
},
{
+ "AllowedFailures": 1,
+ "Name": "FanRedundancy",
+ "Type": "FanRedundancy"
+ },
+ {
+ "Address": "0x2c",
+ "Bus": "18",
+ "Connector": {
+ "Name": "REAR_FAN0_SPEED",
+ "Pwm": 0,
+ "PwmName": "REAR_FAN0_PWM",
+ "Tachs": [
+ 0
+ ]
+ },
+ "EntityId": 29,
+ "EntityInstance": 6,
+ "Index": 0,
+ "MaxReading": 20000,
+ "Name": "REAR_FAN0_SPEED",
+ "PowerState": "Always",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 2000
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1000
+ }
+ ],
+ "Type": "I2CFan"
+ },
+ {
+ "EntityId": 29,
+ "EntityInstance": 0,
+ "Name": "REAR_FAN0_PWM",
+ "Type": "I2CFan"
+ },
+ {
+ "Address": "0x2c",
+ "Bus": "18",
+ "Connector": {
+ "Name": "REAR_FAN1_SPEED",
+ "Pwm": 1,
+ "PwmName": "REAR_FAN1_PWM",
+ "Tachs": [
+ 0
+ ]
+ },
+ "EntityId": 29,
+ "EntityInstance": 7,
+ "Index": 1,
+ "MaxReading": 20000,
+ "Name": "REAR_FAN1_SPEED",
+ "PowerState": "Always",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 2000
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1000
+ }
+ ],
+ "Type": "I2CFan"
+ },
+ {
+ "EntityId": 29,
+ "EntityInstance": 1,
+ "Name": "REAR_FAN1_PWM",
+ "Type": "I2CFan"
+ },
+ {
+ "Address": "0x2c",
+ "Bus": "18",
+ "Connector": {
+ "Name": "REAR_FAN2_SPEED",
+ "Pwm": 2,
+ "PwmName": "REAR_FAN2_PWM",
+ "Tachs": [
+ 0
+ ]
+ },
+ "EntityId": 29,
+ "EntityInstance": 8,
+ "Index": 2,
+ "MaxReading": 20000,
+ "Name": "REAR_FAN2_SPEED",
+ "PowerState": "Always",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 2000
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1000
+ }
+ ],
+ "Type": "I2CFan"
+ },
+ {
+ "EntityId": 29,
+ "EntityInstance": 2,
+ "Name": "REAR_FAN2_PWM",
+ "Type": "I2CFan"
+ },
+ {
+ "Address": "0x2c",
+ "Bus": "18",
+ "Connector": {
+ "Name": "REAR_FAN3_SPEED",
+ "Pwm": 3,
+ "PwmName": "REAR_FAN3_PWM",
+ "Tachs": [
+ 0
+ ]
+ },
+ "EntityId": 29,
+ "EntityInstance": 9,
+ "Index": 3,
+ "MaxReading": 20000,
+ "Name": "REAR_FAN3_SPEED",
+ "PowerState": "Always",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 2000
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1000
+ }
+ ],
+ "Type": "I2CFan"
+ },
+ {
+ "EntityId": 29,
+ "EntityInstance": 3,
+ "Name": "REAR_FAN3_PWM",
+ "Type": "I2CFan"
+ },
+ {
+ "Address": "0x2c",
+ "Bus": "18",
+ "Connector": {
+ "Name": "REAR_FAN4_SPEED",
+ "Pwm": 4,
+ "PwmName": "REAR_FAN4_PWM",
+ "Tachs": [
+ 0
+ ]
+ },
+ "EntityId": 29,
+ "EntityInstance": 10,
+ "Index": 4,
+ "MaxReading": 20000,
+ "Name": "REAR_FAN4_SPEED",
+ "PowerState": "Always",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 2000
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1000
+ }
+ ],
+ "Type": "I2CFan"
+ },
+ {
+ "EntityId": 29,
+ "EntityInstance": 4,
+ "Name": "REAR_FAN4_PWM",
+ "Type": "I2CFan"
+ },
+ {
+ "Address": "0x2c",
+ "Bus": "18",
+ "Connector": {
+ "Name": "REAR_FAN5_SPEED",
+ "Pwm": 5,
+ "PwmName": "REAR_FAN5_PWM",
+ "Tachs": [
+ 0
+ ]
+ },
+ "EntityId": 29,
+ "EntityInstance": 11,
+ "Index": 5,
+ "MaxReading": 20000,
+ "Name": "REAR_FAN5_SPEED",
+ "PowerState": "Always",
+ "Thresholds": [
+ {
+ "Direction": "less than",
+ "Name": "lower non critical",
+ "Severity": 0,
+ "Value": 2000
+ },
+ {
+ "Direction": "less than",
+ "Name": "lower critical",
+ "Severity": 1,
+ "Value": 1000
+ }
+ ],
+ "Type": "I2CFan"
+ },
+ {
+ "EntityId": 29,
+ "EntityInstance": 5,
+ "Name": "REAR_FAN5_PWM",
+ "Type": "I2CFan"
+ },
+ {
"Address": "0x48",
"Bus": 42,
"EntityId": 3,