forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
7,249 additions
and
5,516 deletions.
There are no files selected for viewing
64 changes: 64 additions & 0 deletions
64
device/accton/x86_64-accton_as5712_54x-r0/pddf/pd-plugin.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
|
||
"XCVR": | ||
{ | ||
"xcvr_present": | ||
{ | ||
"i2c": | ||
{ | ||
"valmap-QSFP28": {"1":true, "0":false} | ||
} | ||
} | ||
}, | ||
"PSU": | ||
{ | ||
"psu_present": | ||
{ | ||
"i2c": | ||
{ | ||
"valmap": { "1":true, "0":false } | ||
} | ||
}, | ||
|
||
"psu_power_good": | ||
{ | ||
"i2c": | ||
{ | ||
"valmap": { "1": true, "0":false } | ||
} | ||
}, | ||
|
||
"psu_fan_dir": | ||
{ | ||
"i2c": | ||
{ | ||
"valmap": { "1":"EXHAUST", "0":"INTAKE" } | ||
} | ||
}, | ||
|
||
"PSU_FAN_MAX_SPEED":"18000" | ||
}, | ||
|
||
"FAN": | ||
{ | ||
"direction": | ||
{ | ||
"i2c": | ||
{ | ||
"valmap": {"1":"INTAKE", "0":"EXHAUST"} | ||
} | ||
}, | ||
|
||
"present": | ||
{ | ||
"i2c": | ||
{ | ||
"valmap": {"1":true, "0":false} | ||
} | ||
}, | ||
|
||
"duty_cycle_to_pwm": "lambda dc: (dc / 5)", | ||
"pwm_to_duty_cycle": "lambda pwm: (pwm * 5)" | ||
} | ||
|
||
} |
Oops, something went wrong.