c92bfe0728
Why I did it add celestica belgite platform How I did it add belgite platform in celestica Co-authored-by: nicwu-cel <nicwu@celestica.com> Co-authored-by: anjian <anjian@celestica.com> Co-authored-by: sandycelestica <sandyli@celestica.com>
62 lines
1.2 KiB
JSON
62 lines
1.2 KiB
JSON
{
|
|
"XCVR":
|
|
{
|
|
"xcvr_present":
|
|
{
|
|
"i2c":
|
|
{
|
|
"valmap-SFP28": {"1":false, "0":true }
|
|
}
|
|
}
|
|
},
|
|
"PSU":
|
|
{
|
|
"psu_present":
|
|
{
|
|
"i2c":
|
|
{
|
|
"valmap": { "1":true, "0":false }
|
|
}
|
|
},
|
|
"psu_power_good":
|
|
{
|
|
"i2c":
|
|
{
|
|
"valmap": { "0": true, "1":false }
|
|
}
|
|
},
|
|
"psu_fan_dir":
|
|
{
|
|
"i2c":
|
|
{
|
|
"valmap": { "F2B":"INTAKE", "B2F":"EXHAUST" }
|
|
}
|
|
},
|
|
"PSU_FAN_MAX_SPEED":"18000"
|
|
},
|
|
"FAN":
|
|
{
|
|
"direction":
|
|
{
|
|
"i2c":
|
|
{
|
|
"valmap": {"1":"EXHAUST", "0":"INTAKE"}
|
|
}
|
|
},
|
|
"present":
|
|
{
|
|
"i2c":
|
|
{
|
|
"valmap": {"1":false, "0":true}
|
|
}
|
|
},
|
|
"fan_master_led_color":
|
|
{
|
|
"colmap": {"green":"green", "red":"amber"}
|
|
},
|
|
"duty_cycle_to_pwm": "lambda dc: dc*255/100",
|
|
|
|
"pwm_to_duty_cycle": "lambda pwm: pwm/255*100"
|
|
}
|
|
}
|