sonic-buildimage/device/ragile/x86_64-ragile_ra-b6510-32c-r0/dev.xml
pettershao-ragilenetworks 0e0772596e
[ragile] support 32c and 4s platform (#8824)
Signed-off-by: pettershao-ragilenetworks pettershao@ragilenetworks.com

What I did it

Add new platform x86_64-ragile_ra-b6510-32c-r0 (Trident 3)
ASIC Vendor: Broadcom
Switch ASIC: Trident 3
Port Config: 32x100G

Add new platform x86_64-ragile_ra-b6920-4s-r0 (Tomahawk 3)
ASIC Vendor: Broadcom
Switch ASIC: Tomahawk 3
Port Config: 128x100G

-How I did it
Provide device and platform related files.

-How to verify it
show platform fan
show platform ssdhealth
show platform psustatus
show platform summary
show platform syseeprom
show platform temperature
show interface status
2021-11-17 23:49:06 -08:00

137 lines
7.2 KiB
XML

<?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="2-000d/fan_present" type="3" bit="0" decode="fanpresent" default="0"/>
<property name="status" location="2-000d/fan_status" type="3" bit="0" decode="fanstatus" default="1"/>
<property name="fru" e2type="fru" location="16-0050/eeprom"/>
<!--property name="hw_version" location="/sys/bus/i2c/devices/16-0050/fan_hw_version" type="0" bit="0"/>
<property name="fan_type" location="/sys/bus/i2c/devices/16-0050/fan_type"/>
<property name="sn" location="/sys/bus/i2c/devices/16-0050/fan_sn"/-->
<property name="Speed" location="2-000d/fan1_1_real_speed"/>
</fan>
<fan id="fan2" >
<property name="present" location="2-000d/fan_present" type="3" bit="1" decode="fanpresent" default="0" />
<property name="status" location="2-000d/fan_status" type="3" bit="1" decode="fanstatus" default="1"/>
<property name="fru" e2type="fru" location="17-0050/eeprom"/>
<!--property name="hw_version" location="4-0053/fan_hw_version" type="0" bit="0"/>
<property name="fan_type" location="4-0053/fan_type"/>
<property name="sn" location="4-0053/fan_sn"/-->
<property name="Speed" location="2-000d/fan2_1_real_speed"/>
</fan>
<fan id="fan3" >
<property name="present" location="2-000d/fan_present" type="3" bit="2" decode="fanpresent" default="0"/>
<property name="status" location="2-000d/fan_status" type="3" bit="2" decode="fanstatus" default="1"/>
<property name="fru" e2type="fru" location="18-0050/eeprom"/>
<!--property name="hw_version" location="5-0053/fan_hw_version" type="0" bit="0"/>
<property name="fan_type" location="5-0053/fan_type"/>
<property name="sn" location="5-0053/fan_sn"/-->
<property name="Speed" location="2-000d/fan3_1_real_speed"/>
</fan>
<fan id="fan4" >
<property name="present" location="2-000d/fan_present" type="3" bit="3" decode="fanpresent" default="0"/>
<property name="status" location="2-000d/fan_status" type="3" bit="3" decode="fanstatus" default="1"/>
<property name="fru" e2type="fru" location="19-0050/eeprom"/>
<!--property name="hw_version" location="6-0053/fan_hw_version" type="0" bit="0"/>
<property name="fan_type" location="6-0053/fan_type"/>
<property name="sn" location="6-0053/fan_sn"/-->
<property name="Speed" location="2-000d/fan4_1_real_speed"/>
</fan>
<fan id="fan5" >
<property name="present" location="2-000d/fan_present" type="3" bit="4" decode="fanpresent" default="0"/>
<property name="status" location="2-000d/fan_status" type="3" bit="4" decode="fanstatus" default="1"/>
<property name="fru" e2type="fru" location="20-0050/eeprom"/>
<!--property name="hw_version" location="6-0053/fan_hw_version" type="0" bit="0"/>
<property name="fan_type" location="6-0053/fan_type"/>
<property name="sn" location="6-0053/fan_sn"/-->
<property name="Speed" location="2-000d/fan5_1_real_speed"/>
</fan>
</fans>
<temps>
<temp id="air_inlet" >
<property name="temp1_input" location="/3-0048/hwmon/*/temp1_input" type="1"/>
<property name="temp1_max" location="/3-0048/hwmon/*/temp1_max" type="1" />
<property name="temp1_max_hyst" location="/3-0048/hwmon/*/temp1_max_hyst" type="1" />
</temp>
<temp id="air_outlet" >
<property name="temp1_input" location="/3-0049/hwmon/*/temp1_input" type="1" />
<property name="temp1_max" location="/3-0049/hwmon/*/temp1_max" type="1" />
<property name="temp1_max_hyst" location="/3-0049/hwmon/*/temp1_max_hyst" type="1" />
</temp>
<temp id="air_hotlet" >
<property name="temp1_input" location="/3-004a/hwmon/*/temp1_input" type="1"/>
<property name="temp1_max" location="/3-004a/hwmon/*/temp1_max" type="1"/>
<property name="temp1_max_hyst" location="/3-004a/hwmon/*/temp1_max_hyst" type="1"/>
</temp>
</temps>
<psus>
<psu id="psu1" >
<property name="present" location="6-000d/psu_status" type="3" bit="0" decode="psucheck" default="0"/>
<property name="status" location="6-000d/psu_status" type="3" bit="1" decode="psustatus" default="1"/>
<property name="sn" location="24-0050/psu_sn" />
<property name="in_current" location="24-0058/hwmon/*/curr1_input" type="1" />
<property name="in_voltage" location="24-0058/hwmon/*/in1_input" type="1"/>
<property name="out_voltage" location="24-0058/hwmon/*/in2_input" type="1" />
<property name="out_current" location="24-0058/hwmon/*/curr2_input" type="1" />
<property name="temp" location="24-0058/hwmon/*/temp1_input" type="1"/>
<property name="hw" location="24-0050/psu_hw" />
<property name="type1" location="24-0050/psu_type" decode="psutype"/>
<property name="fan_speed" location="24-0058/hwmon/*/fan1_input" />
<property name="in_power" location="24-0058/hwmon/*/power1_input" type="5"/>
<property name="out_power" location="24-0058/hwmon/*/power2_input" type="5"/>
</psu>
<psu id="psu2" >
<property name="present" location="6-000d/psu_status" type="3" bit="4" decode="psucheck" default="0"/>
<property name="status" location="6-000d/psu_status" type="3" bit="5" decode="psustatus" default="1"/>
<property name="sn" location="25-0050/psu_sn" />
<property name="in_current" location="25-0058/hwmon/*/curr1_input" type="1" />
<property name="in_voltage" location="25-0058/hwmon/*/in1_input" type="1"/>
<property name="out_voltage" location="25-0058/hwmon/*/in2_input" type="1" />
<property name="out_current" location="25-0058/hwmon/*/curr2_input" type="1" />
<property name="temp" location="25-0058/hwmon/*/temp1_input" type="1"/>
<property name="hw" location="25-0050/psu_hw" />
<property name="type1" location="25-0050/psu_type" decode="psutype"/>
<property name="fan_speed" location="25-0058/hwmon/*/fan1_input" />
<property name="in_power" location="25-0058/hwmon/*/power1_input" type="5"/>
<property name="out_power" location="25-0058/hwmon/*/power2_input" type="5"/>
</psu>
</psus>
<cpus location="/sys/class/hwmon/hwmon0"/>
<ports_rx>
<mgmt_rx id="mgmt" sender="eth0" >
<property name="mgmt" location="/eth0/statistics/rx_packets" type="4"/>
</mgmt_rx>
</ports_rx>
<decode>
<fanpresent>
<code key="1" value="ABSENT"/>
<code key="0" value="PRESENT"/>
</fanpresent>
<fanstatus>
<code key="1" value="OK"/>
<code key="0" value="NOT OK"/>
</fanstatus>
<psucheck>
<code key="1" value="ABSENT"/>
<code key="0" value="PRESENT"/>
</psucheck>
<psustatus>
<code key="1" value="OK"/>
<code key="0" value="NOT OK"/>
</psustatus>
<psutype>
<code key="CSU550AP-3-300" value="RG-PA550I-F"/>
<code key="DPS-550AB-39 A" value="RG-PA550I-F"/>
<code key="CSU550AP-3-501" value="RG-PA550I-F"/>
</psutype>
</decode>
</catalog>