-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jostar Yang <jostar_yang@accton.com.tw>
- Loading branch information
Jostar Yang
committed
Jun 29, 2021
1 parent
ef67ba5
commit 3335a3b
Showing
21 changed files
with
1,594 additions
and
1 deletion.
There are no files selected for viewing
66 changes: 66 additions & 0 deletions
66
device/accton/x86_64-accton_as4630_54pe-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,66 @@ | ||
{ | ||
"XCVR": | ||
{ | ||
"xcvr_present": | ||
{ | ||
"i2c": | ||
{ | ||
"valmap-SFP28": {"1":true, "0":false }, | ||
"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": { "F2B":"EXHAUST", "B2F":"INTAKE" } | ||
} | ||
}, | ||
|
||
"PSU_FAN_MAX_SPEED":"18000" | ||
}, | ||
|
||
"FAN": | ||
{ | ||
"direction": | ||
{ | ||
"i2c": | ||
{ | ||
"valmap": {"1":"EXHAUST", "0":"INTAKE"} | ||
} | ||
}, | ||
|
||
"present": | ||
{ | ||
"i2c": | ||
{ | ||
"valmap": {"1":true, "0":false} | ||
} | ||
}, | ||
|
||
"duty_cycle_to_pwm": "lambda dc: ((dc*100.0)/625)", | ||
|
||
"pwm_to_duty_cycle": "lambda pwm: ((pwm*625.0)/100)" | ||
} | ||
|
||
} |
Oops, something went wrong.