sonic-buildimage/device/tencent/x86_64-tencent_tcs8400-r0/dev_0x407b.xml
mssonicbld ab0533e646
two platforms supporting S3IP SYSFS (TCS8400, TCS9400) (#12386) (#13210)
Why I did it
Add two platform that support s3IP framework

How I did it
Add two platforms supporting S3IP SYSFS (TCS8400, TCS9400)

How to verify it
Manual test

Co-authored-by: tianshangfei <31125751+tianshangfei@users.noreply.github.com>
2023-01-09 11:40:35 +08:00

350 lines
22 KiB
XML
Executable File

<?xml version="1.0" encoding="utf-8"?>
<!--
### type 1 result/1000
type 2 result/100
type 3 read bit
### property need check must add int front
-->
<catalog>
<fans>
<fan id="fan1" >
<property name="present" location="/sys/rg_plat/fan/fan1/present" type="4" decode="fanpresent" default="1"/>
<property name="status" location="/sys/rg_plat/fan/fan1/motor0/status" type="4" decode="fanstatus" default="1"/>
<property name="status2" location="/sys/rg_plat/fan/fan1/motor1/status" type="4" decode="fanstatus" default="1"/>
<property name="fru" e2type="fru" location="/sys/bus/i2c/devices/35-0050/eeprom"/>
<property name="rotor1_speed" location="/sys/rg_plat/fan/fan1/motor0/speed"/>
<property name="rotor2_speed" location="/sys/rg_plat/fan/fan1/motor1/speed"/>
</fan>
<fan id="fan2" >
<property name="present" location="/sys/rg_plat/fan/fan2/present" type="4" decode="fanpresent" default="1" />
<property name="status" location="/sys/rg_plat/fan/fan2/motor0/status" type="4" decode="fanstatus" default="1"/>
<property name="status2" location="/sys/rg_plat/fan/fan2/motor1/status" type="4" decode="fanstatus" default="1"/>
<property name="fru" e2type="fru" location="/sys/bus/i2c/devices/34-0050/eeprom"/>
<property name="rotor1_speed" location="/sys/rg_plat/fan/fan2/motor0/speed"/>
<property name="rotor2_speed" location="/sys/rg_plat/fan/fan2/motor1/speed"/>
</fan>
<fan id="fan3" >
<property name="present" location="/sys/rg_plat/fan/fan3/present" type="4" decode="fanpresent" default="1"/>
<property name="status" location="/sys/rg_plat/fan/fan3/motor0/status" type="4" decode="fanstatus" default="1"/>
<property name="status2" location="/sys/rg_plat/fan/fan3/motor1/status" type="4" decode="fanstatus" default="1"/>
<property name="fru" e2type="fru" location="/sys/bus/i2c/devices/33-0050/eeprom"/>
<property name="rotor1_speed" location="/sys/rg_plat/fan/fan3/motor0/speed"/>
<property name="rotor2_speed" location="/sys/rg_plat/fan/fan3/motor1/speed"/>
</fan>
<fan id="fan4" >
<property name="present" location="/sys/rg_plat/fan/fan4/present" type="4" decode="fanpresent" default="1"/>
<property name="status" location="/sys/rg_plat/fan/fan4/motor0/status" type="4" decode="fanstatus" default="1"/>
<property name="status2" location="/sys/rg_plat/fan/fan4/motor1/status" type="4" decode="fanstatus" default="1"/>
<property name="fru" e2type="fru" location="/sys/bus/i2c/devices/32-0050/eeprom"/>
<property name="rotor1_speed" location="/sys/rg_plat/fan/fan4/motor0/speed"/>
<property name="rotor2_speed" location="/sys/rg_plat/fan/fan4/motor1/speed"/>
</fan>
<fan id="fan5" >
<property name="present" location="/sys/rg_plat/fan/fan5/present" type="4" decode="fanpresent" default="1"/>
<property name="status" location="/sys/rg_plat/fan/fan5/motor0/status" type="4" decode="fanstatus" default="1"/>
<property name="status2" location="/sys/rg_plat/fan/fan5/motor1/status" type="4" decode="fanstatus" default="1"/>
<property name="fru" e2type="fru" location="/sys/bus/i2c/devices/31-0050/eeprom"/>
<property name="rotor1_speed" location="/sys/rg_plat/fan/fan5/motor0/speed"/>
<property name="rotor2_speed" location="/sys/rg_plat/fan/fan5/motor1/speed"/>
</fan>
<fan id="fan6" >
<property name="present" location="/sys/rg_plat/fan/fan6/present" type="4" decode="fanpresent" default="1"/>
<property name="status" location="/sys/rg_plat/fan/fan6/motor0/status" type="4" decode="fanstatus" default="1"/>
<property name="status2" location="/sys/rg_plat/fan/fan6/motor1/status" type="4" decode="fanstatus" default="1"/>
<property name="fru" e2type="fru" location="/sys/bus/i2c/devices/30-0050/eeprom"/>
<property name="rotor1_speed" location="/sys/rg_plat/fan/fan6/motor0/speed"/>
<property name="rotor2_speed" location="/sys/rg_plat/fan/fan6/motor1/speed"/>
</fan>
</fans>
<temps>
<temp id="air_inlet_TL" >
<property name="temp1_input" location="/sys/bus/i2c/devices/40-004f/hwmon/*/temp1_input" type="1" addend="-3"/>
<property name="temp1_max" location="/sys/bus/i2c/devices/40-004f/hwmon/*/temp1_max" type="1" />
<property name="temp1_max_hyst" location="/sys/bus/i2c/devices/40-004f/hwmon/*/temp1_max_hyst" type="1"/>
</temp>
<temp id="air_inlet_BL" >
<property name="temp1_input" location="/sys/bus/i2c/devices/39-004b/hwmon/*/temp1_input" type="1" />
<property name="temp1_max" location="/sys/bus/i2c/devices/39-004b/hwmon/*/temp1_max" type="1" />
<property name="temp1_max_hyst" location="/sys/bus/i2c/devices/39-004b/hwmon/*/temp1_max_hyst" type="1"/>
</temp>
<temp id="air_outlet_L" >
<property name="temp1_input" location="/sys/bus/i2c/devices/36-0048/hwmon/*/temp1_input" type="1" />
<property name="temp1_max" location="/sys/bus/i2c/devices/36-0048/hwmon/*/temp1_max" type="1" />
<property name="temp1_max_hyst" location="/sys/bus/i2c/devices/36-0048/hwmon/*/temp1_max_hyst" type="1"/>
</temp>
<temp id="air_outlet_R" >
<property name="temp1_input" location="/sys/bus/i2c/devices/36-0049/hwmon/*/temp1_input" type="1" />
<property name="temp1_max" location="/sys/bus/i2c/devices/36-0049/hwmon/*/temp1_max" type="1" />
<property name="temp1_max_hyst" location="/sys/bus/i2c/devices/36-0049/hwmon/*/temp1_max_hyst" type="1"/>
</temp>
<temp id="air_hotlet" >
<property name="temp1_input" location="/sys/bus/i2c/devices/40-004e/hwmon/*/temp1_input" type="1" />
<property name="temp1_max" location="/sys/bus/i2c/devices/40-004e/hwmon/*/temp1_max" type="1" />
<property name="temp1_max_hyst" location="/sys/bus/i2c/devices/40-004e/hwmon/*/temp1_max_hyst" type="1"/>
</temp>
<temp id="MAC_PACKAGE0" >
<property name="temp1_input" location="/sys/bus/i2c/devices/39-004c/hwmon/*/temp2_input" type="1" />
<property name="temp1_max" location="/sys/bus/i2c/devices/39-004c/hwmon/*/temp2_max" type="1" />
<property name="temp1_max_hyst" location="/sys/bus/i2c/devices/39-004c/hwmon/*/temp2_crit_hyst" type="1"/>
</temp>
<temp id="MAC_PACKAGE1" >
<property name="temp1_input" location="/sys/bus/i2c/devices/40-004c/hwmon/*/temp2_input" type="1" />
<property name="temp1_max" location="/sys/bus/i2c/devices/40-004c/hwmon/*/temp2_max" type="1" />
<property name="temp1_max_hyst" location="/sys/bus/i2c/devices/40-004c/hwmon/*/temp2_crit_hyst" type="1"/>
</temp>
</temps>
<psus>
<psu id="psu1" >
<property name="present" location="/sys/rg_plat/psu/psu1/present" type="4" decode="psucheck" default="1"/>
<property name="status" location="/sys/rg_plat/psu/psu1/output" type="4" decode="psustatus" default="1"/>
<property name="psu" e2type="fru" location="/sys/bus/i2c/devices/41-0050/eeprom"/>
<property name="in_current" location="/sys/bus/i2c/devices/41-0058/hwmon/*/curr1_input" type="1" />
<property name="in_voltage" location="/sys/bus/i2c/devices/41-0058/hwmon/*/in1_input" type="1"/>
<property name="out_voltage" location="/sys/bus/i2c/devices/41-0058/hwmon/*/in2_input" type="1" />
<property name="out_current" location="/sys/bus/i2c/devices/41-0058/hwmon/*/curr2_input" type="1" />
<property name="temp" location="/sys/bus/i2c/devices/41-0058/hwmon/*/temp1_input" type="1"/>
<property name="fan_speed" location="/sys/bus/i2c/devices/41-0058/hwmon/*/fan1_input" />
<property name="in_power" location="/sys/bus/i2c/devices/41-0058/hwmon/*/power1_input" type="5"/>
<property name="out_power" location="/sys/bus/i2c/devices/41-0058/hwmon/*/power2_input" type="5"/>
</psu>
<psu id="psu2" >
<property name="present" location="/sys/rg_plat/psu/psu2/present" type="4" decode="psucheck" default="1"/>
<property name="status" location="/sys/rg_plat/psu/psu2/output" type="4" decode="psustatus" default="1"/>
<property name="psu" e2type="fru" location="/sys/bus/i2c/devices/42-0050/eeprom"/>
<property name="in_current" location="/sys/bus/i2c/devices/42-0058/hwmon/*/curr1_input" type="1" />
<property name="in_voltage" location="/sys/bus/i2c/devices/42-0058/hwmon/*/in1_input" type="1"/>
<property name="out_voltage" location="/sys/bus/i2c/devices/42-0058/hwmon/*/in2_input" type="1" />
<property name="out_current" location="/sys/bus/i2c/devices/42-0058/hwmon/*/curr2_input" type="1" />
<property name="temp" location="/sys/bus/i2c/devices/42-0058/hwmon/*/temp1_input" type="1"/>
<property name="fan_speed" location="/sys/bus/i2c/devices/42-0058/hwmon/*/fan1_input" />
<property name="in_power" location="/sys/bus/i2c/devices/42-0058/hwmon/*/power1_input" type="5"/>
<property name="out_power" location="/sys/bus/i2c/devices/42-0058/hwmon/*/power2_input" type="5"/>
</psu>
</psus>
<dcdcs>
<dcdc id="VDD5V_CLK_MCU" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/45-005b/hwmon/hwmon*/in1_input" type="6" />
<property name="dcdc_max" gettype="config" value="5.345" />
<property name="dcdc_min" gettype="config" value="4.840" />
</dcdc>
<dcdc id="VDD3.3_CLK" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/45-005b/hwmon/hwmon*/in2_input" type="6" />
<property name="dcdc_max" gettype="config" value="3.560" />
<property name="dcdc_min" gettype="config" value="3.220" />
</dcdc>
<dcdc id="VDD1.0V" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/45-005b/hwmon/hwmon*/in3_input" type="6" />
<property name="dcdc_max" gettype="config" value="1.049" />
<property name="dcdc_min" gettype="config" value="0.950" />
</dcdc>
<dcdc id="VDD1.8V" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/45-005b/hwmon/hwmon*/in4_input" type="6" />
<property name="dcdc_max" gettype="config" value="1.903" />
<property name="dcdc_min" gettype="config" value="1.720" />
</dcdc>
<dcdc id="MAC_BOARD_VDD3.3V" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/45-005b/hwmon/hwmon*/in5_input" type="6" />
<property name="dcdc_max" gettype="config" value="3.499" />
<property name="dcdc_min" gettype="config" value="3.170" />
</dcdc>
<dcdc id="VDD1.2V" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/45-005b/hwmon/hwmon*/in6_input" type="6" />
<property name="dcdc_max" gettype="config" value="1.272" />
<property name="dcdc_min" gettype="config" value="1.150" />
</dcdc>
<dcdc id="VDD_CORE" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/45-005b/hwmon/hwmon*/in7_input" type="6" />
<property name="dcdc_max" gettype="config" value="0.950" />
<property name="dcdc_min" gettype="config" value="0.670" />
</dcdc>
<dcdc id="ANALOG0.75V" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/45-005b/hwmon/hwmon*/in8_input" type="6" />
<property name="dcdc_max" gettype="config" value="0.800" />
<property name="dcdc_min" gettype="config" value="0.700" />
</dcdc>
<dcdc id="MAC_VDD1.2V" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/45-005b/hwmon/hwmon*/in9_input" type="6" />
<property name="dcdc_max" gettype="config" value="1.259" />
<property name="dcdc_min" gettype="config" value="1.140" />
</dcdc>
<dcdc id="VDDO1.8V" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/45-005b/hwmon/hwmon*/in10_input" type="6" />
<property name="dcdc_max" gettype="config" value="1.937" />
<property name="dcdc_min" gettype="config" value="1.750" />
</dcdc>
<dcdc id="MAC_ANA1.2V" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/45-005b/hwmon/hwmon*/in11_input" type="6" />
<property name="dcdc_max" gettype="config" value="1.276" />
<property name="dcdc_min" gettype="config" value="1.150" />
</dcdc>
<dcdc id="MAC_ANA1.8V" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/45-005b/hwmon/hwmon*/in12_input" type="6" />
<property name="dcdc_max" gettype="config" value="1.910" />
<property name="dcdc_min" gettype="config" value="1.730" />
</dcdc>
<dcdc id="QSFP56_VDD3.3V_A" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/45-005b/hwmon/hwmon*/in13_input" type="6" />
<property name="dcdc_max" gettype="config" value="3.595" />
<property name="dcdc_min" gettype="config" value="3.250" />
</dcdc>
<dcdc id="QSFP56_VDD3.3V_B" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/45-005b/hwmon/hwmon*/in14_input" type="6" />
<property name="dcdc_max" gettype="config" value="3.601" />
<property name="dcdc_min" gettype="config" value="3.260" />
</dcdc>
<dcdc id="QSFPDD_VDD3.3V_A" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/45-005b/hwmon/hwmon*/in15_input" type="6" />
<property name="dcdc_max" gettype="config" value="3.565" />
<property name="dcdc_min" gettype="config" value="3.230" />
</dcdc>
<dcdc id="QSFPDD_VDD3.3V_B" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/45-005b/hwmon/hwmon*/in16_input" type="6" />
<property name="dcdc_max" gettype="config" value="3.564" />
<property name="dcdc_min" gettype="config" value="3.220" />
</dcdc>
<dcdc id="VDD5.0V" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/24-005b/hwmon/hwmon*/in1_input" type="6" />
<property name="dcdc_max" gettype="config" value="5.429" />
<property name="dcdc_min" gettype="config" value="4.910" />
</dcdc>
<dcdc id="CONNECT_VDD3.3V" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/24-005b/hwmon/hwmon*/in4_input" type="6" />
<property name="dcdc_max" gettype="config" value="3.437" />
<property name="dcdc_min" gettype="config" value="3.110" />
</dcdc>
<dcdc id="VDD12V" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/24-005b/hwmon/hwmon*/in6_input" type="6" />
<property name="dcdc_max" gettype="config" value="12.700" />
<property name="dcdc_min" gettype="config" value="11.300" />
</dcdc>
<dcdc id="VDD3.3_STBY" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/24-005b/hwmon/hwmon*/in7_input" type="6" />
<property name="dcdc_max" gettype="config" value="3.489" />
<property name="dcdc_min" gettype="config" value="3.160" />
</dcdc>
<dcdc id="SSD_VDD3.3V" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/24-005b/hwmon/hwmon*/in8_input" type="6" />
<property name="dcdc_max" gettype="config" value="3.475" />
<property name="dcdc_min" gettype="config" value="3.140" />
</dcdc>
<dcdc id="PHY_VDD1V0" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/24-005b/hwmon/hwmon*/in9_input" type="6" />
<property name="dcdc_max" gettype="config" value="1.050" />
<property name="dcdc_min" gettype="config" value="0.950" />
</dcdc>
<dcdc id="ODD_PHY_M" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/24-005b/hwmon/hwmon*/in11_input" type="6" />
<property name="dcdc_max" gettype="config" value="3.444" />
<property name="dcdc_min" gettype="config" value="3.116" />
</dcdc>
<dcdc id="VCCIN" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/25-0060/hwmon/hwmon*/in3_input" type="6" />
<property name="dcdc_max" gettype="config" value="1.879" />
<property name="dcdc_min" gettype="config" value="1.700" />
</dcdc>
<dcdc id="P1V05" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/25-0060/hwmon/hwmon*/in4_input" type="6" />
<property name="dcdc_max" gettype="config" value="1.103" />
<property name="dcdc_min" gettype="config" value="1.000" />
</dcdc>
<dcdc id="P1V2_VDDQ" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/25-006c/hwmon/hwmon*/in3_input" type="6" />
<property name="dcdc_max" gettype="config" value="1.258" />
<property name="dcdc_min" gettype="config" value="1.140" />
</dcdc>
<dcdc id="P2V5_VPP" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/25-006c/hwmon/hwmon*/in4_input" type="6" coefficient="1.124" />
<property name="dcdc_max" gettype="config" value="2.632" />
<property name="dcdc_min" gettype="config" value="2.380" />
</dcdc>
<dcdc id="P3V3_STBY" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/25-0043/hwmon/hwmon*/in1_input" type="6" />
<property name="dcdc_max" gettype="config" value="3.476" />
<property name="dcdc_min" gettype="config" value="3.140" />
</dcdc>
<dcdc id="P5V_AUX_IN" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/25-0043/hwmon/hwmon*/in2_input" type="6" />
<property name="dcdc_max" gettype="config" value="5.229" />
<property name="dcdc_min" gettype="config" value="4.730" />
</dcdc>
<dcdc id="P1V7_VCCSCFUSESUS_IN" >
<property name="dcdc_input" location="/sys/bus/i2c/devices/25-0043/hwmon/hwmon*/in3_input" type="6" />
<property name="dcdc_max" gettype="config" value="1.789" />
<property name="dcdc_min" gettype="config" value="1.620" />
</dcdc>
</dcdcs>
<mactemps>
<mactemp id="MAC_DIE_0" >
<property name="temp_input" location="/sys/bus/i2c/devices/44-0044/hwmon/hwmon*/temp1_input" type="1"/>
</mactemp>
<mactemp id="MAC_DIE_1" >
<property name="temp_input" location="/sys/bus/i2c/devices/44-0044/hwmon/hwmon*/temp2_input" type="1"/>
</mactemp>
<mactemp id="MAC_DIE_2" >
<property name="temp_input" location="/sys/bus/i2c/devices/44-0044/hwmon/hwmon*/temp3_input" type="1"/>
</mactemp>
<mactemp id="MAC_DIE_3" >
<property name="temp_input" location="/sys/bus/i2c/devices/44-0044/hwmon/hwmon*/temp4_input" type="1"/>
</mactemp>
<mactemp id="MAC_DIE_4" >
<property name="temp_input" location="/sys/bus/i2c/devices/44-0044/hwmon/hwmon*/temp5_input" type="1"/>
</mactemp>
<mactemp id="MAC_DIE_5" >
<property name="temp_input" location="/sys/bus/i2c/devices/44-0044/hwmon/hwmon*/temp6_input" type="1"/>
</mactemp>
<mactemp id="MAC_DIE_6" >
<property name="temp_input" location="/sys/bus/i2c/devices/44-0044/hwmon/hwmon*/temp7_input" type="1"/>
</mactemp>
<mactemp id="MAC_DIE_7" >
<property name="temp_input" location="/sys/bus/i2c/devices/44-0044/hwmon/hwmon*/temp8_input" type="1"/>
</mactemp>
<mactemp id="MAC_DIE_8" >
<property name="temp_input" location="/sys/bus/i2c/devices/44-0044/hwmon/hwmon*/temp9_input" type="1"/>
</mactemp>
</mactemps>
<macpowers>
<macpower id="MAC_Core" >
<property name="power_input" location="/sys/bus/i2c/devices/43-005b/hwmon/hwmon*/power1_input" type="5"/>
</macpower>
<macpower id="MAC_Analog" >
<property name="power_input" location="/sys/bus/i2c/devices/43-005b/hwmon/hwmon*/power2_input" type="5"/>
</macpower>
</macpowers>
<cpus location="/sys/class/hwmon/hwmon0"/>
<decode>
<fanpresent>
<code key="1" value="PRESENT"/>
<code key="0" value="ABSENT"/>
</fanpresent>
<fanstatus>
<code key="1" value="OK"/>
<code key="0" value="NOT OK"/>
</fanstatus>
<psucheck>
<code key="1" value="PRESENT"/>
<code key="0" value="ABSENT"/>
</psucheck>
<psustatus>
<code key="1" value="OK"/>
<code key="0" value="NOT OK"/>
</psustatus>
<psutype>
<code key="DPS-1300AB-6" value="PSA1300CRPS-F"/>
<code key="GW-CRPS1300D" value="PSA1300CRPS-F"/>
<code key="DPS-1300AB-11" value="PSA1300CRPS-R"/>
<code key="CRPS1300D3R" value="PSA1300CRPS-R"/>
</psutype>
<fan_display_name>
<code key="FAN24K4056-F" value="FAN24K4056-F"/>
<code key="FAN24K4056S-F" value="FAN24K4056-F"/>
<code key="FAN24K4056S-R" value="FAN24K4056-R"/>
</fan_display_name>
<slotpresent>
<code key="1" value="ABSENT"/>
<code key="0" value="PRESENT"/>
</slotpresent>
</decode>
</catalog>