3ccc45f5b8
- Why I did it Add initial support of SN4800 platform . NOTE: This is work in progress and not full support of the platform. - How I did it Add new folders for SN4800 with zero ports based on SN4700 Spectrum-3 switch. - How to verify it Simulator device was tested. See #7448
190 lines
7.7 KiB
Plaintext
190 lines
7.7 KiB
Plaintext
################################################################################
|
|
# Copyright (c) 2021 Mellanox Technologies
|
|
#
|
|
# Platform specific sensors config for SN4800
|
|
################################################################################
|
|
|
|
# Temperature sensors
|
|
bus "i2c-2" "i2c-1-mux (chan_id 1)"
|
|
chip "mlxsw-i2c-*-48"
|
|
label temp1 "Ambient ASIC Temp"
|
|
|
|
bus "i2c-7" "i2c-1-mux (chan_id 6)"
|
|
chip "tmp102-i2c-*-49"
|
|
label temp1 "Ambient Fan Side Temp (air intake)"
|
|
chip "tmp102-i2c-*-4a"
|
|
label temp1 "Ambient Port Side Temp (air exhaust)"
|
|
|
|
bus "i2c-15" "i2c-1-mux (chan_id 6)"
|
|
chip "tmp102-i2c-15-49"
|
|
label temp1 "Ambient COMEX Temp"
|
|
|
|
# Power controllers
|
|
bus "i2c-5" "i2c-1-mux (chan_id 4)"
|
|
chip "mp2975-i2c-*-62"
|
|
label in1 "PMIC-1 PSU 12V Rail (in1)"
|
|
label in2 "PMIC-1 OSFP PORTS_P01_P08 Rail (out1)"
|
|
compute in2 (2)*@, @/(2)
|
|
label in3 "PMIC-1 OSFP PORTS_P09_P16 Rail (out2)"
|
|
compute in3 (2)*@, @/(2)
|
|
label temp1 "PMIC-1 OSFP PORTS_P01_P08 Temp 1"
|
|
label temp2 "PMIC-1 OSFP PORTS_P09_P16 Temp 2"
|
|
label power1 "PMIC-1 12V OSFP PORT_P01_P16 (in)"
|
|
label power2 "PMIC-1 OSFP P01_P08 Rail Pwr (out1)"
|
|
label power3 "PMIC-1 OSFP P09_P16 Rail Pwr (out2)"
|
|
label curr1 "PMIC-1 12V OSFP P01_P08 Rail Curr (in1)"
|
|
label curr2 "PMIC-1 OSFP P01_P8 Rail Curr (out1)"
|
|
label curr3 "PMIC-1 OSFP P09_P16 Rail Curr (out2)"
|
|
|
|
chip "mp2975-i2c-*-64"
|
|
label in1 "PMIC-2 PSU 12V Rail (in1)"
|
|
label in2 "PMIC-2 OSFP PORTS_P17_P24 Rail (out1)"
|
|
compute in2 (2)*@, @/(2)
|
|
label in3 "PMIC-2 OSFP PORTS_P25_P32 Rail (out2)"
|
|
compute in3 (2)*@, @/(2)
|
|
label temp1 "PMIC-2 OSFP PORTS_P17_P24 Temp 1"
|
|
label temp2 "PMIC-2 OSFP PORTS_P25_P32 Temp 2"
|
|
label power1 "PMIC-2 12V OSFP PORT_P17_P32 (in)"
|
|
label power2 "PMIC-2 OSFP P17_P24 Rail Pwr (out1)"
|
|
label power3 "PMIC-2 OSFP P25_P32 Rail Pwr (out2)"
|
|
label curr1 "PMIC-2 12V OSFP P17_P24 Rail Curr (in1)"
|
|
label curr2 "PMIC-2 OSFP P17_P24 Rail Curr (out1)"
|
|
label curr3 "PMIC-2 OSFP P25_P32 Rail Curr (out2)"
|
|
|
|
chip "mp2888-i2c-*-66"
|
|
label in1 "PMIC-3 PSU 12V Rail (in1)"
|
|
label in2 "PMIC-3 ASIC VCORE_MAIN Rail (out1)"
|
|
ignore in3
|
|
ignore in4
|
|
label temp1 "PMIC-3 ASIC VCORE_MAIN Temp 1"
|
|
ignore temp2
|
|
label power1 "PMIC-3 12V ASIC VCORE_MAIN Rail Pwr (in)"
|
|
label power2 "PMIC-3 ASIC VCORE_MAIN Rail Pwr (out1)"
|
|
ignore power3
|
|
ignore power4
|
|
label curr1 "PMIC-3 12V ASIC VCORE_MAIN Rail Curr (in1)"
|
|
label curr2 "PMIC-3 ASIC VCORE_MAIN Rail Curr (out1)"
|
|
ignore curr3
|
|
ignore curr4
|
|
|
|
chip "mp2975-i2c-*-68"
|
|
label in1 "PMIC-4 PSU 12V Rail (in)"
|
|
label in2 "PMIC-4 HVDD 1.2V EAST Rail (out1)"
|
|
label in3 "PMIC-4 DVDD 0.9V EAST Rail (out2)"
|
|
label temp1 "PMIC-4 HVDD 1.2V EAST Rail Temp"
|
|
label power1 "PMIC-4 12V HVDD_1.2V DVDD_0.9V EAST (in)"
|
|
label power2 "PMIC-4 HVDD 1.2V EAST Rail Pwr (out1)"
|
|
label power3 "PMIC-4 DVDD 0.9V EAST Rail Pwr (out2)"
|
|
label curr1 "PMIC-4 12V HVDD 1.2V EAST Rail Curr (in)"
|
|
label curr2 "PMIC-4 HVDD 1.2V EAST Rail Curr (out1)"
|
|
label curr3 "PMIC-4 DVDD 0.9V EAST Rail Curr (out2)"
|
|
|
|
chip "mp2975-i2c-*-6c"
|
|
label in1 "PMIC-5 PSU 12V Rail (in)"
|
|
label in2 "PMIC-5 HVDD 1.2V WEST Rail (out1)"
|
|
label in3 "PMIC-5 DVDD 0.9V WEST Rail (out2)"
|
|
label temp1 "PMIC-5 HVDD 1.2V WEST Rail Temp"
|
|
label power1 "PMIC-5 12V HVDD_1.2V DVDD_0.9V WEST (in)"
|
|
label power2 "PMIC-5 HVDD 1.2V WEST Rail Pwr (out1)"
|
|
label power3 "PMIC-5 DVDD 0.9V WEST Rail Pwr (out2)"
|
|
label curr1 "PMIC-5 12V HVDD 1.2V WEST Rail Curr (in)"
|
|
label curr2 "PMIC-5 HVDD 1.2V WEST Rail Curr (out1)"
|
|
label curr3 "PMIC-5 DVDD 0.9V WEST Rail Curr (out2)"
|
|
|
|
bus "i2c-15" "i2c-1-mux (chan_id 6)"
|
|
chip "tps53679-i2c-*-58"
|
|
label in1 "PMIC-8 PSU 12V Rail (in1)"
|
|
label in2 "PMIC-8 PSU 12V Rail (in2)"
|
|
label in3 "PMIC-8 COMEX 1.8V Rail (out)"
|
|
label in4 "PMIC-8 COMEX 1.05V Rail (out)"
|
|
label temp1 "PMIC-8 Temp 1"
|
|
label temp2 "PMIC-8 Temp 2"
|
|
label power1 "PMIC-8 COMEX 1.8V Rail Pwr (out)"
|
|
label power2 "PMIC-8 COMEX 1.05V Rail Pwr (out)"
|
|
label curr1 "PMIC-8 COMEX 1.8V Rail Curr (out)"
|
|
label curr2 "PMIC-8 COMEX 1.05V Rail Curr (out)"
|
|
chip "tps53679-i2c-*-61"
|
|
label in1 "PMIC-9 PSU 12V Rail (in1)"
|
|
label in2 "PMIC-9 PSU 12V Rail (in2)"
|
|
label in3 "PMIC-9 COMEX 1.2V Rail (out)"
|
|
ignore in4
|
|
label temp1 "PMIC-9 Temp 1"
|
|
label temp2 "PMIC-9 Temp 2"
|
|
label power1 "PMIC-9 COMEX 1.2V Rail Pwr (out)"
|
|
ignore power2
|
|
label curr1 "PMIC-9 COMEX 1.2V Rail Curr (out)"
|
|
ignore curr2
|
|
|
|
# Power supplies
|
|
bus "i2c-4" "i2c-1-mux (chan_id 3)"
|
|
chip "dps460-i2c-*-58"
|
|
label in1 "PSU-1(L) 220V Rail (in)"
|
|
ignore in2
|
|
label in3 "PSU-1(L) 12V Rail (out)"
|
|
label fan1 "PSU-1(L) Fan 1"
|
|
label temp1 "PSU-1(L) Temp 1"
|
|
label temp2 "PSU-1(L) Temp 2"
|
|
label temp3 "PSU-1(L) Temp 3"
|
|
label power1 "PSU-1(L) 220V Rail Pwr (in)"
|
|
label power2 "PSU-1(L) 12V Rail Pwr (out)"
|
|
label curr1 "PSU-1(L) 220V Rail Curr (in)"
|
|
label curr2 "PSU-1(L) 12V Rail Curr (out)"
|
|
chip "dps460-i2c-*-59"
|
|
label in1 "PSU-2(R) 220V Rail (in)"
|
|
ignore in2
|
|
label in3 "PSU-2(R) 12V Rail (out)"
|
|
label fan1 "PSU-2(R) Fan 1"
|
|
label temp1 "PSU-2(R) Temp 1"
|
|
label temp2 "PSU-2(R) Temp 2"
|
|
label temp3 "PSU-2(R) Temp 3"
|
|
label power1 "PSU-2(R) 220V Rail Pwr (in)"
|
|
label power2 "PSU-2(R) 12V Rail Pwr (out)"
|
|
label curr1 "PSU-2(R) 220V Rail Curr (in)"
|
|
label curr2 "PSU-2(R) 12V Rail Curr (out)"
|
|
|
|
chip "d1u54p_w_2000_12-i2c-*-58"
|
|
label in1 "PSU-1(L) 220V Rail (in)"
|
|
ignore in2
|
|
label in3 "PSU-1(L) 12V Rail (out)"
|
|
label fan1 "PSU-1(L) Fan 1"
|
|
label temp1 "PSU-1(L) Temp 1"
|
|
label temp2 "PSU-1(L) Temp 2"
|
|
label temp3 "PSU-1(L) Temp 3"
|
|
label power1 "PSU-1(L) 220V Rail Pwr (in)"
|
|
label power2 "PSU-1(L) 12V Rail Pwr (out)"
|
|
label curr1 "PSU-1(L) 220V Rail Curr (in)"
|
|
label curr2 "PSU-1(L) 12V Rail Curr (out)"
|
|
chip "d1u54p_w_2000_12-i2c-*-59"
|
|
label in1 "PSU-2(R) 220V Rail (in)"
|
|
ignore in2
|
|
label in3 "PSU-2(R) 12V Rail (out)"
|
|
label fan1 "PSU-2(R) Fan 1"
|
|
label temp1 "PSU-2(R) Temp 1"
|
|
label temp2 "PSU-2(R) Temp 2"
|
|
label temp3 "PSU-2(R) Temp 3"
|
|
label power1 "PSU-2(R) 220V Rail Pwr (in)"
|
|
label power2 "PSU-2(R) 12V Rail Pwr (out)"
|
|
label curr1 "PSU-2(R) 220V Rail Curr (in)"
|
|
label curr2 "PSU-2(R) 12V Rail Curr (out)"
|
|
|
|
# Chassis fans
|
|
chip "mlxreg_fan-isa-*"
|
|
label fan1 "Chassis Fan Drawer-1 Tach 1"
|
|
label fan2 "Chassis Fan Drawer-1 Tach 2"
|
|
label fan3 "Chassis Fan Drawer-2 Tach 1"
|
|
label fan4 "Chassis Fan Drawer-2 Tach 2"
|
|
label fan5 "Chassis Fan Drawer-3 Tach 1"
|
|
label fan6 "Chassis Fan Drawer-3 Tach 2"
|
|
label fan7 "Chassis Fan Drawer-4 Tach 1"
|
|
label fan8 "Chassis Fan Drawer-4 Tach 2"
|
|
label fan9 "Chassis Fan Drawer-5 Tach 1"
|
|
label fan10 "Chassis Fan Drawer-5 Tach 2"
|
|
label fan11 "Chassis Fan Drawer-6 Tach 1"
|
|
label fan12 "Chassis Fan Drawer-6 Tach 2"
|
|
label fan13 "Chassis Fan Drawer-7 Tach 1"
|
|
label fan14 "Chassis Fan Drawer-7 Tach 2"
|
|
|
|
# Miscellaneous
|
|
chip "*-virtual-*"
|
|
ignore temp1
|