sonic-buildimage/device/celestica/x86_64-cel_belgite-r0/pddf/pd-plugin.json
Jemston Fernando 892f26556c
[platform]: Fix Belgite platform issues (#13389)
As part of platform hardening this commit fixes several platform issues
in various components like PSU, FAN, Temperature, LED.
2023-01-18 10:00:07 -08:00

58 lines
1.1 KiB
JSON

{
"XCVR":
{
"xcvr_present":
{
"i2c":
{
"valmap-SFP+": {"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": { "0":"INTAKE", "1":"EXHAUST" }
}
},
"PSU_FAN_MAX_SPEED":"18000"
},
"FAN":
{
"direction":
{
"i2c":
{
"valmap": {"1":"EXHAUST", "0":"INTAKE"}
}
},
"present":
{
"i2c":
{
"valmap": {"1":false, "0":true}
}
},
"duty_cycle_to_pwm": "lambda dc: dc*255/100",
"pwm_to_duty_cycle": "lambda pwm: pwm/255*100"
}
}