Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Edgecore][PDDF/as5835-54x] Support PDDF #13700

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
527a6b6
[Edgecore][PDDF/as5835-54x] Support PDDF
jostar-yang Feb 7, 2023
5a5f466
Fix Semgrep check
jostar-yang Feb 7, 2023
0ec63c4
Add pcie.yaml file
jostar-yang Feb 8, 2023
aba92dc
Add platform.json file
jostar-yang Feb 9, 2023
f2f368f
Modify CPLD name to more detail
jostar-yang Feb 10, 2023
baf599b
Fix error cpld name
jostar-yang Feb 10, 2023
53796a4
Modify sys_led define in pddf-device.json
jostar-yang Feb 14, 2023
a533c35
Modify devices_to_ignore for psu_fan speed
jostar-yang Feb 17, 2023
577556e
Fix system_health_monitoring_config led_color string
jostar-yang Feb 21, 2023
04fb343
Add set/get temp threshold api
jostar-yang Feb 22, 2023
03bedca
[Edgecore][device][platform] Fixed sonic-mgmt pytest failed items
ec-michael-shih Mar 16, 2023
0929d57
[Edgecore][device][platform] Update pcie.yaml
ec-michael-shih Mar 16, 2023
31f3df7
Add get_error_description() support to sfp.py
jostar-yang Apr 13, 2023
18c0a73
Support show cpu all core temp
jostar-yang May 10, 2023
dc76ccc
[Edgecore][device][platform] Fix pytest issue
roger530-ho Jul 19, 2023
957882c
[Edgecore][AS5835-54X] Read the data when the PSU is in the power-goo…
roger530-ho Aug 14, 2023
a08bea4
Merge branch 'master' into as5835_54x_20230207_pddf
jostar-yang Jun 19, 2024
96124b0
Merge branch 'sonic-net:master' into as5835_54x_20230207_pddf
roger530-ho Jul 16, 2024
233b63f
Support fan direction of DC PSU
roger530-ho Jul 16, 2024
c2e3a2c
Addpsu_temp1_threshold and support ddr temp to sensors
jostar-yang Jul 17, 2024
91c82c1
Add reset() in sfp.py for check sfp_port to avoid fail
jostar-yang Aug 29, 2024
60b6c5f
Add get_reset_status() to avoid get fail in sfp_port
jostar-yang Sep 5, 2024
832c39a
Modify reset() to return unsupport sfp_type
jostar-yang Sep 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
161 changes: 161 additions & 0 deletions device/accton/x86_64-accton_as5835_54x-r0/pcie.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
- bus: '00'
dev: '00'
fn: '0'
id: '1980'
name: 'Host bridge: Intel Corporation Atom Processor C3000 Series System Agent (rev
11)'
- bus: '00'
dev: '04'
fn: '0'
id: 19a1
name: 'Host bridge: Intel Corporation Atom Processor C3000 Series Error Registers
(rev 11)'
- bus: '00'
dev: '05'
fn: '0'
id: 19a2
name: 'Generic system peripheral [0807]: Intel Corporation Atom Processor C3000
Series Root Complex Event Collector (rev 11)'
- bus: '00'
dev: '06'
fn: '0'
id: 19a3
name: 'PCI bridge: Intel Corporation Atom Processor C3000 Series Integrated QAT
Root Port (rev 11)'
- bus: '00'
dev: 09
fn: '0'
id: 19a4
name: 'PCI bridge: Intel Corporation Atom Processor C3000 Series PCI Express Root
Port #0 (rev 11)'
- bus: '00'
dev: 0b
fn: '0'
id: 19a6
name: 'PCI bridge: Intel Corporation Atom Processor C3000 Series PCI Express Root
Port #2 (rev 11)'
- bus: '00'
dev: 0e
fn: '0'
id: 19a8
name: 'PCI bridge: Intel Corporation Atom Processor C3000 Series PCI Express Root
Port #4 (rev 11)'
- bus: '00'
dev: '10'
fn: '0'
id: 19aa
name: 'PCI bridge: Intel Corporation Atom Processor C3000 Series PCI Express Root
Port #6 (rev 11)'
- bus: '00'
dev: '12'
fn: '0'
id: 19ac
name: 'System peripheral: Intel Corporation Atom Processor C3000 Series SMBus Contoller
- Host (rev 11)'
- bus: '00'
dev: '13'
fn: '0'
id: 19b2
name: 'SATA controller: Intel Corporation Atom Processor C3000 Series SATA Controller
0 (rev 11)'
- bus: '00'
dev: '15'
fn: '0'
id: 19d0
name: 'USB controller: Intel Corporation Atom Processor C3000 Series USB 3.0 xHCI
Controller (rev 11)'
- bus: '00'
dev: '16'
fn: '0'
id: 19d1
name: 'PCI bridge: Intel Corporation Atom Processor C3000 Series Integrated LAN
Root Port #0 (rev 11)'
- bus: '00'
dev: '17'
fn: '0'
id: 19d2
name: 'PCI bridge: Intel Corporation Atom Processor C3000 Series Integrated LAN
Root Port #1 (rev 11)'
- bus: '00'
dev: '18'
fn: '0'
id: 19d3
name: 'Communication controller: Intel Corporation Atom Processor C3000 Series ME
HECI 1 (rev 11)'
- bus: '00'
dev: 1a
fn: '0'
id: 19d8
name: 'Serial controller: Intel Corporation Atom Processor C3000 Series HSUART Controller
(rev 11)'
- bus: '00'
dev: 1a
fn: '1'
id: 19d8
name: 'Serial controller: Intel Corporation Atom Processor C3000 Series HSUART Controller
(rev 11)'
- bus: '00'
dev: 1a
fn: '2'
id: 19d8
name: 'Serial controller: Intel Corporation Atom Processor C3000 Series HSUART Controller
(rev 11)'
- bus: '00'
dev: 1f
fn: '0'
id: 19dc
name: 'ISA bridge: Intel Corporation Atom Processor C3000 Series LPC or eSPI (rev
11)'
- bus: '00'
dev: 1f
fn: '1'
id: 19dd
name: 'Memory controller: Intel Corporation Atom Processor C3000 Series Primary
to Side Band (P2SB) Bridge (rev 11)'
- bus: '00'
dev: 1f
fn: '2'
id: 19de
name: 'Memory controller: Intel Corporation Atom Processor C3000 Series Power Management
Controller (rev 11)'
- bus: '00'
dev: 1f
fn: '4'
id: 19df
name: 'SMBus: Intel Corporation Atom Processor C3000 Series SMBus controller (rev
11)'
- bus: '00'
dev: 1f
fn: '5'
id: 19e0
name: 'Serial bus controller [0c80]: Intel Corporation Atom Processor C3000 Series
SPI Controller (rev 11)'
- bus: '01'
dev: '00'
fn: '0'
id: 19e2
name: 'Co-processor: Intel Corporation Atom Processor C3000 Series QuickAssist Technology
(rev 11)'
- bus: '02'
dev: '00'
fn: '0'
id: b771
name: 'Ethernet controller: Broadcom Inc. and subsidiaries Device b771 (rev 01)'
- bus: '05'
dev: '00'
fn: '0'
id: '1533'
name: 'Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev
03)'
- bus: '06'
dev: '00'
fn: '0'
id: 15c2
name: 'Ethernet controller: Intel Corporation Ethernet Connection X553 Backplane
(rev 11)'
- bus: 08
dev: '00'
fn: '0'
id: 15e5
name: 'Ethernet controller: Intel Corporation Ethernet Connection X553 1GbE (rev
11)'
66 changes: 66 additions & 0 deletions device/accton/x86_64-accton_as5835_54x-r0/pddf/pd-plugin.json
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":"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)"
}

}
Loading
Loading