1acafa4873
Why I did it Add PDDF support on following Ufispace platforms with Broadcom ASIC S9110-32X S8901-54XC S7801-54XS S6301-56ST How I did it Add PDDF configuration files, scripts and python files How to verify it Run pddf commands and show commands. Signed-off-by: nonodark <ef67891@yahoo.com.tw>
2277 lines
67 KiB
JSON
2277 lines
67 KiB
JSON
{
|
|
"PLATFORM": {
|
|
"num_psus": 2,
|
|
"num_fantrays": 2,
|
|
"num_fans_pertray": 1,
|
|
"num_ports": 56,
|
|
"num_temps": 5,
|
|
"pddf_dev_types": {
|
|
"description": "PDDF supported devices",
|
|
"CPLD": [
|
|
"i2c_cpld"
|
|
],
|
|
"PSU": [
|
|
"psu_eeprom",
|
|
"psu_pmbus"
|
|
],
|
|
"FAN":
|
|
[
|
|
"fan_ctrl",
|
|
"fan_eeprom",
|
|
"fan_cpld"
|
|
],
|
|
"PORT_MODULE": [
|
|
"pddf_xcvr"
|
|
]
|
|
},
|
|
"std_kos": [
|
|
"i2c_i801",
|
|
"i2c-ismt",
|
|
"i2c_dev",
|
|
"i2c_mux_pca954x",
|
|
"optoe",
|
|
"lm75",
|
|
"gpio-pca953x",
|
|
"ucd9000",
|
|
"eeprom"
|
|
],
|
|
"pddf_kos": [
|
|
"pddf_client_module",
|
|
"pddf_cpld_module",
|
|
"pddf_cpld_driver",
|
|
"pddf_mux_module",
|
|
"pddf_xcvr_module",
|
|
"pddf_xcvr_driver_module",
|
|
"pddf_psu_driver_module",
|
|
"pddf_psu_module",
|
|
"pddf_fan_driver_module",
|
|
"pddf_fan_module",
|
|
"pddf_led_module",
|
|
"pddf_gpio_module"
|
|
],
|
|
"custom_kos": [
|
|
"x86-64-ufispace-s6301-56st-lpc",
|
|
"x86-64-ufispace-s6301-56st-sys-eeprom"
|
|
]
|
|
},
|
|
"SYSTEM": {
|
|
"dev_info": {
|
|
"device_type": "CPU",
|
|
"device_name": "ROOT_COMPLEX",
|
|
"device_parent": null
|
|
},
|
|
"i2c": {
|
|
"CONTROLLERS": [
|
|
{
|
|
"dev_name": "i2c-1",
|
|
"dev": "SMBUS1"
|
|
},
|
|
{
|
|
"dev_name": "i2c-0",
|
|
"dev": "SMBUS0"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"SMBUS1": {
|
|
"dev_info": {
|
|
"device_type": "SMBUS", "device_name": "SMBUS1", "device_parent": "SYSTEM"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"dev_addr": "0x1"
|
|
},
|
|
"DEVICES": [
|
|
{
|
|
"dev": "EEPROM1"
|
|
},
|
|
{
|
|
"dev": "MUX1"
|
|
},
|
|
{
|
|
"dev": "MUX2"
|
|
},
|
|
{
|
|
"dev": "CPLD1"
|
|
},
|
|
{
|
|
"dev": "FAN-CTRL"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"EEPROM1": {
|
|
"dev_info": {
|
|
"device_type": "EEPROM",
|
|
"device_name": "EEPROM1",
|
|
"device_parent": "SMBUS1"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x1",
|
|
"dev_addr": "0x56",
|
|
"dev_type": "sys_eeprom"
|
|
},
|
|
"dev_attr": {
|
|
"access_mode": "BLOCK"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "eeprom"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"MUX1": {
|
|
"dev_info": { "device_type": "MUX", "device_name": "MUX1", "device_parent": "SMBUS1"},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x1",
|
|
"dev_addr": "0x72",
|
|
"dev_type": "pca9546"
|
|
},
|
|
"dev_attr": {
|
|
"virt_bus": "0x2",
|
|
"idle_state": "-2"
|
|
},
|
|
"channel": [
|
|
{
|
|
"chn": "0",
|
|
"dev": "PSU1"
|
|
},
|
|
{
|
|
"chn": "0",
|
|
"dev": "PSU2"
|
|
},
|
|
{
|
|
"chn": "1",
|
|
"dev": "TEMP1"
|
|
},
|
|
{
|
|
"chn": "1",
|
|
"dev": "TEMP2"
|
|
},
|
|
{
|
|
"chn": "1",
|
|
"dev": "GPIO4"
|
|
},
|
|
{
|
|
"chn": "3",
|
|
"dev": "TEMP3"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"MUX2": {
|
|
"dev_info": { "device_type": "MUX", "device_name": "MUX2", "device_parent": "SMBUS1"},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x1",
|
|
"dev_addr": "0x70",
|
|
"dev_type": "pca9546"
|
|
},
|
|
"dev_attr": {
|
|
"virt_bus": "0x6",
|
|
"idle_state": "-2"
|
|
},
|
|
"channel": [
|
|
{
|
|
"chn": "0",
|
|
"dev": "GPIO1"
|
|
},
|
|
{
|
|
"chn": "1",
|
|
"dev": "GPIO2"
|
|
},
|
|
{
|
|
"chn": "2",
|
|
"dev": "GPIO3"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"GPIO1": {
|
|
"dev_info": {
|
|
"device_type": "GPIO",
|
|
"device_name": "GPIO1",
|
|
"device_parent": "MUX2"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x6",
|
|
"dev_addr": "0x20",
|
|
"dev_type": "pca9535"
|
|
},
|
|
"dev_attr": {
|
|
"gpio_base": "0x1f0"
|
|
},
|
|
"ports": [
|
|
{
|
|
"port_num": "0",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "1",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "2",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "3",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "4",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "5",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "6",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "7",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "8",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "9",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "10",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "11",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "12",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "13",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "14",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "15",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"GPIO2": {
|
|
"dev_info": {
|
|
"device_type": "GPIO",
|
|
"device_name": "GPIO2",
|
|
"device_parent": "MUX2"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x7",
|
|
"dev_addr": "0x21",
|
|
"dev_type": "pca9535"
|
|
},
|
|
"dev_attr": {
|
|
"gpio_base": "0x1e0"
|
|
},
|
|
"ports": [
|
|
{
|
|
"port_num": "0",
|
|
"direction": "out",
|
|
"value": "1",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "1",
|
|
"direction": "out",
|
|
"value": "1",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "2",
|
|
"direction": "out",
|
|
"value": "1",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "3",
|
|
"direction": "out",
|
|
"value": "1",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "4",
|
|
"direction": "out",
|
|
"value": "1",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "5",
|
|
"direction": "out",
|
|
"value": "1",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "6",
|
|
"direction": "out",
|
|
"value": "1",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "7",
|
|
"direction": "out",
|
|
"value": "1",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "8",
|
|
"direction": "out",
|
|
"value": "0",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "9",
|
|
"direction": "out",
|
|
"value": "0",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "10",
|
|
"direction": "out",
|
|
"value": "0",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "11",
|
|
"direction": "out",
|
|
"value": "0",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "12",
|
|
"direction": "out",
|
|
"value": "0",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "13",
|
|
"direction": "out",
|
|
"value": "0",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "14",
|
|
"direction": "out",
|
|
"value": "0",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "15",
|
|
"direction": "out",
|
|
"value": "0",
|
|
"edge": "",
|
|
"active_low": ""
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"GPIO3": {
|
|
"dev_info": {
|
|
"device_type": "GPIO",
|
|
"device_name": "GPIO3",
|
|
"device_parent": "MUX2"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x8",
|
|
"dev_addr": "0x22",
|
|
"dev_type": "pca9535"
|
|
},
|
|
"dev_attr": {
|
|
"gpio_base": "0x1d0"
|
|
},
|
|
"ports": [
|
|
{
|
|
"port_num": "0",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "1",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "2",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "3",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "4",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "5",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "6",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "7",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "8",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "9",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "10",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "11",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "12",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "13",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "14",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "15",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"GPIO4": {
|
|
"dev_info": {
|
|
"device_type": "GPIO",
|
|
"device_name": "GPIO4",
|
|
"device_parent": "MUX1"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x3",
|
|
"dev_addr": "0x21",
|
|
"dev_type": "pca9554"
|
|
},
|
|
"dev_attr": {
|
|
"gpio_base": "0x1C8"
|
|
},
|
|
"ports": [
|
|
{
|
|
"port_num": "0",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "1",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "2",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "3",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "4",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "5",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "6",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
},
|
|
{
|
|
"port_num": "7",
|
|
"direction": "in",
|
|
"value": "",
|
|
"edge": "",
|
|
"active_low": ""
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"CPLD1": {
|
|
"dev_info": {
|
|
"device_type": "CPLD",
|
|
"device_name": "CPLD1",
|
|
"device_parent": "SMBUS1"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x1",
|
|
"dev_addr": "0x33",
|
|
"dev_type": "i2c_cpld"
|
|
},
|
|
"dev_attr": {}
|
|
}
|
|
},
|
|
"SMBUS0": {
|
|
"dev_info": {
|
|
"device_type": "SMBUS", "device_name": "SMBUS0", "device_parent": "SYSTEM"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"dev_addr": "0x0"
|
|
},
|
|
"DEVICES": [
|
|
{
|
|
"dev": "MUX3"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"MUX3": {
|
|
"dev_info": { "device_type":"MUX", "device_name":"MUX3", "device_parent":"SMBUS0"},
|
|
"i2c":
|
|
{
|
|
"topo_info": { "parent_bus":"0x0", "dev_addr":"0x71", "dev_type":"pca9548"},
|
|
"dev_attr": { "virt_bus":"0xa", "idle_state":"-2"},
|
|
"channel":
|
|
[
|
|
{ "chn":"0", "dev":"PORT49" },
|
|
{ "chn":"1", "dev":"PORT50" },
|
|
{ "chn":"2", "dev":"PORT51" },
|
|
{ "chn":"3", "dev":"PORT52" },
|
|
{ "chn":"4", "dev":"PORT53" },
|
|
{ "chn":"5", "dev":"PORT54" },
|
|
{ "chn":"6", "dev":"PORT55" },
|
|
{ "chn":"7", "dev":"PORT56" }
|
|
]
|
|
}
|
|
},
|
|
"TEMP1": {
|
|
"dev_info": {
|
|
"device_type": "TEMP_SENSOR",
|
|
"device_name": "TEMP1",
|
|
"device_parent": "MUX1"
|
|
},
|
|
"dev_attr": {
|
|
"display_name": "Temp_FAN1"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x3",
|
|
"dev_addr": "0x49",
|
|
"dev_type": "tmp75"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "temp1_high_threshold",
|
|
"drv_attr_name": "temp1_max"
|
|
},
|
|
{
|
|
"attr_name": "temp1_max_hyst"
|
|
},
|
|
{
|
|
"attr_name": "temp1_input"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"TEMP2": {
|
|
"dev_info": {
|
|
"device_type": "TEMP_SENSOR",
|
|
"device_name": "TEMP2",
|
|
"device_parent": "MUX1"
|
|
},
|
|
"dev_attr": {
|
|
"display_name": "Temp_FAN2"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x3",
|
|
"dev_addr": "0x4A",
|
|
"dev_type": "tmp75"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "temp1_high_threshold",
|
|
"drv_attr_name": "temp1_max"
|
|
},
|
|
{
|
|
"attr_name": "temp1_max_hyst"
|
|
},
|
|
{
|
|
"attr_name": "temp1_input"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"TEMP3": {
|
|
"dev_info": {
|
|
"device_type": "TEMP_SENSOR",
|
|
"device_name": "TEMP3",
|
|
"device_parent": "MUX1"
|
|
},
|
|
"dev_attr": {
|
|
"display_name": "Temp_PSUDB"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x5",
|
|
"dev_addr": "0x34",
|
|
"dev_type": "ucd90124"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "temp1_high_threshold",
|
|
"drv_attr_name": "temp2_max"
|
|
},
|
|
{
|
|
"attr_name": "temp1_input",
|
|
"drv_attr_name": "temp2_input"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"TEMP4": {
|
|
"dev_info": {
|
|
"device_type": "TEMP_SENSOR",
|
|
"device_name": "TEMP4",
|
|
"device_parent": "MUX1"
|
|
},
|
|
"dev_attr": {
|
|
"display_name": "Temp_MAC"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x5",
|
|
"dev_addr": "0x34",
|
|
"dev_type": "ucd90124"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "temp1_high_threshold",
|
|
"drv_attr_name": "temp3_max"
|
|
},
|
|
{
|
|
"attr_name": "temp1_input",
|
|
"drv_attr_name": "temp3_input"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"TEMP5": {
|
|
"dev_info": {
|
|
"device_type": "TEMP_SENSOR",
|
|
"device_name": "TEMP5",
|
|
"device_parent": "MUX1"
|
|
},
|
|
"dev_attr": {
|
|
"display_name": "Temp_INLET"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x5",
|
|
"dev_addr": "0x34",
|
|
"dev_type": "ucd90124"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "temp1_high_threshold",
|
|
"drv_attr_name": "temp4_max"
|
|
},
|
|
{
|
|
"attr_name": "temp1_input",
|
|
"drv_attr_name": "temp4_input"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PSU1": {
|
|
"dev_info": {
|
|
"device_type": "PSU",
|
|
"device_name": "PSU1",
|
|
"device_parent": "MUX1"
|
|
},
|
|
"dev_attr": {
|
|
"dev_idx": "1",
|
|
"num_psu_fans": "1"
|
|
},
|
|
"i2c": {
|
|
"interface": [
|
|
{ "itf":"pmbus", "dev":"PSU1-PMBUS" },
|
|
{ "itf":"eeprom", "dev":"PSU1-EEPROM" }
|
|
]
|
|
}
|
|
},
|
|
"PSU1-PMBUS": {
|
|
"dev_info": {
|
|
"device_type": "PSU-PMBUS",
|
|
"device_name": "PSU1-PMBUS",
|
|
"device_parent": "MUX1",
|
|
"virt_parent": "PSU1"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x2",
|
|
"dev_addr": "0x58",
|
|
"dev_type": "psu_pmbus"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "psu_present",
|
|
"attr_devaddr":"0x33",
|
|
"attr_devtype": "cpld",
|
|
"attr_devname":"CPLD1",
|
|
"attr_offset": "0x59",
|
|
"attr_mask": "0x1",
|
|
"attr_cmpval": "0x0",
|
|
"attr_len": "1"
|
|
},
|
|
{
|
|
"attr_name": "psu_power_good",
|
|
"attr_devaddr": "0x33",
|
|
"attr_devtype": "cpld",
|
|
"attr_devname": "CPLD1",
|
|
"attr_offset": "0x59",
|
|
"attr_mask": "0x10",
|
|
"attr_cmpval": "0x10",
|
|
"attr_len": "1"
|
|
},
|
|
{
|
|
"attr_name": "psu_model_name",
|
|
"attr_devaddr": "0x58",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x9a",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "12"
|
|
},
|
|
{
|
|
"attr_name": "psu_mfr_id",
|
|
"attr_devaddr": "0x58",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x99",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "10"
|
|
},
|
|
{
|
|
"attr_name": "psu_v_in",
|
|
"attr_devaddr": "0x58",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x88",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "2"
|
|
},
|
|
{
|
|
"attr_name": "psu_i_in",
|
|
"attr_devaddr": "0x58",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x89",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "2"
|
|
},
|
|
{
|
|
"attr_name": "psu_p_in",
|
|
"attr_devaddr": "0x58",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x97",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "2"
|
|
},
|
|
{
|
|
"attr_name": "psu_v_out",
|
|
"attr_devaddr": "0x58",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x8b",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "2"
|
|
},
|
|
{
|
|
"attr_name": "psu_i_out",
|
|
"attr_devaddr": "0x58",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x8c",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "2"
|
|
},
|
|
{
|
|
"attr_name": "psu_p_out",
|
|
"attr_devaddr": "0x58",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x96",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "2"
|
|
},
|
|
{
|
|
"attr_name": "psu_fan1_speed_rpm",
|
|
"attr_devaddr": "0x58",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x90",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "2"
|
|
},
|
|
{
|
|
"attr_name": "psu_temp1_input",
|
|
"attr_devaddr": "0x58",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x8d",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "2"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PSU1-EEPROM":
|
|
{
|
|
"dev_info": {
|
|
"device_type":"",
|
|
"device_name":"PSU1-EEPROM",
|
|
"device_parent":"MUX1",
|
|
"virt_parent":"PSU1"
|
|
},
|
|
"i2c":
|
|
{
|
|
"topo_info":{
|
|
"parent_bus":"0x2",
|
|
"dev_addr":"0x50",
|
|
"dev_type":"eeprom"
|
|
},
|
|
"attr_list":
|
|
[
|
|
{ "attr_name":"eeprom" }
|
|
]
|
|
}
|
|
},
|
|
"PSU2": {
|
|
"dev_info": {
|
|
"device_type": "PSU",
|
|
"device_name": "PSU2",
|
|
"device_parent": "MUX1"
|
|
},
|
|
"dev_attr": {
|
|
"dev_idx": "2",
|
|
"num_psu_fans": "1"
|
|
},
|
|
"i2c": {
|
|
"interface": [
|
|
{ "itf":"pmbus", "dev":"PSU2-PMBUS" },
|
|
{ "itf":"eeprom", "dev":"PSU2-EEPROM" }
|
|
]
|
|
}
|
|
},
|
|
"PSU2-PMBUS": {
|
|
"dev_info": {
|
|
"device_type": "PSU-PMBUS",
|
|
"device_name": "PSU2-PMBUS",
|
|
"device_parent": "MUX1",
|
|
"virt_parent": "PSU2"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x2",
|
|
"dev_addr": "0x59",
|
|
"dev_type": "psu_pmbus"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "psu_present",
|
|
"attr_devaddr":"0x33",
|
|
"attr_devtype": "cpld",
|
|
"attr_devname":"CPLD1",
|
|
"attr_offset": "0x59",
|
|
"attr_mask": "0x2",
|
|
"attr_cmpval": "0x0",
|
|
"attr_len": "1"
|
|
},
|
|
{
|
|
"attr_name": "psu_power_good",
|
|
"attr_devaddr": "0x33",
|
|
"attr_devtype": "cpld",
|
|
"attr_devname": "CPLD1",
|
|
"attr_offset": "0x59",
|
|
"attr_mask": "0x20",
|
|
"attr_cmpval": "0x20",
|
|
"attr_len": "1"
|
|
},
|
|
{
|
|
"attr_name": "psu_model_name",
|
|
"attr_devaddr": "0x59",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x9a",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "12"
|
|
},
|
|
{
|
|
"attr_name": "psu_mfr_id",
|
|
"attr_devaddr": "0x59",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x99",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "10"
|
|
},
|
|
{
|
|
"attr_name": "psu_v_in",
|
|
"attr_devaddr": "0x59",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x88",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "2"
|
|
},
|
|
{
|
|
"attr_name": "psu_i_in",
|
|
"attr_devaddr": "0x59",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x89",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "2"
|
|
},
|
|
{
|
|
"attr_name": "psu_p_in",
|
|
"attr_devaddr": "0x59",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x97",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "2"
|
|
},
|
|
{
|
|
"attr_name": "psu_v_out",
|
|
"attr_devaddr": "0x59",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x8b",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "2"
|
|
},
|
|
{
|
|
"attr_name": "psu_i_out",
|
|
"attr_devaddr": "0x59",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x8c",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "2"
|
|
},
|
|
{
|
|
"attr_name": "psu_p_out",
|
|
"attr_devaddr": "0x59",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x96",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "2"
|
|
},
|
|
{
|
|
"attr_name": "psu_fan1_speed_rpm",
|
|
"attr_devaddr": "0x59",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x90",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "2"
|
|
},
|
|
{
|
|
"attr_name": "psu_temp1_input",
|
|
"attr_devaddr": "0x59",
|
|
"attr_devtype": "pmbus",
|
|
"attr_offset": "0x8d",
|
|
"attr_mask": "0x0",
|
|
"attr_cmpval": "0xff",
|
|
"attr_len": "2"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PSU2-EEPROM":
|
|
{
|
|
"dev_info": {
|
|
"device_type":"",
|
|
"device_name":"PSU2-EEPROM",
|
|
"device_parent":"MUX1",
|
|
"virt_parent":"PSU2"
|
|
},
|
|
"i2c":
|
|
{
|
|
"topo_info":{
|
|
"parent_bus":"0x2",
|
|
"dev_addr":"0x51",
|
|
"dev_type":"eeprom"
|
|
},
|
|
"attr_list":
|
|
[
|
|
{ "attr_name":"eeprom" }
|
|
]
|
|
}
|
|
},
|
|
"FAN-CTRL": {
|
|
"dev_info": {
|
|
"device_type": "FAN",
|
|
"device_name": "FAN-CTRL",
|
|
"device_parent": "SMBUS1"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x1",
|
|
"dev_addr": "0x60",
|
|
"dev_type": "fan_cpld"
|
|
},
|
|
"dev_attr": { "num_fantrays":"2"},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "fan1_present",
|
|
"attr_devaddr":"0x33",
|
|
"attr_devtype": "cpld",
|
|
"attr_devname":"CPLD1",
|
|
"attr_offset": "0x55",
|
|
"attr_mask": "0x1",
|
|
"attr_cmpval": "0x0",
|
|
"attr_len": "1"
|
|
},
|
|
{
|
|
"attr_name": "fan2_present",
|
|
"attr_devaddr":"0x33",
|
|
"attr_devtype": "cpld",
|
|
"attr_devname":"CPLD1",
|
|
"attr_offset": "0x55",
|
|
"attr_mask": "0x2",
|
|
"attr_cmpval": "0x0",
|
|
"attr_len": "1"
|
|
},
|
|
{
|
|
"attr_name": "fan1_direction",
|
|
"attr_devaddr":"0x21",
|
|
"attr_devtype": "gpio",
|
|
"attr_devname":"GPIO4",
|
|
"attr_offset": "0x4",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "fan2_direction",
|
|
"attr_devaddr":"0x21",
|
|
"attr_devtype": "gpio",
|
|
"attr_devname":"GPIO4",
|
|
"attr_offset": "0x3",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"SYS_LED": {
|
|
"dev_info": {
|
|
"device_type": "LED",
|
|
"device_name": "SYS_LED"
|
|
},
|
|
"dev_attr": {
|
|
"index": "0"
|
|
},
|
|
"i2c": {
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "green",
|
|
"bits": "7:4",
|
|
"descr": "Green",
|
|
"value": "0x09;0x0b",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x81"
|
|
},
|
|
{
|
|
"attr_name": "green_blink",
|
|
"bits": "7:4",
|
|
"descr": "Green Blinking",
|
|
"value": "0x0d;0x0f",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x81"
|
|
},
|
|
{
|
|
"attr_name": "yellow",
|
|
"bits": "7:4",
|
|
"descr": "Yellow",
|
|
"value": "0x08;0x0a",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x81"
|
|
},
|
|
{
|
|
"attr_name": "yellow_blink",
|
|
"bits": "7:4",
|
|
"descr": "Yellow Blinking",
|
|
"value": "0x0c;0x0e",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x81"
|
|
},
|
|
{
|
|
"attr_name": "off",
|
|
"bits": "7",
|
|
"descr": "Off",
|
|
"value": "0x0",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x81"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"ID_LED": {
|
|
"dev_info": {
|
|
"device_type": "LED",
|
|
"device_name": "LOC_LED"
|
|
},
|
|
"dev_attr": {
|
|
"index": "0"
|
|
},
|
|
"i2c": {
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "blue",
|
|
"bits": "3:0",
|
|
"descr": "Bule",
|
|
"value": "0x09;0x0b",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x81"
|
|
},
|
|
{
|
|
"attr_name": "blue_blink",
|
|
"bits": "3:0",
|
|
"descr": "Blue Blinking",
|
|
"value": "0x0d;0x0f",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x81"
|
|
},
|
|
{
|
|
"attr_name": "off",
|
|
"bits": "3",
|
|
"descr": "Off",
|
|
"value": "0x0",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x81"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"FAN_LED": {
|
|
"dev_info": {
|
|
"device_type": "LED",
|
|
"device_name": "FAN_LED"
|
|
},
|
|
"dev_attr": {
|
|
"index": "0"
|
|
},
|
|
"i2c": {
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "green",
|
|
"bits": "7:4",
|
|
"descr": "Green",
|
|
"value": "0x09;0x0b",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x83"
|
|
},
|
|
{
|
|
"attr_name": "green_blink",
|
|
"bits": "7:4",
|
|
"descr": "Green Blinking",
|
|
"value": "0x0d;0x0f",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x83"
|
|
},
|
|
{
|
|
"attr_name": "yellow",
|
|
"bits": "7:4",
|
|
"descr": "Yellow",
|
|
"value": "0x08;0x0a",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x83"
|
|
},
|
|
{
|
|
"attr_name": "yellow_blink",
|
|
"bits": "7:4",
|
|
"descr": "Yellow Blinking",
|
|
"value": "0x0c;0x0e",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x83"
|
|
},
|
|
{
|
|
"attr_name": "off",
|
|
"bits": "7",
|
|
"descr": "Off",
|
|
"value": "0x0",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x83"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PSU2_LED": {
|
|
"dev_info": {
|
|
"device_type": "LED",
|
|
"device_name": "PSU_LED"
|
|
},
|
|
"dev_attr": {
|
|
"index": "1"
|
|
},
|
|
"i2c": {
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "green",
|
|
"bits": "7:4",
|
|
"descr": "Green",
|
|
"value": "0x09;0x0b",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x84"
|
|
},
|
|
{
|
|
"attr_name": "green_blink",
|
|
"bits": "7:4",
|
|
"descr": "Green Blinking",
|
|
"value": "0x0d;0x0f",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x84"
|
|
},
|
|
{
|
|
"attr_name": "yellow",
|
|
"bits": "7:4",
|
|
"descr": "Yellow",
|
|
"value": "0x08;0x0a",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x84"
|
|
},
|
|
{
|
|
"attr_name": "yellow_blink",
|
|
"bits": "7:4",
|
|
"descr": "Yellow Blinking",
|
|
"value": "0x0c;0x0e",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x84"
|
|
},
|
|
{
|
|
"attr_name": "off",
|
|
"bits": "7",
|
|
"descr": "Off",
|
|
"value": "0x0",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x84"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PSU1_LED": {
|
|
"dev_info": {
|
|
"device_type": "LED",
|
|
"device_name": "PSU_LED"
|
|
},
|
|
"dev_attr": {
|
|
"index": "0"
|
|
},
|
|
"i2c": {
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "green",
|
|
"bits": "3:0",
|
|
"descr": "Green",
|
|
"value": "0x09;0x0b",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x84"
|
|
},
|
|
{
|
|
"attr_name": "green_blink",
|
|
"bits": "3:0",
|
|
"descr": "Green Blinking",
|
|
"value": "0x0d;0x0f",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x84"
|
|
},
|
|
{
|
|
"attr_name": "yellow",
|
|
"bits": "3:0",
|
|
"descr": "Yellow",
|
|
"value": "0x08;0x0a",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x84"
|
|
},
|
|
{
|
|
"attr_name": "yellow_blink",
|
|
"bits": "3:0",
|
|
"descr": "Yellow Blinking",
|
|
"value": "0x0c;0x0e",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x84"
|
|
},
|
|
{
|
|
"attr_name": "off",
|
|
"bits": "3",
|
|
"descr": "Off",
|
|
"value": "0x0",
|
|
"swpld_addr": "0x33",
|
|
"swpld_addr_offset": "0x84"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT49": {
|
|
"dev_info": {
|
|
"device_type": "SFP+",
|
|
"device_name": "PORT49",
|
|
"device_parent": "MUX3"
|
|
},
|
|
"dev_attr": {
|
|
"dev_idx": "49"
|
|
},
|
|
"i2c": {
|
|
"interface": [
|
|
{
|
|
"itf": "eeprom",
|
|
"dev": "PORT49-EEPROM"
|
|
},
|
|
{
|
|
"itf": "control",
|
|
"dev": "PORT49-CTRL"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT49-EEPROM": {
|
|
"dev_info": {
|
|
"device_type": "",
|
|
"device_name": "PORT49-EEPROM",
|
|
"device_parent": "MUX3",
|
|
"virt_parent": "PORT49"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0xA",
|
|
"dev_addr": "0x50",
|
|
"dev_type": "optoe2"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "eeprom"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT49-CTRL": {
|
|
"dev_info": {
|
|
"device_type": "",
|
|
"device_name": "PORT49-CTRL",
|
|
"device_parent": "MUX3",
|
|
"virt_parent": "PORT49"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0xA",
|
|
"dev_addr": "0x54",
|
|
"dev_type": "pddf_xcvr"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "xcvr_present",
|
|
"attr_devaddr": "0x20",
|
|
"attr_devname": "GPIO1",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x7",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_rxlos",
|
|
"attr_devaddr": "0x22",
|
|
"attr_devname": "GPIO3",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0xF",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_txfault",
|
|
"attr_devaddr": "0x22",
|
|
"attr_devname": "GPIO3",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x7",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_txdisable",
|
|
"attr_devaddr": "0x21",
|
|
"attr_devname": "GPIO2",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0xF",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT50": {
|
|
"dev_info": {
|
|
"device_type": "SFP+",
|
|
"device_name": "PORT50",
|
|
"device_parent": "MUX3"
|
|
},
|
|
"dev_attr": {
|
|
"dev_idx": "50"
|
|
},
|
|
"i2c": {
|
|
"interface": [
|
|
{
|
|
"itf": "eeprom",
|
|
"dev": "PORT50-EEPROM"
|
|
},
|
|
{
|
|
"itf": "control",
|
|
"dev": "PORT50-CTRL"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT50-EEPROM": {
|
|
"dev_info": {
|
|
"device_type": "",
|
|
"device_name": "PORT50-EEPROM",
|
|
"device_parent": "MUX3",
|
|
"virt_parent": "PORT50"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0xB",
|
|
"dev_addr": "0x50",
|
|
"dev_type": "optoe2"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "eeprom"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT50-CTRL": {
|
|
"dev_info": {
|
|
"device_type": "",
|
|
"device_name": "PORT50-CTRL",
|
|
"device_parent": "MUX3",
|
|
"virt_parent": "PORT50"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0xB",
|
|
"dev_addr": "0x54",
|
|
"dev_type": "pddf_xcvr"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "xcvr_present",
|
|
"attr_devaddr": "0x20",
|
|
"attr_devname": "GPIO1",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x6",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_rxlos",
|
|
"attr_devaddr": "0x22",
|
|
"attr_devname": "GPIO3",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0xE",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_txfault",
|
|
"attr_devaddr": "0x22",
|
|
"attr_devname": "GPIO3",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x6",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_txdisable",
|
|
"attr_devaddr": "0x21",
|
|
"attr_devname": "GPIO2",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0xE",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT51": {
|
|
"dev_info": {
|
|
"device_type": "SFP+",
|
|
"device_name": "PORT51",
|
|
"device_parent": "MUX3"
|
|
},
|
|
"dev_attr": {
|
|
"dev_idx": "51"
|
|
},
|
|
"i2c": {
|
|
"interface": [
|
|
{
|
|
"itf": "eeprom",
|
|
"dev": "PORT51-EEPROM"
|
|
},
|
|
{
|
|
"itf": "control",
|
|
"dev": "PORT51-CTRL"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT51-EEPROM": {
|
|
"dev_info": {
|
|
"device_type": "",
|
|
"device_name": "PORT51-EEPROM",
|
|
"device_parent": "MUX3",
|
|
"virt_parent": "PORT51"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0xC",
|
|
"dev_addr": "0x50",
|
|
"dev_type": "optoe2"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "eeprom"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT51-CTRL": {
|
|
"dev_info": {
|
|
"device_type": "",
|
|
"device_name": "PORT51-CTRL",
|
|
"device_parent": "MUX3",
|
|
"virt_parent": "PORT51"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0xC",
|
|
"dev_addr": "0x54",
|
|
"dev_type": "pddf_xcvr"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "xcvr_present",
|
|
"attr_devaddr": "0x20",
|
|
"attr_devname": "GPIO1",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x5",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_rxlos",
|
|
"attr_devaddr": "0x22",
|
|
"attr_devname": "GPIO3",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0xD",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_txfault",
|
|
"attr_devaddr": "0x22",
|
|
"attr_devname": "GPIO3",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x5",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_txdisable",
|
|
"attr_devaddr": "0x21",
|
|
"attr_devname": "GPIO2",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0xD",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT52": {
|
|
"dev_info": {
|
|
"device_type": "SFP+",
|
|
"device_name": "PORT52",
|
|
"device_parent": "MUX3"
|
|
},
|
|
"dev_attr": {
|
|
"dev_idx": "52"
|
|
},
|
|
"i2c": {
|
|
"interface": [
|
|
{
|
|
"itf": "eeprom",
|
|
"dev": "PORT52-EEPROM"
|
|
},
|
|
{
|
|
"itf": "control",
|
|
"dev": "PORT52-CTRL"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT52-EEPROM": {
|
|
"dev_info": {
|
|
"device_type": "",
|
|
"device_name": "PORT52-EEPROM",
|
|
"device_parent": "MUX3",
|
|
"virt_parent": "PORT52"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0xD",
|
|
"dev_addr": "0x50",
|
|
"dev_type": "optoe2"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "eeprom"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT52-CTRL": {
|
|
"dev_info": {
|
|
"device_type": "",
|
|
"device_name": "PORT52-CTRL",
|
|
"device_parent": "MUX3",
|
|
"virt_parent": "PORT52"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0xD",
|
|
"dev_addr": "0x54",
|
|
"dev_type": "pddf_xcvr"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "xcvr_present",
|
|
"attr_devaddr": "0x20",
|
|
"attr_devname": "GPIO1",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x4",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_rxlos",
|
|
"attr_devaddr": "0x22",
|
|
"attr_devname": "GPIO3",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0xC",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_txfault",
|
|
"attr_devaddr": "0x22",
|
|
"attr_devname": "GPIO3",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x4",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_txdisable",
|
|
"attr_devaddr": "0x21",
|
|
"attr_devname": "GPIO2",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0xC",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT53": {
|
|
"dev_info": {
|
|
"device_type": "SFP+",
|
|
"device_name": "PORT53",
|
|
"device_parent": "MUX3"
|
|
},
|
|
"dev_attr": {
|
|
"dev_idx": "53"
|
|
},
|
|
"i2c": {
|
|
"interface": [
|
|
{
|
|
"itf": "eeprom",
|
|
"dev": "PORT53-EEPROM"
|
|
},
|
|
{
|
|
"itf": "control",
|
|
"dev": "PORT53-CTRL"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT53-EEPROM": {
|
|
"dev_info": {
|
|
"device_type": "",
|
|
"device_name": "PORT53-EEPROM",
|
|
"device_parent": "MUX3",
|
|
"virt_parent": "PORT53"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0xE",
|
|
"dev_addr": "0x50",
|
|
"dev_type": "optoe2"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "eeprom"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT53-CTRL": {
|
|
"dev_info": {
|
|
"device_type": "",
|
|
"device_name": "PORT53-CTRL",
|
|
"device_parent": "MUX3",
|
|
"virt_parent": "PORT53"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0xE",
|
|
"dev_addr": "0x54",
|
|
"dev_type": "pddf_xcvr"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "xcvr_present",
|
|
"attr_devaddr": "0x20",
|
|
"attr_devname": "GPIO1",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x3",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_rxlos",
|
|
"attr_devaddr": "0x22",
|
|
"attr_devname": "GPIO3",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0xB",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_txfault",
|
|
"attr_devaddr": "0x22",
|
|
"attr_devname": "GPIO3",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x3",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_txdisable",
|
|
"attr_devaddr": "0x21",
|
|
"attr_devname": "GPIO2",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0xB",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT54": {
|
|
"dev_info": {
|
|
"device_type": "SFP+",
|
|
"device_name": "PORT54",
|
|
"device_parent": "MUX3"
|
|
},
|
|
"dev_attr": {
|
|
"dev_idx": "54"
|
|
},
|
|
"i2c": {
|
|
"interface": [
|
|
{
|
|
"itf": "eeprom",
|
|
"dev": "PORT54-EEPROM"
|
|
},
|
|
{
|
|
"itf": "control",
|
|
"dev": "PORT54-CTRL"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT54-EEPROM": {
|
|
"dev_info": {
|
|
"device_type": "",
|
|
"device_name": "PORT54-EEPROM",
|
|
"device_parent": "MUX3",
|
|
"virt_parent": "PORT54"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0xF",
|
|
"dev_addr": "0x50",
|
|
"dev_type": "optoe2"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "eeprom"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT54-CTRL": {
|
|
"dev_info": {
|
|
"device_type": "",
|
|
"device_name": "PORT54-CTRL",
|
|
"device_parent": "MUX3",
|
|
"virt_parent": "PORT54"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0xF",
|
|
"dev_addr": "0x54",
|
|
"dev_type": "pddf_xcvr"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "xcvr_present",
|
|
"attr_devaddr": "0x20",
|
|
"attr_devname": "GPIO1",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x2",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_rxlos",
|
|
"attr_devaddr": "0x22",
|
|
"attr_devname": "GPIO3",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0xA",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_txfault",
|
|
"attr_devaddr": "0x22",
|
|
"attr_devname": "GPIO3",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x2",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_txdisable",
|
|
"attr_devaddr": "0x21",
|
|
"attr_devname": "GPIO2",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0xA",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT55": {
|
|
"dev_info": {
|
|
"device_type": "SFP+",
|
|
"device_name": "PORT55",
|
|
"device_parent": "MUX3"
|
|
},
|
|
"dev_attr": {
|
|
"dev_idx": "55"
|
|
},
|
|
"i2c": {
|
|
"interface": [
|
|
{
|
|
"itf": "eeprom",
|
|
"dev": "PORT55-EEPROM"
|
|
},
|
|
{
|
|
"itf": "control",
|
|
"dev": "PORT55-CTRL"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT55-EEPROM": {
|
|
"dev_info": {
|
|
"device_type": "",
|
|
"device_name": "PORT55-EEPROM",
|
|
"device_parent": "MUX3",
|
|
"virt_parent": "PORT55"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x10",
|
|
"dev_addr": "0x50",
|
|
"dev_type": "optoe2"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "eeprom"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT55-CTRL": {
|
|
"dev_info": {
|
|
"device_type": "",
|
|
"device_name": "PORT55-CTRL",
|
|
"device_parent": "MUX3",
|
|
"virt_parent": "PORT55"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x10",
|
|
"dev_addr": "0x54",
|
|
"dev_type": "pddf_xcvr"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "xcvr_present",
|
|
"attr_devaddr": "0x20",
|
|
"attr_devname": "GPIO1",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x1",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_rxlos",
|
|
"attr_devaddr": "0x22",
|
|
"attr_devname": "GPIO3",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x9",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_txfault",
|
|
"attr_devaddr": "0x22",
|
|
"attr_devname": "GPIO3",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x1",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_txdisable",
|
|
"attr_devaddr": "0x21",
|
|
"attr_devname": "GPIO2",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x9",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT56": {
|
|
"dev_info": {
|
|
"device_type": "SFP+",
|
|
"device_name": "PORT56",
|
|
"device_parent": "MUX3"
|
|
},
|
|
"dev_attr": {
|
|
"dev_idx": "56"
|
|
},
|
|
"i2c": {
|
|
"interface": [
|
|
{
|
|
"itf": "eeprom",
|
|
"dev": "PORT56-EEPROM"
|
|
},
|
|
{
|
|
"itf": "control",
|
|
"dev": "PORT56-CTRL"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT56-EEPROM": {
|
|
"dev_info": {
|
|
"device_type": "",
|
|
"device_name": "PORT56-EEPROM",
|
|
"device_parent": "MUX3",
|
|
"virt_parent": "PORT56"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x11",
|
|
"dev_addr": "0x50",
|
|
"dev_type": "optoe2"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "eeprom"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"PORT56-CTRL": {
|
|
"dev_info": {
|
|
"device_type": "",
|
|
"device_name": "PORT56-CTRL",
|
|
"device_parent": "MUX3",
|
|
"virt_parent": "PORT56"
|
|
},
|
|
"i2c": {
|
|
"topo_info": {
|
|
"parent_bus": "0x11",
|
|
"dev_addr": "0x54",
|
|
"dev_type": "pddf_xcvr"
|
|
},
|
|
"attr_list": [
|
|
{
|
|
"attr_name": "xcvr_present",
|
|
"attr_devaddr": "0x20",
|
|
"attr_devname": "GPIO1",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x0",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_rxlos",
|
|
"attr_devaddr": "0x22",
|
|
"attr_devname": "GPIO3",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x8",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_txfault",
|
|
"attr_devaddr": "0x22",
|
|
"attr_devname": "GPIO3",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x0",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
},
|
|
{
|
|
"attr_name": "xcvr_txdisable",
|
|
"attr_devaddr": "0x21",
|
|
"attr_devname": "GPIO2",
|
|
"attr_devtype": "gpio",
|
|
"attr_offset": "0x8",
|
|
"attr_mask": "",
|
|
"attr_cmpval": "",
|
|
"attr_len": ""
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |