From c9eb0a88c12c257be0feab6cb7ae09c309c6db12 Mon Sep 17 00:00:00 2001 From: pettershao-ragilenetworks Date: Tue, 17 Jan 2023 10:22:32 +0800 Subject: [PATCH] update bsp code --- .../RA-b6010-48gt4x-r-board.json | 868 ++++ .../RA-b6010-48gt4x-r-p-chip-profile.txt | 96 + .../RA-b6010-48gt4x-r-p-datapath.txt | 281 ++ .../RA-B6010-48GT4X-R/default_sku | 1 + .../RA-B6010-48GT4X-R/phy_mapping.cfg | 198 + .../RA-B6010-48GT4X-R/port_config.ini | 53 + .../RA-B6010-48GT4X-R/sai.profile | 4 + .../RA-B6010-48GT4X-R/start_up.cfg | 48 + .../default_sku | 1 + .../installer.conf | 9 + .../platform_asic | 1 + .../plugins/config.py | 22 + .../plugins/eeprom.py | 21 + .../plugins/sfputil.py | 455 +++ .../pmon_daemon_control.json | 7 + .../installer.conf | 2 +- .../pddf/pddf-device.json | 76 +- .../pddf/pddf-device.json | 3521 ++++++++++------- 18 files changed, 4127 insertions(+), 1537 deletions(-) create mode 100644 device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/RA-b6010-48gt4x-r-board.json create mode 100644 device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/RA-b6010-48gt4x-r-p-chip-profile.txt create mode 100644 device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/RA-b6010-48gt4x-r-p-datapath.txt create mode 100644 device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/default_sku create mode 100644 device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/phy_mapping.cfg create mode 100644 device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/port_config.ini create mode 100644 device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/sai.profile create mode 100644 device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/start_up.cfg create mode 100644 device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/default_sku create mode 100644 device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/installer.conf create mode 100644 device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/platform_asic create mode 100644 device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/plugins/config.py create mode 100644 device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/plugins/eeprom.py create mode 100644 device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/plugins/sfputil.py create mode 100644 device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/pmon_daemon_control.json mode change 100644 => 100755 device/ragile/x86_64-ragile_ra-b6510-48v8c-r0/pddf/pddf-device.json diff --git a/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/RA-b6010-48gt4x-r-board.json b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/RA-b6010-48gt4x-r-board.json new file mode 100644 index 000000000000..80fb22238078 --- /dev/null +++ b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/RA-b6010-48gt4x-r-board.json @@ -0,0 +1,868 @@ +{ + "macleds" : { + "polarity" : 1, + "freq" : 2500, + "interval" : 50000000, + "maps" : [ + { + "port_id" : 0, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port1/brightness" + }, + { + "port_id" : 1, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port2/brightness" + }, + { + "port_id" : 2, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port3/brightness" + }, + { + "port_id" : 3, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port4/brightness" + }, + { + "port_id" : 4, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port5/brightness" + }, + { + "port_id" : 5, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port6/brightness" + }, + { + "port_id" : 6, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port7/brightness" + }, + { + "port_id" : 7, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port8/brightness" + }, + { + "port_id" : 16, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port9/brightness" + }, + { + "port_id" : 17, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port10/brightness" + }, + { + "port_id" : 18, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port11/brightness" + }, + { + "port_id" : 19, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port12/brightness" + }, + { + "port_id" : 20, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port13/brightness" + }, + { + "port_id" : 21, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port14/brightness" + }, + { + "port_id" : 22, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port15/brightness" + }, + { + "port_id" : 23, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port16/brightness" + }, + { + "port_id" : 8, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port17/brightness" + }, + { + "port_id" : 9, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port18/brightness" + }, + { + "port_id" : 10, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port19/brightness" + }, + { + "port_id" : 11, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port20/brightness" + }, + { + "port_id" : 32, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port21/brightness" + }, + { + "port_id" : 33, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port22/brightness" + }, + { + "port_id" : 34, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port23/brightness" + }, + { + "port_id" : 35, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port24/brightness" + }, + { + "port_id" : 36, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port25/brightness" + }, + { + "port_id" : 37, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port26/brightness" + }, + { + "port_id" : 38, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port27/brightness" + }, + { + "port_id" : 39, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port28/brightness" + }, + { + "port_id" : 40, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port29/brightness" + }, + { + "port_id" : 41, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port30/brightness" + }, + { + "port_id" : 42, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port31/brightness" + }, + { + "port_id" : 43, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port32/brightness" + }, + { + "port_id" : 24, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port33/brightness" + }, + { + "port_id" : 25, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port34/brightness" + }, + { + "port_id" : 26, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port35/brightness" + }, + { + "port_id" : 27, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port36/brightness" + }, + { + "port_id" : 48, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port37/brightness" + }, + { + "port_id" : 49, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port38/brightness" + }, + { + "port_id" : 50, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port39/brightness" + }, + { + "port_id" : 51, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port40/brightness" + }, + { + "port_id" : 52, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port41/brightness" + }, + { + "port_id" : 53, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port42/brightness" + }, + { + "port_id" : 54, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port43/brightness" + }, + { + "port_id" : 55, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port44/brightness" + }, + { + "port_id" : 56, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port45/brightness" + }, + { + "port_id" : 57, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port46/brightness" + }, + { + "port_id" : 58, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port47/brightness" + }, + { + "port_id" : 59, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port48/brightness" + }, + { + "port_id" : 12, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port49/brightness" + }, + { + "port_id" : 13, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port50/brightness" + }, + { + "port_id" : 14, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port51/brightness" + }, + { + "port_id" : 15, + "lchip" : 0, + "ctl_id" : 0, + "mode" : "LED_MODE_1_RXLNK_BIACT", + "fixed" : 0, + "sysfs_path" : "/sys/class/leds/port52/brightness" + } + ] + }, + "phys" : [ + { + "macid" : 0, + "busid" : 0, + "addr" : 0, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 1, + "busid" : 0, + "addr" : 1, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 2, + "busid" : 0, + "addr" : 2, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 3, + "busid" : 0, + "addr" : 3, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 4, + "busid" : 0, + "addr" : 4, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 5, + "busid" : 0, + "addr" : 5, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 6, + "busid" : 0, + "addr" : 6, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 7, + "busid" : 0, + "addr" : 7, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 16, + "busid" : 0, + "addr" : 8, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 17, + "busid" : 0, + "addr" : 9, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 18, + "busid" : 0, + "addr" : 10, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 19, + "busid" : 0, + "addr" : 11, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 20, + "busid" : 0, + "addr" : 12, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 21, + "busid" : 0, + "addr" : 13, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 22, + "busid" : 0, + "addr" : 14, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 23, + "busid" : 0, + "addr" : 15, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 8, + "busid" : 0, + "addr" : 16, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 9, + "busid" : 0, + "addr" : 17, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 10, + "busid" : 0, + "addr" : 18, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 11, + "busid" : 0, + "addr" : 19, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 32, + "busid" : 0, + "addr" : 20, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 33, + "busid" : 0, + "addr" : 21, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 34, + "busid" : 0, + "addr" : 22, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 35, + "busid" : 0, + "addr" : 23, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 36, + "busid" : 1, + "addr" : 0, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 37, + "busid" : 1, + "addr" : 1, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 38, + "busid" : 1, + "addr" : 2, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 39, + "busid" : 1, + "addr" : 3, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 40, + "busid" : 1, + "addr" : 4, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 41, + "busid" : 1, + "addr" : 5, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 42, + "busid" : 1, + "addr" : 6, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 43, + "busid" : 1, + "addr" : 7, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 24, + "busid" : 1, + "addr" : 8, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 25, + "busid" : 1, + "addr" : 9, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 26, + "busid" : 1, + "addr" : 10, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 27, + "busid" : 1, + "addr" : 11, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 48, + "busid" : 1, + "addr" : 12, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 49, + "busid" : 1, + "addr" : 13, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 50, + "busid" : 1, + "addr" : 14, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 51, + "busid" : 1, + "addr" : 15, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 52, + "busid" : 1, + "addr" : 16, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 53, + "busid" : 1, + "addr" : 17, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 54, + "busid" : 1, + "addr" : 18, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 55, + "busid" : 1, + "addr" : 19, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 56, + "busid" : 1, + "addr" : 20, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 57, + "busid" : 1, + "addr" : 21, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 58, + "busid" : 1, + "addr" : 22, + "base_port": 1, + "last_port": 4 + }, + { + "macid" : 59, + "busid" : 1, + "addr" : 23, + "base_port": 1, + "last_port": 4 + } + ], + "ffe" : { + "board_material" : "BOARD_MATERIAL_M4", + "config" : [ + { + "serdes_id" : [0], + "is_dac" : 0, + "speed" : [1000], + "mode" : "CTC_CHIP_SERDES_FFE_MODE_DEFINE", + "cfg" : [0, 255, 10, 0] + }, + { + "serdes_id" : [1], + "is_dac" : 0, + "speed" : [1000], + "mode" : "CTC_CHIP_SERDES_FFE_MODE_DEFINE", + "cfg" : [0, 240, 10, 0] + }, + { + "serdes_id" : [2], + "is_dac" : 0, + "speed" : [1000], + "mode" : "CTC_CHIP_SERDES_FFE_MODE_DEFINE", + "cfg" : [0, 230, 10, 0] + }, + { + "serdes_id" : [3], + "is_dac" : 0, + "speed" : [1000], + "mode" : "CTC_CHIP_SERDES_FFE_MODE_DEFINE", + "cfg" : [0, 220, 7, 0] + }, + { + "serdes_id" : [4], + "is_dac" : 0, + "speed" : [1000], + "mode" : "CTC_CHIP_SERDES_FFE_MODE_DEFINE", + "cfg" : [0, 220, 8, 0] + }, + { + "serdes_id" : [5], + "is_dac" : 0, + "speed" : [1000], + "mode" : "CTC_CHIP_SERDES_FFE_MODE_DEFINE", + "cfg" : [0, 210, 6, 0] + }, + { + "serdes_id" : [6], + "is_dac" : 0, + "speed" : [1000], + "mode" : "CTC_CHIP_SERDES_FFE_MODE_DEFINE", + "cfg" : [0, 180, 6, 0] + }, + { + "serdes_id" : [7], + "is_dac" : 0, + "speed" : [1000], + "mode" : "CTC_CHIP_SERDES_FFE_MODE_DEFINE", + "cfg" : [0, 180, 5, 0] + }, + { + "serdes_id" : [8], + "is_dac" : 0, + "speed" : [1000], + "mode" : "CTC_CHIP_SERDES_FFE_MODE_DEFINE", + "cfg" : [2, 160, 4, 0] + }, + { + "serdes_id" : [9], + "is_dac" : 0, + "speed" : [1000], + "mode" : "CTC_CHIP_SERDES_FFE_MODE_DEFINE", + "cfg" : [2, 160, 4, 0] + }, + { + "serdes_id" : [10], + "is_dac" : 0, + "speed" : [1000], + "mode" : "CTC_CHIP_SERDES_FFE_MODE_DEFINE", + "cfg" : [3, 140, 9, 0] + }, + { + "serdes_id" : [11], + "is_dac" : 0, + "speed" : [1000], + "mode" : "CTC_CHIP_SERDES_FFE_MODE_DEFINE", + "cfg" : [3, 140, 5, 0] + }, + { + "serdes_id" : [12, 13, 14, 15], + "is_dac" : 0, + "speed" : [10000], + "mode" : "CTC_CHIP_SERDES_FFE_MODE_DEFINE", + "cfg" : [3, 94, 15, 0] + } + ] + }, + "ctle" : { + "config" : [ + { + "serdes_id" : [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], + "auto-en" : 0, + "cfg" : [6, 14, 2] + } + ] + } +} diff --git a/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/RA-b6010-48gt4x-r-p-chip-profile.txt b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/RA-b6010-48gt4x-r-p-chip-profile.txt new file mode 100644 index 000000000000..2373e27f5f8b --- /dev/null +++ b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/RA-b6010-48gt4x-r-p-chip-profile.txt @@ -0,0 +1,96 @@ +#----------------- SDK Feature Support -------------- +[MPLS_SUPPORT] = 1; +[APS_SUPPORT] = 1; +[OAM_SUPPORT] = 1; +[PTP_SUPPORT] = 0; +[SYNCE_SUPPORT] = 0; +[STACKING_SUPPORT] = 1; +[BPE_SUPPORT] = 0; +[IPFIX_SUPPORT] = 1; +[MONITOR_SUPPORT] = 1; +[OVERLAY_SUPPORT] = 1; +[EFD_SUPPORT] = 1; +[FCOE_SUPPORT] = 0; +[TRILL_SUPPORT] = 0; +[WLAN_SUPPORT] = 1; +[NPM_SUPPORT] = 1; +[DOT1AE_SUPPORT] = 1; + +#----------------- Chip Init Parameter -------------- +#Local chip number and global chip id +[Local chip_num] = 1 +[Local chip0] = 0 +[Local chip1] = 1 + +#Cut through mode 0: Disable; 1:10/40/100G; 2:1/10/100G; 3:1/10/40G; other:Flex, refer to CUT_THROUGH_BITMAP +[CUT_THROUGH_SPEED] = 0 +#Flex cut through mode, speed enable by bitmap, refer to ctc_port_speed_t, Notice: 10M/100M/1G treat as the same speed +[CUT_THROUGH_BITMAP] = 0 + +#Network cpu port +[CPU_NETWORK_PORT_EN] = 0 +[CPU_NETWORK_PORT_ID] = 47 + +#Enable parity error and multi-bit ecc recover +[ECC_RECOVER_EN] = 0 +[TCAM_SCAN_EN] = 0 + +#----------------- Interrupt Init Parameter -------------- +#0: pin, 1: msi +[Interrupt_mode] = 0 +[IRQ] = 69 + +#----------------- NextHop Init Parameter -------------- +#0: SDK work in pizzbox (single chip system), 1: SDK work in multi-chip system +[Nexthop Edit Mode] = 0 +[External Nexthop Number] = 16384 +[MPLS Tunnel Number] = 1024 + +#----------------- L2 Init Parameter -------------- +[FDB Hw Learning] = 1 +[Logic Port Num] = 1024 +#0: 128 instance per port, 1: 64 instance per port, 2: 32 instance per port +[STP MODE] = 0 +[MAX_FID_NUM] = 5120 + +#----------------- Stats Init Parameter -------------- +[STATS_PORT_EN] = 0 +[STATS_ECMP_EN] = 0 + +#----------------- BPE Init Parameter -------------- +[BPE_BR_PORT_EXTENDER_EN] = 0 +[BPE_BR_UC_MAX_ECID] = 1024 +[BPE_BR_MC_MAX_ECID] = 4096 +[BPE_BR_PORT_BASE] = 0 + +#----------------- Ipuc Init Parameter -------------- +#0: tcam use prefix 16; 1: tcam use prefix 8 +[IPUC_TCAM_PREFIX_8] = 1 + +#----------------- QoS Init Parameter -------------- +#QoS policer number support 1K/2K/4K/8K, default 4K +[QOS_POLICER_NUM] = 4096 +#QoS port queue number support 16/8/8 BPE/4 BPE, +#When resrc_profile.cfg exist, queue number valid, +#Default 8 queue mode +#8 queue = 8 +#16 queue = 16 +#4 queue BPE = 17 +#8 queue BPE = 18 +[QOS_PORT_QUEUE_NUM] = 8 +#QoS port extend queue number support 0/4, default 0 +[QOS_PORT_EXT_QUEUE_NUM] = 0 +#QoS CPU reason queue number support 128/64/32, default 128 +[QOS_CPU_QUEUE_NUM] = 128 +[QOS_INGRESS_VLAN_POLICER_NUM] = 0 +[QOS_EGRESS_VLAN_POLICER_NUM] = 0 +[QOS_POLICER_MERGE_MODE] = 0 +#QOS service queue mode, default 0,0:logic scr port + dstport enq 1:service id + dstport enq +[QOS_SERVICE_QUEUE_MODE] = 0 +#Global enable logic dst port + dstport enq +[QOS_SERVICE_QUEUE_EGRESS_EN] = 0 + +#----------------- Stacking Init Parameter -------------- +#0: normal mode; 1: spine-leaf mode +[FABRIC MODE] = 0 +[STACKING VERSION] = 1 diff --git a/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/RA-b6010-48gt4x-r-p-datapath.txt b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/RA-b6010-48gt4x-r-p-datapath.txt new file mode 100644 index 000000000000..959b97a150cc --- /dev/null +++ b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/RA-b6010-48gt4x-r-p-datapath.txt @@ -0,0 +1,281 @@ +#Generated by 'CTC DataPath Tools' on Fri Dec 18 19:15:31 2020 +#Version 1.0, Supported by TsingMa SDK + + +#SERDES_MODE : 0-NONE, 1-XFI, 2-SGMII, 3-Not Support, 4-QSGMII, 5-XAUI, 6-DXAUI, 7-XLG, 8-CG, 9-SGMII2G5 +# 10-USXGMII-S, 11-USXGMII-M2G5, 12-USXGMII-M5G, 13-XXVG, 14-LG, 15-100BASE-FX +#SERDES_RX_POLY: 0-Normal, 1-Inverse +#SERDES_SWITCH : 0-Not Support Dynamic Switch, 1-Support Dynamic Switch + +[WLAN_ENABLE] = 1 +[DOT1AE_ENABLE] = 1 + +[CORE_PLLA] = 600 +#{ +[SERDES_ITEM] +#repeat 32 step 6 +[SERDES_ID] = 0 +[SERDES_MODE] = 4 +[SERDES_RX_POLY] = 1 +[SERDES_TX_POLY] = 1 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 1 +[SERDES_MODE] = 4 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 2 +[SERDES_MODE] = 4 +[SERDES_RX_POLY] = 1 +[SERDES_TX_POLY] = 1 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 3 +[SERDES_MODE] = 4 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 4 +[SERDES_MODE] = 4 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 5 +[SERDES_MODE] = 4 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 6 +[SERDES_MODE] = 4 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 7 +[SERDES_MODE] = 4 +[SERDES_RX_POLY] = 1 +[SERDES_TX_POLY] = 1 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 8 +[SERDES_MODE] = 4 +[SERDES_RX_POLY] = 1 +[SERDES_TX_POLY] = 1 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 9 +[SERDES_MODE] = 4 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 10 +[SERDES_MODE] = 4 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 11 +[SERDES_MODE] = 4 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 12 +[SERDES_MODE] = 1 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 1 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 13 +[SERDES_MODE] = 1 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 1 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 14 +[SERDES_MODE] = 1 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 1 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 15 +[SERDES_MODE] = 1 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 1 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 16 +[SERDES_MODE] = 3 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 17 +[SERDES_MODE] = 3 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 18 +[SERDES_MODE] = 3 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 19 +[SERDES_MODE] = 3 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 20 +[SERDES_MODE] = 3 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 21 +[SERDES_MODE] = 3 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 22 +[SERDES_MODE] = 3 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 23 +[SERDES_MODE] = 3 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 24 +[SERDES_MODE] = 3 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 25 +[SERDES_MODE] = 3 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 26 +[SERDES_MODE] = 3 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 1 + +[SERDES_ID] = 27 +[SERDES_MODE] = 3 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 1 + +[SERDES_ID] = 28 +[SERDES_MODE] = 3 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 29 +[SERDES_MODE] = 3 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 0 + +[SERDES_ID] = 30 +[SERDES_MODE] = 3 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 1 + +[SERDES_ID] = 31 +[SERDES_MODE] = 3 +[SERDES_RX_POLY] = 0 +[SERDES_TX_POLY] = 0 +[SERDES_SWITCH] = 0 +[SERDES_GROUP] = 1 + +#repeat end +#} + + +#[SERDES_TO_LPORT] +#{ +# | QSGMII/USXGMII-M2G5 | USXGMII-M5G | USXGMII-S | 100BASE-FX | SGMII/SGMII2G5/XFI | XAUI/DXAUI | XLG | XXVG | LG | CG +#---------|---------------------|-------------|-----------|------------|--------------------|------------|-----|------|----|--- +#serdes 0 |0 /1 /2 /3 |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 1 |4 /5 /6 /7 |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 2 |16/17/18/19 |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 3 |20/21/22/23 |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 4 |8 /9 /10/11 |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 5 |32/33/34/35 |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 6 |36/37/38/39 |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 7 |40/41/42/43 |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 8 |24/25/26/27 |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 9 |48/49/50/51 |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 10|52/53/54/55 |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 11|56/57/58/59 |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 12|NA |NA |NA |12 |12 |12 |12 |NA |NA |NA +#serdes 13|NA |NA |NA |13 |13 |12 |12 |NA |NA |NA +#serdes 14|NA |NA |NA |14 |14 |12 |12 |NA |NA |NA +#serdes 15|NA |NA |NA |15 |15 |12 |12 |NA |NA |NA +#serdes 16|NA |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 17|NA |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 18|NA |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 19|NA |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 20|NA |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 21|NA |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 22|NA |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 23|NA |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 24|NA |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 25|NA |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 26|NA |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 27|NA |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 28|NA |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 29|NA |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 30|NA |NA |NA |NA |NA |NA |NA |NA |NA |NA +#serdes 31|NA |NA |NA |NA |NA |NA |NA |NA |NA |NA +#} diff --git a/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/default_sku b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/default_sku new file mode 100644 index 000000000000..fa6fa77966b9 --- /dev/null +++ b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/default_sku @@ -0,0 +1 @@ +RA-B6010-48GT4X-R l1 diff --git a/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/phy_mapping.cfg b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/phy_mapping.cfg new file mode 100644 index 000000000000..eefd67e9c28b --- /dev/null +++ b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/phy_mapping.cfg @@ -0,0 +1,198 @@ +#######################PHY_MAPPING_48+4####################### + +#{ +[PHY_MAPPING_ITEM] + +[API_PORT] = 0 +[PHY_ADDR] = 0 +[MDIO_BUS] = 0 + +[API_PORT] = 1 +[PHY_ADDR] = 1 +[MDIO_BUS] = 0 + +[API_PORT] = 2 +[PHY_ADDR] = 2 +[MDIO_BUS] = 0 + +[API_PORT] = 3 +[PHY_ADDR] = 3 +[MDIO_BUS] = 0 + +[API_PORT] = 4 +[PHY_ADDR] = 4 +[MDIO_BUS] = 0 + +[API_PORT] = 5 +[PHY_ADDR] = 5 +[MDIO_BUS] = 0 + +[API_PORT] = 6 +[PHY_ADDR] = 6 +[MDIO_BUS] = 0 + +[API_PORT] = 7 +[PHY_ADDR] = 7 +[MDIO_BUS] = 0 + +[API_PORT] = 16 +[PHY_ADDR] = 8 +[MDIO_BUS] = 0 + +[API_PORT] = 17 +[PHY_ADDR] = 9 +[MDIO_BUS] = 0 + +[API_PORT] = 18 +[PHY_ADDR] = 10 +[MDIO_BUS] = 0 + +[API_PORT] = 19 +[PHY_ADDR] = 11 +[MDIO_BUS] = 0 + +[API_PORT] = 20 +[PHY_ADDR] = 12 +[MDIO_BUS] = 0 + +[API_PORT] = 21 +[PHY_ADDR] = 13 +[MDIO_BUS] = 0 + +[API_PORT] = 22 +[PHY_ADDR] = 14 +[MDIO_BUS] = 0 + +[API_PORT] = 23 +[PHY_ADDR] = 15 +[MDIO_BUS] = 0 + +[API_PORT] = 8 +[PHY_ADDR] = 16 +[MDIO_BUS] = 0 + +[API_PORT] = 9 +[PHY_ADDR] = 17 +[MDIO_BUS] = 0 + +[API_PORT] = 10 +[PHY_ADDR] = 18 +[MDIO_BUS] = 0 + +[API_PORT] = 11 +[PHY_ADDR] = 19 +[MDIO_BUS] = 0 + +[API_PORT] = 32 +[PHY_ADDR] = 20 +[MDIO_BUS] = 0 + +[API_PORT] = 33 +[PHY_ADDR] = 21 +[MDIO_BUS] = 0 + +[API_PORT] = 34 +[PHY_ADDR] = 22 +[MDIO_BUS] = 0 + +[API_PORT] = 35 +[PHY_ADDR] = 23 +[MDIO_BUS] = 0 + +[API_PORT] = 36 +[PHY_ADDR] = 0 +[MDIO_BUS] = 1 + +[API_PORT] = 37 +[PHY_ADDR] = 1 +[MDIO_BUS] = 1 + +[API_PORT] = 38 +[PHY_ADDR] = 2 +[MDIO_BUS] = 1 + +[API_PORT] = 39 +[PHY_ADDR] = 3 +[MDIO_BUS] = 1 + +[API_PORT] = 40 +[PHY_ADDR] = 4 +[MDIO_BUS] = 1 + +[API_PORT] = 41 +[PHY_ADDR] = 5 +[MDIO_BUS] = 1 + +[API_PORT] = 42 +[PHY_ADDR] = 6 +[MDIO_BUS] = 1 + +[API_PORT] = 43 +[PHY_ADDR] = 7 +[MDIO_BUS] = 1 + +[API_PORT] = 24 +[PHY_ADDR] = 8 +[MDIO_BUS] = 1 + +[API_PORT] = 25 +[PHY_ADDR] = 9 +[MDIO_BUS] = 1 + +[API_PORT] = 26 +[PHY_ADDR] = 10 +[MDIO_BUS] = 1 + +[API_PORT] = 27 +[PHY_ADDR] = 11 +[MDIO_BUS] = 1 + +[API_PORT] = 48 +[PHY_ADDR] = 12 +[MDIO_BUS] = 1 + +[API_PORT] = 49 +[PHY_ADDR] = 13 +[MDIO_BUS] = 1 + +[API_PORT] = 50 +[PHY_ADDR] = 14 +[MDIO_BUS] = 1 + +[API_PORT] = 51 +[PHY_ADDR] = 15 +[MDIO_BUS] = 1 + +[API_PORT] = 52 +[PHY_ADDR] = 16 +[MDIO_BUS] = 1 + +[API_PORT] = 53 +[PHY_ADDR] = 17 +[MDIO_BUS] = 1 + +[API_PORT] = 54 +[PHY_ADDR] = 18 +[MDIO_BUS] = 1 + +[API_PORT] = 55 +[PHY_ADDR] = 19 +[MDIO_BUS] = 1 + +[API_PORT] = 56 +[PHY_ADDR] = 20 +[MDIO_BUS] = 1 + +[API_PORT] = 57 +[PHY_ADDR] = 21 +[MDIO_BUS] = 1 + +[API_PORT] = 58 +[PHY_ADDR] = 22 +[MDIO_BUS] = 1 + +[API_PORT] = 59 +[PHY_ADDR] = 23 +[MDIO_BUS] = 1 + +#} diff --git a/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/port_config.ini b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/port_config.ini new file mode 100644 index 000000000000..cd9f488c53b2 --- /dev/null +++ b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/port_config.ini @@ -0,0 +1,53 @@ +# name lanes alias index speed admin_status +Ethernet1 0 eth-0-1 1 1000 up +Ethernet2 1 eth-0-2 2 1000 up +Ethernet3 2 eth-0-3 3 1000 up +Ethernet4 3 eth-0-4 4 1000 up +Ethernet5 4 eth-0-5 5 1000 up +Ethernet6 5 eth-0-6 6 1000 up +Ethernet7 6 eth-0-7 7 1000 up +Ethernet8 7 eth-0-8 8 1000 up +Ethernet9 16 eth-0-9 9 1000 up +Ethernet10 17 eth-0-10 10 1000 up +Ethernet11 18 eth-0-11 11 1000 up +Ethernet12 19 eth-0-12 12 1000 up +Ethernet13 20 eth-0-13 13 1000 up +Ethernet14 21 eth-0-14 14 1000 up +Ethernet15 22 eth-0-15 15 1000 up +Ethernet16 23 eth-0-16 16 1000 up +Ethernet17 8 eth-0-17 17 1000 up +Ethernet18 9 eth-0-18 18 1000 up +Ethernet19 10 eth-0-19 19 1000 up +Ethernet20 11 eth-0-20 20 1000 up +Ethernet21 32 eth-0-21 21 1000 up +Ethernet22 33 eth-0-22 22 1000 up +Ethernet23 34 eth-0-23 23 1000 up +Ethernet24 35 eth-0-24 24 1000 up +Ethernet25 36 eth-0-25 25 1000 up +Ethernet26 37 eth-0-26 26 1000 up +Ethernet27 38 eth-0-27 27 1000 up +Ethernet28 39 eth-0-28 28 1000 up +Ethernet29 40 eth-0-29 29 1000 up +Ethernet30 41 eth-0-30 30 1000 up +Ethernet31 42 eth-0-31 31 1000 up +Ethernet32 43 eth-0-32 32 1000 up +Ethernet33 24 eth-0-33 33 1000 up +Ethernet34 25 eth-0-34 34 1000 up +Ethernet35 26 eth-0-35 35 1000 up +Ethernet36 27 eth-0-36 36 1000 up +Ethernet37 48 eth-0-37 37 1000 up +Ethernet38 49 eth-0-38 38 1000 up +Ethernet39 50 eth-0-39 39 1000 up +Ethernet40 51 eth-0-40 40 1000 up +Ethernet41 52 eth-0-41 41 1000 up +Ethernet42 53 eth-0-42 42 1000 up +Ethernet43 54 eth-0-43 43 1000 up +Ethernet44 55 eth-0-44 44 1000 up +Ethernet45 56 eth-0-45 45 1000 up +Ethernet46 57 eth-0-46 46 1000 up +Ethernet47 58 eth-0-47 47 1000 up +Ethernet48 59 eth-0-48 48 1000 up +Ethernet49 12 eth-0-49 49 10000 up +Ethernet50 13 eth-0-50 50 10000 up +Ethernet51 14 eth-0-51 51 10000 up +Ethernet52 15 eth-0-52 52 10000 up diff --git a/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/sai.profile b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/sai.profile new file mode 100644 index 000000000000..6a42ef56db0a --- /dev/null +++ b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/sai.profile @@ -0,0 +1,4 @@ +SAI_INIT_CONFIG_FILE=/usr/share/sonic/hwsku/RA-b6010-48gt4x-r-p-chip-profile.txt +SAI_HW_PORT_PROFILE_ID_CONFIG_FILE=/usr/share/sonic/hwsku/RA-b6010-48gt4x-r-p-datapath.txt +SAI_PLATFORM_CFG_FILE=/usr/share/sonic/hwsku/RA-b6010-48gt4x-r-board.json +SAI_PHY_DRIVER_PATH=/usr/share/sonic/hwsku/phy_drv \ No newline at end of file diff --git a/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/start_up.cfg b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/start_up.cfg new file mode 100644 index 000000000000..b012adedb252 --- /dev/null +++ b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/RA-B6010-48GT4X-R/start_up.cfg @@ -0,0 +1,48 @@ + +chip set serdes 0 ffe mode user-define c0 0 c1 255 c2 10 c3 0 c4 0 +chip set serdes 1 ffe mode user-define c0 0 c1 240 c2 10 c3 0 c4 0 +chip set serdes 2 ffe mode user-define c0 0 c1 230 c2 10 c3 0 c4 0 +chip set serdes 3 ffe mode user-define c0 0 c1 220 c2 7 c3 0 c4 0 +chip set serdes 4 ffe mode user-define c0 0 c1 220 c2 8 c3 0 c4 0 +chip set serdes 5 ffe mode user-define c0 0 c1 210 c2 6 c3 0 c4 0 +chip set serdes 6 ffe mode user-define c0 0 c1 180 c2 6 c3 0 c4 0 +chip set serdes 7 ffe mode user-define c0 0 c1 180 c2 5 c3 0 c4 0 +chip set serdes 8 ffe mode user-define c0 2 c1 160 c2 4 c3 0 c4 0 +chip set serdes 9 ffe mode user-define c0 2 c1 160 c2 4 c3 0 c4 0 +chip set serdes 10 ffe mode user-define c0 3 c1 140 c2 9 c3 0 c4 0 +chip set serdes 11 ffe mode user-define c0 3 c1 140 c2 5 c3 0 c4 0 +chip set serdes 12 ffe mode user-define c0 3 c1 94 c2 15 c3 0 c4 0 +chip set serdes 13 ffe mode user-define c0 3 c1 94 c2 15 c3 0 c4 0 +chip set serdes 14 ffe mode user-define c0 3 c1 94 c2 15 c3 0 c4 0 +chip set serdes 15 ffe mode user-define c0 3 c1 94 c2 15 c3 0 c4 0 + + +chip set serdes 0 ctle 6 14 2 +chip set serdes 1 ctle 6 14 2 +chip set serdes 2 ctle 6 14 2 +chip set serdes 3 ctle 6 14 2 +chip set serdes 4 ctle 6 14 2 +chip set serdes 5 ctle 6 14 2 +chip set serdes 6 ctle 6 14 2 +chip set serdes 7 ctle 6 14 2 +chip set serdes 8 ctle 6 14 2 +chip set serdes 9 ctle 6 14 2 +chip set serdes 10 ctle 6 14 2 +chip set serdes 11 ctle 6 14 2 + + + +# rtk eye param, post_amp|main_amp|pre_amp +port 0 phy-attr type 2001 value 0x1c1e00 +port 4 phy-attr type 2001 value 0x101600 +port 16 phy-attr type 2001 value 0x111500 +port 20 phy-attr type 2001 value 0x0e1100 +port 8 phy-attr type 2001 value 0x0f1000 +port 32 phy-attr type 2001 value 0x0e0f00 +port 36 phy-attr type 2001 value 0x0a0a00 +port 40 phy-attr type 2001 value 0x0a0900 +port 24 phy-attr type 2001 value 0x000c00 +port 48 phy-attr type 2001 value 0x000b00 +port 52 phy-attr type 2001 value 0x000b00 +port 56 phy-attr type 2001 value 0x000a00 + diff --git a/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/default_sku b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/default_sku new file mode 100644 index 000000000000..fa6fa77966b9 --- /dev/null +++ b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/default_sku @@ -0,0 +1 @@ +RA-B6010-48GT4X-R l1 diff --git a/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/installer.conf b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/installer.conf new file mode 100644 index 000000000000..6e00c7ff77f1 --- /dev/null +++ b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/installer.conf @@ -0,0 +1,9 @@ +CONSOLE_SPEED=115200 + +#fix env +config_env(){ + dd if=/dev/mtd1 of=env.bin + flashcp -v env.bin /dev/mtd4 +} +trap_push "config_env || true" + diff --git a/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/platform_asic b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/platform_asic new file mode 100644 index 000000000000..0815c8a78c0b --- /dev/null +++ b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/platform_asic @@ -0,0 +1 @@ +centec-arm64 diff --git a/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/plugins/config.py b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/plugins/config.py new file mode 100644 index 000000000000..93b331573d6d --- /dev/null +++ b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/plugins/config.py @@ -0,0 +1,22 @@ +#!/usr/bin/python +# -*- coding: UTF-8 -*- +RAGILE_CARDID = 0x00004099 +RAGILE_PRODUCTNAME = "RA-B6010-48GT4X" +RAGILE_PART_NUMBER = "RJ000001" +RAGILE_LABEL_REVISION = "R01" +RAGILE_ONIE_VERSION = "2018.02" +RAGILE_MAC_SIZE = 3 +RAGILE_MANUF_NAME = "Ragile" +RAGILE_MANUF_COUNTRY = "CHN" +RAGILE_VENDOR_NAME = "Ragile" +RAGILE_DIAG_VERSION = "0.1.0.15" +RAGILE_SERVICE_TAG = "www.ragile.com" + +CPUEEPROMS = {"name":"cpueeprom","bus":5,"loc":0x57,"E2PRODUCT":'2', "E2TYPE":'4'} + +# rg_eeprom = "1-0056/eeprom" +E2_LOC = {"bus":1, "devno":0x56} +E2_PROTECT = {} +FAN_PROTECT = {"bus":1, "devno":0x0d, "addr":0x19, "open":0x00, "close":0xff} + + diff --git a/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/plugins/eeprom.py b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/plugins/eeprom.py new file mode 100644 index 000000000000..77016e17944a --- /dev/null +++ b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/plugins/eeprom.py @@ -0,0 +1,21 @@ +#!/usr/bin/env python + +try: + import exceptions + import binascii + import time + import optparse + import warnings + import os + import sys + from sonic_eeprom import eeprom_base + from sonic_eeprom import eeprom_tlvinfo +except ImportError, e: + raise ImportError (str(e) + "- required module not found") + + +class board(eeprom_tlvinfo.TlvInfoDecoder): + + def __init__(self, name, path, cpld_root, ro): + self.eeprom_path = "/sys/bus/i2c/devices/1-0056/eeprom" + super(board, self).__init__(self.eeprom_path, 0, '', True) diff --git a/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/plugins/sfputil.py b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/plugins/sfputil.py new file mode 100644 index 000000000000..ad619bf33469 --- /dev/null +++ b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/plugins/sfputil.py @@ -0,0 +1,455 @@ +# sfputil.py +# +# Platform-specific SFP transceiver interface for SONiC +# + +try: + import time + import subprocess + import re + import os + import threading + from sonic_sfp.sfputilbase import SfpUtilBase +except ImportError as e: + raise ImportError("%s - required module not found" % str(e)) + + +class SfpUtil(SfpUtilBase): + """Platform-specific SfpUtil class""" + + PORT_START = 49 + PORT_END = 52 + PORTS_IN_BLOCK = 53 + EEPROM_OFFSET = 9 + SFP_DEVICE_TYPE = "optoe2" + QSFP_DEVICE_TYPE = "optoe1" + I2C_MAX_ATTEMPT = 3 + + SFP_STATUS_INSERTED = '1' + SFP_STATUS_REMOVED = '0' + + TXWRT_PROTECT = 0X4E + TXWRT_NO_PROTECT = 0X59 + + _port_to_eeprom_mapping = {} + port_to_i2cbus_mapping ={} + port_dict = {} + port_presence_info = {} + port_reset_info = {} + port_txdis_info = {} + port_txwrt_info = {} + port_led_info = {} + + port_rxlos_info = {} + port_txfault_info = {} + port_drop_info = {} + + @property + def port_start(self): + return self.PORT_START + + @property + def port_end(self): + return self.PORT_END + + @property + def sfp_ports(self): + return list(range(self.PORT_START, self.PORTS_IN_BLOCK)) + + @property + def qsfp_ports(self): + return [] + + @property + def port_to_eeprom_mapping(self): + return self._port_to_eeprom_mapping + + def __init__(self): + for x in range(self.PORT_START, self.PORTS_IN_BLOCK): + self.port_to_i2cbus_mapping[x] = (x - self.PORT_START + self.EEPROM_OFFSET) + self.port_presence_info["/sys/bus/i2c/devices/3-0030/sfp_presence1"] = [49, 50, 51, 52] + self.port_txdis_info["/sys/bus/i2c/devices/3-0030/tx_disable"] = [49, 50, 51, 52] + self.port_txwrt_info["/sys/bus/i2c/devices/3-0030/tx_write_protect"] = [49, 50, 51, 52] + + # bit 1: los + self.port_rxlos_info["/sys/bus/i2c/devices/3-0030/sfp_rx_loss1"] = [49, 50, 51, 52] + + # bit 1: fault + self.port_txfault_info["/sys/bus/i2c/devices/3-0030/sfp_tx_fault1"] = [49, 50, 51, 52] + + # bit 1: drop + self.port_drop_info["/sys/bus/i2c/devices/3-0030/sfp_drop_record1"] = [49, 50, 51, 52] + + SfpUtilBase.__init__(self) + + def _sfp_read_file_path(self, file_path, offset, num_bytes): + attempts = 0 + while attempts < self.I2C_MAX_ATTEMPT: + try: + file_path.seek(offset) + read_buf = file_path.read(num_bytes) + except: + attempts += 1 + time.sleep(0.05) + else: + return True, read_buf + return False, None + + def _sfp_eeprom_present(self, sysfs_sfp_i2c_client_eeprompath, offset): + """Tries to read the eeprom file to determine if the + device/sfp is present or not. If sfp present, the read returns + valid bytes. If not, read returns error 'Connection timed out""" + + if not os.path.exists(sysfs_sfp_i2c_client_eeprompath): + return False + else: + with open(sysfs_sfp_i2c_client_eeprompath, "rb", buffering=0) as sysfsfile: + rv, buf = self._sfp_read_file_path(sysfsfile, offset, 1) + return rv + + def _add_new_sfp_device(self, sysfs_sfp_i2c_adapter_path, devaddr, devtype): + try: + sysfs_nd_path = "%s/new_device" % sysfs_sfp_i2c_adapter_path + + # Write device address to new_device file + nd_file = open(sysfs_nd_path, "w") + nd_str = "%s %s" % (devtype, hex(devaddr)) + nd_file.write(nd_str) + nd_file.close() + + except Exception as err: + print(("Error writing to new device file: %s" % str(err))) + return 1 + else: + return 0 + + def _get_port_eeprom_path(self, port_num, devid): + sysfs_i2c_adapter_base_path = "/sys/class/i2c-adapter" + + if port_num in list(self.port_to_eeprom_mapping.keys()): + sysfs_sfp_i2c_client_eeprom_path = self.port_to_eeprom_mapping[port_num] + else: + sysfs_i2c_adapter_base_path = "/sys/class/i2c-adapter" + + i2c_adapter_id = self._get_port_i2c_adapter_id(port_num) + if i2c_adapter_id is None: + print("Error getting i2c bus num") + return None + + # Get i2c virtual bus path for the sfp + sysfs_sfp_i2c_adapter_path = "%s/i2c-%s" % (sysfs_i2c_adapter_base_path, + str(i2c_adapter_id)) + + # If i2c bus for port does not exist + if not os.path.exists(sysfs_sfp_i2c_adapter_path): + print(("Could not find i2c bus %s. Driver not loaded?" % sysfs_sfp_i2c_adapter_path)) + return None + + sysfs_sfp_i2c_client_path = "%s/%s-00%s" % (sysfs_sfp_i2c_adapter_path, + str(i2c_adapter_id), + hex(devid)[-2:]) + + # If sfp device is not present on bus, Add it + if not os.path.exists(sysfs_sfp_i2c_client_path): + if port_num in self.qsfp_ports: + ret = self._add_new_sfp_device( + sysfs_sfp_i2c_adapter_path, devid, self.QSFP_DEVICE_TYPE) + else: + ret = self._add_new_sfp_device( + sysfs_sfp_i2c_adapter_path, devid, self.SFP_DEVICE_TYPE) + if ret != 0: + print("Error adding sfp device") + return None + + sysfs_sfp_i2c_client_eeprom_path = "%s/eeprom" % sysfs_sfp_i2c_client_path + return sysfs_sfp_i2c_client_eeprom_path + + def _read_eeprom_specific_bytes(self, sysfsfile_eeprom, offset, num_bytes): + eeprom_raw = [] + for i in range(0, num_bytes): + eeprom_raw.append("0x00") + + rv, raw = self._sfp_read_file_path(sysfsfile_eeprom, offset, num_bytes) + if rv == False: + return None + + try: + if isinstance(raw, str): + for n in range(0, num_bytes): + eeprom_raw[n] = hex(ord(raw[n]))[2:].zfill(2) + else: + for n in range(0, num_bytes): + eeprom_raw[n] = hex(raw[n])[2:].zfill(2) + except Exception as err: + return None + return eeprom_raw + + def get_eeprom_dom_raw(self, port_num): + if port_num in self.qsfp_ports: + # QSFP DOM EEPROM is also at addr 0x50 and thus also stored in eeprom_ifraw + return None + else: + # Read dom eeprom at addr 0x51 + return self._read_eeprom_devid(port_num, self.IDENTITY_EEPROM_ADDR, 256) + + def get_presence(self, port_num): + # Check for invalid port_num + if port_num < self.port_start or port_num > self.port_end: + return False + + presence_path = None + for presence_key in self.port_presence_info: + if port_num in self.port_presence_info[presence_key]: + presence_path = presence_key + presence_offset = self.port_presence_info[presence_key].index(port_num) + break + if presence_path == None: + return False + + try: + data = open(presence_path, "rb") + except IOError: + return False + + presence_data = data.read(2) + if presence_data == "": + return False + result = int(presence_data, 16) + data.close() + + # ModPrsL is active low + if result & (1 << presence_offset) == 0: + return True + + return False + + def get_low_power_mode(self, port_num): + return False + + def set_low_power_mode(self, port_num, lpmode): + return False + + def reset(self, port_num): + return False + + def reset_all(self): + return False + + def _do_write_file(self, file_handle, offset, value): + file_handle.seek(offset) + file_handle.write(hex(value)) + + def get_transceiver_change_event(self, timeout=0): + + start_time = time.time() + currernt_port_dict = {} + forever = False + + if timeout == 0: + forever = True + elif timeout > 0: + timeout = timeout / float(1000) # Convert to secs + else: + print(("get_transceiver_change_event:Invalid timeout value", timeout)) + return False, {} + + end_time = start_time + timeout + if start_time > end_time: + print(('get_transceiver_change_event:' \ + 'time wrap / invalid timeout value', timeout)) + + return False, {} # Time wrap or possibly incorrect timeout + + while timeout >= 0: + # Check for OIR events and return updated port_dict + for x in range(self.PORT_START, self.PORTS_IN_BLOCK): + if self.get_presence(x): + currernt_port_dict[x] = self.SFP_STATUS_INSERTED + else: + currernt_port_dict[x] = self.SFP_STATUS_REMOVED + if (currernt_port_dict == self.port_dict): + if forever: + time.sleep(1) + else: + timeout = end_time - time.time() + if timeout >= 1: + time.sleep(1) # We poll at 1 second granularity + else: + if timeout > 0: + time.sleep(timeout) + return True, {} + else: + # Update reg value + self.port_dict = currernt_port_dict + return True, self.port_dict + print ("get_transceiver_change_event: Should not reach here.") + return False, {} + + def tx_disable(self, port_num, disable): + if not self.get_presence(port_num): + return False + + if port_num in self.sfp_ports: + txwrt_path = None + txdis_path = None + txdis_offset = 0 + + for key in self.port_txwrt_info: + if port_num in self.port_txwrt_info[key]: + txwrt_path = key + break + if txwrt_path == None: + return False + + for key in self.port_txdis_info: + if port_num in self.port_txdis_info[key]: + txdis_path = key + txdis_offset = self.port_txdis_info[key].index(port_num) + break + if txdis_path == None: + return False + + + try: + with open(txwrt_path, "r+") as sys_file: + sres = hex(self.TXWRT_NO_PROTECT)[2:] + sys_file.write(sres) + + with open(txdis_path, "r+") as sys_file: + txdis_data = sys_file.read(2) + if not txdis_data: + return False + result = int(txdis_data, 16) + if disable: + result = result | (1 << txdis_offset) + else: + result = result & (~(1 << txdis_offset)) + sys_file.seek(0) + sres = hex(result)[2:] + print(result,sres) + sys_file.write(sres) + + with open(txwrt_path, "r+") as sys_file: + sres = hex(self.TXWRT_PROTECT)[2:] + sys_file.write(sres) + except Exception as err: + print(err) + return False + + return True + else: + return False + +########### sysdiag ########### + def _get_cpld_info(self, port_num, info): + path = None + offset = 0 + for key in info: + if port_num in info[key]: + path = key + offset = info[key].index(port_num) + break + return path, offset + + def get_tx_disable(self, port_num): + # cur only support sfp moudle + if port_num not in self.sfp_ports: + return False + + if not self.get_presence(port_num): + return False + + path, offset = self._get_cpld_info(port_num, self.port_txdis_info) + if path == None: + return False + + result = 0 + try: + with open(path, "r") as sys_file: + data = sys_file.read(2) + result = int(data, 16) + except Exception as e: + print((str(e))) + return False + + # 1: disable + if result & (1 << offset): + return True + else: + return False + + def get_rx_los(self, port_num): + # cur only support sfp moudle + if port_num not in self.sfp_ports: + return False + + path, offset = self._get_cpld_info(port_num, self.port_rxlos_info) + if path == None: + return False + + result = 0 + try: + with open(path, "r") as sys_file: + data = sys_file.read(2) + result = int(data, 16) + except Exception as e: + print((str(e))) + return False + + # 1: los + if result & (1 << offset): + return True + else: + return False + + def get_tx_fault(self, port_num): + # cur only support sfp moudle + if port_num not in self.sfp_ports: + return False + + if not self.get_presence(port_num): + return False + + path, offset = self._get_cpld_info(port_num, self.port_txfault_info) + if path == None: + return False + + result = 0 + try: + with open(path, "r") as sys_file: + data = sys_file.read(2) + result = int(data, 16) + except Exception as e: + print((str(e))) + return False + + # 1: fault + if result & (1 << offset): + return True + else: + return False + + return False + + def get_plug_record(self, port_num): + if not self.get_presence(port_num): + return False + + path, offset = self._get_cpld_info(port_num, self.port_drop_info) + if path == None: + return False + + result = 0 + try: + with open(path, "r") as sys_file: + data = sys_file.read(2) + result = int(data, 16) + except Exception as e: + print((str(e))) + return False + + # 1: drop + if result & (1 << offset): + return True + else: + return False diff --git a/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/pmon_daemon_control.json b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/pmon_daemon_control.json new file mode 100644 index 000000000000..5fdf83f1b9e6 --- /dev/null +++ b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r-r0/pmon_daemon_control.json @@ -0,0 +1,7 @@ +{ + "skip_ledd": true, + "skip_xcvrd": false, + "skip_syseepromd": false, + "skip_thermalctld": false, + "skip_psud": false +} diff --git a/device/ragile/arm64-ragile_ra-b6010-48gt4x-r0/installer.conf b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r0/installer.conf index a44cb9c23c93..6e00c7ff77f1 100644 --- a/device/ragile/arm64-ragile_ra-b6010-48gt4x-r0/installer.conf +++ b/device/ragile/arm64-ragile_ra-b6010-48gt4x-r0/installer.conf @@ -1,4 +1,4 @@ -CONSOLE_SPEED=9600 +CONSOLE_SPEED=115200 #fix env config_env(){ diff --git a/device/ragile/x86_64-ragile_ra-b6510-32c-r0/pddf/pddf-device.json b/device/ragile/x86_64-ragile_ra-b6510-32c-r0/pddf/pddf-device.json index 0f337006edad..e3af29abfe64 100755 --- a/device/ragile/x86_64-ragile_ra-b6510-32c-r0/pddf/pddf-device.json +++ b/device/ragile/x86_64-ragile_ra-b6510-32c-r0/pddf/pddf-device.json @@ -33,7 +33,7 @@ "i2c_mux", "rg_gpio_xeon", "i2c_mux_pca9641", - "i2c_mux_pca954x force_create_bus=1", + "i2c_mux_pca954x force_create_bus=1 close_chan_force_reset=1 select_chan_check=1", "ragile_common dfd_my_type=0x404b", "fpga_pcie_i2c ocore_ctl_startbus=2", "lpc_dbg", @@ -1610,6 +1610,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x10", @@ -1618,6 +1619,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x14", @@ -1682,6 +1684,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x10", @@ -1690,6 +1693,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x14", @@ -1754,6 +1758,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x10", @@ -1762,6 +1767,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x14", @@ -1827,6 +1833,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x10", @@ -1835,6 +1842,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x14", @@ -1900,6 +1908,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x10", @@ -1908,6 +1917,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x14", @@ -1973,6 +1983,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x10", @@ -1981,6 +1992,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x14", @@ -2045,6 +2057,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x30", @@ -2053,6 +2066,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x14", @@ -2117,6 +2131,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x10", @@ -2125,6 +2140,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x14", @@ -2189,6 +2205,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x11", @@ -2197,6 +2214,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x15", @@ -2261,6 +2279,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x11", @@ -2269,6 +2288,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x15", @@ -2334,6 +2354,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x11", @@ -2342,6 +2363,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x15", @@ -2407,6 +2429,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x11", @@ -2415,6 +2438,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x15", @@ -2480,6 +2504,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x11", @@ -2488,6 +2513,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x15", @@ -2553,6 +2579,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x11", @@ -2561,6 +2588,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x15", @@ -2625,6 +2653,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x11", @@ -2633,6 +2662,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x15", @@ -2697,6 +2727,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x11", @@ -2705,6 +2736,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD1", "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x15", @@ -2769,6 +2801,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x10", @@ -2777,6 +2810,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x14", @@ -2841,6 +2875,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x10", @@ -2849,6 +2884,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x14", @@ -2914,6 +2950,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x10", @@ -2922,6 +2959,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x14", @@ -2987,6 +3025,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x10", @@ -2995,6 +3034,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x14", @@ -3060,6 +3100,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x10", @@ -3068,6 +3109,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x14", @@ -3133,6 +3175,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x10", @@ -3141,6 +3184,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x14", @@ -3205,6 +3249,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x10", @@ -3213,6 +3258,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x14", @@ -3277,6 +3323,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x10", @@ -3285,6 +3332,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x14", @@ -3349,6 +3397,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x11", @@ -3357,6 +3406,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x15", @@ -3421,6 +3471,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x11", @@ -3429,6 +3480,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x15", @@ -3494,6 +3546,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x11", @@ -3502,6 +3555,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x15", @@ -3567,6 +3621,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x11", @@ -3575,6 +3630,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x15", @@ -3640,6 +3696,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x11", @@ -3648,6 +3705,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x15", @@ -3713,6 +3771,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x11", @@ -3721,6 +3780,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x15", @@ -3785,6 +3845,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x11", @@ -3793,6 +3854,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x15", @@ -3857,6 +3919,7 @@ }, "attr_list": [{ "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x11", @@ -3865,6 +3928,7 @@ "attr_len": "1" }, { "attr_name": "xcvr_reset", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x15", @@ -4124,7 +4188,7 @@ } }, - "FANTRAY1_LED": { + "FAN1_LED": { "dev_info": { "device_type": "LED", "device_name": "FANTRAY_LED" @@ -4193,7 +4257,7 @@ } }, - "FANTRAY2_LED": { + "FAN2_LED": { "dev_info": { "device_type": "LED", "device_name": "FANTRAY_LED" @@ -4262,7 +4326,7 @@ } }, - "FANTRAY3_LED": { + "FAN3_LED": { "dev_info": { "device_type": "LED", "device_name": "FANTRAY_LED" @@ -4331,7 +4395,7 @@ } }, - "FANTRAY4_LED": { + "FAN4_LED": { "dev_info": { "device_type": "LED", "device_name": "FANTRAY_LED" @@ -4400,7 +4464,7 @@ } }, - "FANTRAY5_LED": { + "FAN5_LED": { "dev_info": { "device_type": "LED", "device_name": "FANTRAY_LED" diff --git a/device/ragile/x86_64-ragile_ra-b6510-48v8c-r0/pddf/pddf-device.json b/device/ragile/x86_64-ragile_ra-b6510-48v8c-r0/pddf/pddf-device.json old mode 100644 new mode 100755 index 4fa2582830f7..fe9428087156 --- a/device/ragile/x86_64-ragile_ra-b6510-48v8c-r0/pddf/pddf-device.json +++ b/device/ragile/x86_64-ragile_ra-b6510-48v8c-r0/pddf/pddf-device.json @@ -2,9 +2,9 @@ "PLATFORM": { "num_psus": 2, "num_fantrays": 4, - "num_fans_pertray": 1, + "num_fans_pertray": 2, "num_ports": 56, - "num_temps": 3, + "num_temps": 5, "pddf_dev_types": { "description": "RA-B6510-48v8c", "CPLD": [ @@ -26,13 +26,19 @@ ] }, "std_kos": [ - "i2c-ismt", "i2c-i801", "i2c_dev", - "i2c_gpio", - "i2c_algo_bit", - "i2c_mux_pca9641", - "i2c_mux_pca954x force_create_bus=1", + "rg_i2c_gpio", + "rg_gpio_xeon", + "rg_i2c_algo_bit", + "i2c_mux", + "i2c_mux_pca9641 ", + "i2c_mux_pca954x force_create_bus=1 close_chan_force_reset=1 select_chan_check=1 ", + "ragile_common dfd_my_type=0x404a", + "fpga_pcie_i2c ocore_ctl_startbus=2 ", + "lpc_dbg", + "fpga_i2c_ocores", + "rg_lpc_cpld", "lm75", "optoe", "at24", @@ -49,20 +55,16 @@ "pddf_psu_module", "pddf_fan_driver_module", "pddf_fan_module", - "pddf_led_module", "pddf_sysstatus_module" ], "custom_kos": [ - "ragile_platform", "rg_cpld", - "rg_fan", - "rg_psu", - "rg_gpio_xeon", "csu550" ] }, + "SYSTEM": { "dev_info": { "device_type": "CPU", @@ -78,7 +80,46 @@ "dev": "I2C-GPIO0" }, { "dev_name": "i2c-2", - "dev": "SMBUS1" + "dev": "FPGA-OCORE0" + }, { + "dev_name": "i2c-3", + "dev": "FPGA-OCORE1" + }, { + "dev_name": "i2c-4", + "dev": "FPGA-OCORE2" + }, { + "dev_name": "i2c-5", + "dev": "FPGA-OCORE3" + }, { + "dev_name": "i2c-6", + "dev": "FPGA-OCORE4" + }, { + "dev_name": "i2c-7", + "dev": "FPGA-OCORE5" + }, { + "dev_name": "i2c-8", + "dev": "FPGA-OCORE6" + }, { + "dev_name": "i2c-9", + "dev": "FPGA-OCORE7" + }, { + "dev_name": "i2c-10", + "dev": "FPGA-OCORE8" + }, { + "dev_name": "i2c-11", + "dev": "FPGA-OCORE9" + }, { + "dev_name": "i2c-12", + "dev": "FPGA-OCORE10" + }, { + "dev_name": "i2c-13", + "dev": "FPGA-OCORE11" + }, { + "dev_name": "i2c-14", + "dev": "FPGA-OCORE12" + }, { + "dev_name": "i2c-15", + "dev": "FPGA-OCORE13" }] } }, @@ -94,130 +135,78 @@ "dev_addr": "0x0" }, "DEVICES": [{ - "dev": "CPU_CPLD" - }, - { - "dev": "CONNECT_BOARD_CPLD1" + "dev": "EEPROM1" } ] } }, - "CPU_CPLD": { + "EEPROM1": { "dev_info": { - "device_type": "CPLD", - "device_name": "CPU_CPLD", + "device_type": "EEPROM", + "device_name": "EEPROM1", "device_parent": "SMBUS0" }, "i2c": { "topo_info": { "parent_bus": "0x0", - "dev_addr": "0x0d", - "dev_type": "i2c_cpld" + "dev_addr": "0x56", + "dev_type": "24c02" }, - "dev_attr": {} + "dev_attr": { + "access_mode": "BLOCK" + }, + "attr_list": [{ + "attr_name": "eeprom" + }] } }, - "CONNECT_BOARD_CPLD1": { + "I2C-GPIO0": { "dev_info": { - "device_type": "CPLD", - "device_name": "CONNECT_BOARD_CPLD1", - "device_parent": "SMBUS0" + "device_type": "I2C-GPIO", + "device_name": "I2C-GPIO0", + "device_parent": "SYSTEM" }, "i2c": { "topo_info": { - "parent_bus": "0x0", - "dev_addr": "0x32", - "dev_type": "i2c_cpld" + "dev_addr": "0x1" }, - "dev_attr": {} + "DEVICES": [] } }, - "SMBUS1": { + + "FPGA-OCORE0": { "dev_info": { - "device_type": "SMBUS", - "device_name": "SMBUS1", + "device_type": "FPGA-OCORE", + "device_name": "FPGA-OCORE0", "device_parent": "SYSTEM" }, "i2c": { "topo_info": { "dev_addr": "0x2" }, - "DEVICES": [{ - "dev": "MAC_BOARD_CPLD1_A" - }, - { - "dev": "MAC_BOARD_CPLD2_A" - }, - { - "dev": "CONNECT_BOARD_CPLD2" - }, + "DEVICES": [ { "dev": "FAN-CTRL" - }, - { - "dev": "TEMP1" - }, - { - "dev": "TEMP2" - }, - { - "dev": "TEMP3" - }, - { - "dev": "EEPROM1" - }, - { - "dev": "MUX1" + }, { + "dev": "MUX0" } ] } }, - "MAC_BOARD_CPLD1_A": { - "dev_info": { - "device_type": "CPLD", - "device_name": "MAC_BOARD_CPLD1_A", - "device_parent": "SMBUS1" - }, - "i2c": { - "topo_info": { - "parent_bus": "0x2", - "dev_addr": "0x33", - "dev_type": "i2c_cpld" - }, - "dev_attr": {} - } - }, - - "MAC_BOARD_CPLD2_A": { - "dev_info": { - "device_type": "CPLD", - "device_name": "MAC_BOARD_CPLD2_A", - "device_parent": "SMBUS1" - }, - "i2c": { - "topo_info": { - "parent_bus": "0x2", - "dev_addr": "0x35", - "dev_type": "i2c_cpld" - }, - "dev_attr": {} - } - }, - "FAN-CTRL": { "dev_info": { "device_type": "FAN", "device_name": "FAN-CTRL", - "device_parent": "SMBUS1" + "device_parent": "FPGA-OCORE0" }, "i2c": { "topo_info": { "parent_bus": "0x2", - "dev_addr": "0x66", + "dev_addr": "0x0d", "dev_type": "fan_cpld" }, "dev_attr": { @@ -225,8 +214,6 @@ }, "attr_list": [{ "attr_name": "fan1_present", - "attr_devtype": "cpld", - "attr_devaddr": "0x37", "attr_offset": "0x30", "attr_mask": "0x1", "attr_cmpval": "0x0", @@ -234,26 +221,48 @@ }, { "attr_name": "fan2_present", - "attr_devtype": "cpld", - "attr_devaddr": "0x37", "attr_offset": "0x30", - "attr_mask": "0x2", + "attr_mask": "0x1", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "fan3_present", - "attr_devtype": "cpld", - "attr_devaddr": "0x37", "attr_offset": "0x30", - "attr_mask": "0x4", + "attr_mask": "0x2", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "fan4_present", - "attr_devtype": "cpld", - "attr_devaddr": "0x37", + "attr_offset": "0x30", + "attr_mask": "0x2", + "attr_cmpval": "0x0", + "attr_len": "1" + }, + { + "attr_name": "fan5_present", + "attr_offset": "0x30", + "attr_mask": "0x4", + "attr_cmpval": "0x0", + "attr_len": "1" + }, + { + "attr_name": "fan6_present", + "attr_offset": "0x30", + "attr_mask": "0x4", + "attr_cmpval": "0x0", + "attr_len": "1" + }, + { + "attr_name": "fan7_present", + "attr_offset": "0x30", + "attr_mask": "0x8", + "attr_cmpval": "0x0", + "attr_len": "1" + }, + { + "attr_name": "fan8_present", "attr_offset": "0x30", "attr_mask": "0x8", "attr_cmpval": "0x0", @@ -261,104 +270,320 @@ }, { "attr_name": "fan1_input", - "attr_devname": "CONNECT_BOARD_CPLD2", - "attr_devtype": "cpld", - "attr_devaddr": "0x37", "attr_offset": "0x1b", "attr_mult": "1", "attr_len": "2" }, { "attr_name": "fan2_input", - "attr_devname": "CONNECT_BOARD_CPLD2", - "attr_devtype": "cpld", - "attr_devaddr": "0x37", - "attr_offset": "0x1d", + "attr_offset": "0x25", "attr_mult": "1", "attr_len": "2" }, { "attr_name": "fan3_input", - "attr_devname": "CONNECT_BOARD_CPLD2", - "attr_devtype": "cpld", - "attr_devaddr": "0x37", - "attr_offset": "0x1f", + "attr_offset": "0x1d", "attr_mult": "1", "attr_len": "2" }, { "attr_name": "fan4_input", - "attr_devname": "CONNECT_BOARD_CPLD2", - "attr_devtype": "cpld", - "attr_devaddr": "0x37", + "attr_offset": "0x27", + "attr_mult": "1", + "attr_len": "2" + }, + { + "attr_name": "fan5_input", + "attr_offset": "0x1f", + "attr_mult": "1", + "attr_len": "2" + }, + { + "attr_name": "fan6_input", + "attr_offset": "0x29", + "attr_mult": "1", + "attr_len": "2" + }, + { + "attr_name": "fan7_input", "attr_offset": "0x21", "attr_mult": "1", "attr_len": "2" }, + { + "attr_name": "fan8_input", + "attr_offset": "0x2b", + "attr_mult": "1", + "attr_len": "2" + }, { "attr_name": "fan1_pwm", - "attr_devtype": "cpld", - "attr_devaddr": "0x32", - "attr_offset": "0x15", + "attr_offset": "0x14", "attr_mask": "0xff", "attr_len": "1" }, { "attr_name": "fan2_pwm", - "attr_devtype": "cpld", - "attr_devaddr": "0x32", - "attr_offset": "0x15", + "attr_offset": "0x14", "attr_mask": "0xff", "attr_len": "1" }, { "attr_name": "fan3_pwm", - "attr_devtype": "cpld", - "attr_devaddr": "0x32", "attr_offset": "0x15", "attr_mask": "0xff", "attr_len": "1" }, { "attr_name": "fan4_pwm", - "attr_devtype": "cpld", - "attr_devaddr": "0x32", "attr_offset": "0x15", "attr_mask": "0xff", "attr_len": "1" + }, + { + "attr_name": "fan5_pwm", + "attr_offset": "0x16", + "attr_mask": "0xff", + "attr_len": "1" + }, + { + "attr_name": "fan6_pwm", + "attr_offset": "0x16", + "attr_mask": "0xff", + "attr_len": "1" + }, + { + "attr_name": "fan7_pwm", + "attr_offset": "0x17", + "attr_mask": "0xff", + "attr_len": "1" + }, + { + "attr_name": "fan8_pwm", + "attr_offset": "0x17", + "attr_mask": "0xff", + "attr_len": "1" + }, + { + "attr_name": "fan1_fault", + "attr_offset": "0x31", + "attr_mask": "0x1", + "attr_cmpval": "0x0", + "attr_len": "1" + }, + { + "attr_name": "fan2_fault", + "attr_offset": "0x31", + "attr_mask": "0x1", + "attr_cmpval": "0x0", + "attr_len": "1" + }, + { + "attr_name": "fan3_fault", + "attr_offset": "0x31", + "attr_mask": "0x2", + "attr_cmpval": "0x0", + "attr_len": "1" + }, + { + "attr_name": "fan4_fault", + "attr_offset": "0x31", + "attr_mask": "0x2", + "attr_cmpval": "0x0", + "attr_len": "1" + }, + { + "attr_name": "fan5_fault", + "attr_offset": "0x31", + "attr_mask": "0x4", + "attr_cmpval": "0x0", + "attr_len": "1" + }, + { + "attr_name": "fan6_fault", + "attr_offset": "0x31", + "attr_mask": "0x4", + "attr_cmpval": "0x0", + "attr_len": "1" + }, + { + "attr_name": "fan7_fault", + "attr_offset": "0x31", + "attr_mask": "0x8", + "attr_cmpval": "0x0", + "attr_len": "1" + }, + { + "attr_name": "fan8_fault", + "attr_offset": "0x31", + "attr_mask": "0x8", + "attr_cmpval": "0x0", + "attr_len": "1" + } + ] + } + }, + + "MUX0": { + "dev_info": { + "device_type": "MUX", + "device_name": "MUX0", + "device_parent": "FPGA-OCORE0" + }, + "i2c": { + "topo_info": { + "parent_bus": "0x2", + "dev_addr": "0x77", + "dev_type": "pca9548" + }, + "dev_attr": { + "virt_bus": "0x10" + }, + "channel": [{ + "chn": "0", + "dev": "FAN1-EEPROM" + }, + { + "chn": "1", + "dev": "FAN2-EEPROM" + }, + { + "chn": "2", + "dev": "FAN3-EEPROM" + }, + { + "chn": "3", + "dev": "FAN4-EEPROM" + } + ] + } + }, + + "FAN1-EEPROM": { + "dev_info": { + "device_type": "EEPROM", + "device_name": "FAN1-EEPROM", + "device_parent": "MUX0" + }, + "i2c": { + "topo_info": { + "parent_bus": "0x10", + "dev_addr": "0x50", + "dev_type": "24c02" + }, + "dev_attr": { + "access_mode": "BLOCK" + }, + "attr_list": [{ + "attr_name": "eeprom" + }] + } + }, + + "FAN2-EEPROM": { + "dev_info": { + "device_type": "EEPROM", + "device_name": "FAN2-EEPROM", + "device_parent": "MUX0" + }, + "i2c": { + "topo_info": { + "parent_bus": "0x11", + "dev_addr": "0x50", + "dev_type": "24c02" + }, + "dev_attr": { + "access_mode": "BLOCK" + }, + "attr_list": [{ + "attr_name": "eeprom" + }] + } + }, + + "FAN3-EEPROM": { + "dev_info": { + "device_type": "EEPROM", + "device_name": "FAN3-EEPROM", + "device_parent": "MUX0" + }, + "i2c": { + "topo_info": { + "parent_bus": "0x12", + "dev_addr": "0x50", + "dev_type": "24c02" + }, + "dev_attr": { + "access_mode": "BLOCK" + }, + "attr_list": [{ + "attr_name": "eeprom" + }] + } + }, + + "FAN4-EEPROM": { + "dev_info": { + "device_type": "EEPROM", + "device_name": "FAN4-EEPROM", + "device_parent": "MUX0" + }, + "i2c": { + "topo_info": { + "parent_bus": "0x13", + "dev_addr": "0x50", + "dev_type": "24c02" + }, + "dev_attr": { + "access_mode": "BLOCK" + }, + "attr_list": [{ + "attr_name": "eeprom" + }] + } + }, + "FPGA-OCORE1": { + "dev_info": { + "device_type": "FPGA-OCORE", + "device_name": "FPGA-OCORE1", + "device_parent": "SYSTEM" + }, + "i2c": { + "topo_info": { + "dev_addr": "0x3" + }, + "DEVICES": [ + { + "dev": "TEMP1" + }, + { + "dev": "TEMP2" + }, + { + "dev": "TEMP3" + }, + { + "dev": "TEMP4" + }, + { + "dev": "TEMP5" } ] } }, - "CONNECT_BOARD_CPLD2": { - "dev_info": { - "device_type": "CPLD", - "device_name": "CONNECT_BOARD_CPLD2", - "device_parent": "SMBUS1" - }, - "i2c": { - "topo_info": { - "parent_bus": "0x2", - "dev_addr": "0x37", - "dev_type": "i2c_cpld" - }, - "dev_attr": {} - } - }, - "TEMP1": { "dev_info": { "device_type": "TEMP_SENSOR", - "device_name": "MAC_TEMP_INLET", - "device_parent": "SMBUS1" + "device_name": "TEMP-MAC-INLET-R", + "device_parent": "FPGA-OCORE1" }, "dev_attr": { - "display_name": "Temp_1" + "display_name": "Temp_MAC_INLET_R" }, "i2c": { "topo_info": { - "parent_bus": "0x2", + "parent_bus": "0x3", "dev_addr": "0x48", "dev_type": "lm75" }, @@ -379,15 +604,15 @@ "TEMP2": { "dev_info": { "device_type": "TEMP_SENSOR", - "device_name": "MAC_TEMP_OUTLET", - "device_parent": "SMBUS1" + "device_name": "TEMP-MAC-INLET-F", + "device_parent": "FPGA-OCORE1" }, "dev_attr": { - "display_name": "Temp_2" + "display_name": "Temp_MAC_INLET_F" }, "i2c": { "topo_info": { - "parent_bus": "0x2", + "parent_bus": "0x3", "dev_addr": "0x49", "dev_type": "lm75" }, @@ -408,15 +633,15 @@ "TEMP3": { "dev_info": { "device_type": "TEMP_SENSOR", - "device_name": "MAC_TEMP_HOTEST", - "device_parent": "SMBUS1" + "device_name": "TEMP-MAC-INLET-B", + "device_parent": "FPGA-OCORE1" }, "dev_attr": { - "display_name": "Temp_3" + "display_name": "Temp_MAC_INLET_B" }, "i2c": { "topo_info": { - "parent_bus": "0x2", + "parent_bus": "0x3", "dev_addr": "0x4a", "dev_type": "lm75" }, @@ -434,153 +659,109 @@ } }, - "EEPROM1": { + "TEMP4": { "dev_info": { - "device_type": "EEPROM", - "device_name": "EEPROM1", - "device_parent": "SMBUS1" + "device_type": "TEMP_SENSOR", + "device_name": "TEMP-MAC-INLET-L", + "device_parent": "FPGA-OCORE1" }, - "i2c": { - "topo_info": { - "parent_bus": "0x2", - "dev_addr": "0x57", - "dev_type": "24c02" - }, - "dev_attr": { - "access_mode": "BLOCK" - }, - "attr_list": [{ - "attr_name": "eeprom" - }] - } - }, - - "MUX1": { - "dev_info": { - "device_type": "MUX", - "device_name": "MUX1", - "device_parent": "SMBUS1" + "dev_attr": { + "display_name": "Temp_MAC_INLET_L" }, "i2c": { "topo_info": { - "parent_bus": "0x2", - "dev_addr": "0x70", - "dev_type": "pca9548" - }, - "dev_attr": { - "virt_bus": "0x3" + "parent_bus": "0x3", + "dev_addr": "0x4b", + "dev_type": "lm75" }, - "channel": [{ - "chn": "0", - "dev": "FAN1-EEPROM" - }, - { - "chn": "1", - "dev": "FAN2-EEPROM" - }, - { - "chn": "2", - "dev": "FAN3-EEPROM" - }, - { - "chn": "3", - "dev": "FAN4-EEPROM" + "attr_list": [{ + "attr_name": "temp1_high_threshold", + "drv_attr_name": "temp1_max" }, { - "chn": "4", - "dev": "PSU1" + "attr_name": "temp1_max_hyst" }, { - "chn": "5", - "dev": "PSU2" + "attr_name": "temp1_input" } ] } }, - "FAN1-EEPROM": { + "TEMP5": { "dev_info": { - "device_type": "EEPROM", - "device_name": "FAN1-EEPROM", - "device_parent": "MUX1" + "device_type": "TEMP_SENSOR", + "device_name": "TEMP-CPU-BOARD", + "device_parent": "FPGA-OCORE1" + }, + "dev_attr": { + "display_name": "Temp_CPU_BOARD" }, "i2c": { "topo_info": { "parent_bus": "0x3", - "dev_addr": "0x53", - "dev_type": "rg_fan" - }, - "dev_attr": { - "access_mode": "BLOCK" + "dev_addr": "0x4c", + "dev_type": "lm75" }, "attr_list": [{ - "attr_name": "eeprom" - }] + "attr_name": "temp1_high_threshold", + "drv_attr_name": "temp1_max" + }, + { + "attr_name": "temp1_max_hyst" + }, + { + "attr_name": "temp1_input" + } + ] } }, - "FAN2-EEPROM": { + "FPGA-OCORE2": { "dev_info": { - "device_type": "EEPROM", - "device_name": "FAN2-EEPROM", - "device_parent": "MUX1" + "device_type": "FPGA-OCORE", + "device_name": "FPGA-OCORE2", + "device_parent": "SYSTEM" }, "i2c": { "topo_info": { - "parent_bus": "0x4", - "dev_addr": "0x53", - "dev_type": "rg_fan" - }, - "dev_attr": { - "access_mode": "BLOCK" + "dev_addr": "0x4" }, - "attr_list": [{ - "attr_name": "eeprom" - }] + "DEVICES": [ + { + "dev": "MUX1" + } + ] } }, - "FAN3-EEPROM": { + "MUX1": { "dev_info": { - "device_type": "EEPROM", - "device_name": "FAN3-EEPROM", - "device_parent": "MUX1" + "device_type": "MUX", + "device_name": "MUX1", + "device_parent": "FPGA-OCORE2" }, "i2c": { "topo_info": { - "parent_bus": "0x5", - "dev_addr": "0x53", - "dev_type": "rg_fan" + "parent_bus": "0x4", + "dev_addr": "0x77", + "dev_type": "pca9548" }, "dev_attr": { - "access_mode": "BLOCK" + "virt_bus": "0x18" }, - "attr_list": [{ - "attr_name": "eeprom" - }] + "channel": [{ + "chn": "0", + "dev": "PSU1" + }, + { + "chn": "1", + "dev": "PSU2" + } + ] } }, - "FAN4-EEPROM": { - "dev_info": { - "device_type": "EEPROM", - "device_name": "FAN4-EEPROM", - "device_parent": "MUX1" - }, - "i2c": { - "topo_info": { - "parent_bus": "0x6", - "dev_addr": "0x53", - "dev_type": "rg_fan" - }, - "dev_attr": { - "access_mode": "BLOCK" - }, - "attr_list": [{ - "attr_name": "eeprom" - }] - } - }, "PSU1": { "dev_info": { @@ -614,13 +795,13 @@ }, "i2c": { "topo_info": { - "parent_bus": "0x7", + "parent_bus": "0x18", "dev_addr": "0x58", "dev_type": "psu_pmbus" }, "attr_list": [{ "attr_name": "psu_present", - "attr_devaddr": "0x37", + "attr_devaddr": "0x0d", "attr_devtype": "cpld", "attr_offset": "0x51", "attr_mask": "0x1", @@ -638,7 +819,7 @@ }, { "attr_name": "psu_power_good", - "attr_devaddr": "0x37", + "attr_devaddr": "0x0d", "attr_devtype": "cpld", "attr_offset": "0x51", "attr_mask": "0x2", @@ -698,6 +879,15 @@ "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" } ] } @@ -712,7 +902,7 @@ }, "i2c": { "topo_info": { - "parent_bus": "0x7", + "parent_bus": "0x18", "dev_addr": "0x50", "dev_type": "psu_eeprom" }, @@ -760,40 +950,38 @@ }, "i2c": { "topo_info": { - "parent_bus": "0x8", - "dev_addr": "0x5b", + "parent_bus": "0x19", + "dev_addr": "0x58", "dev_type": "psu_pmbus" }, "attr_list": [{ "attr_name": "psu_present", - "attr_devaddr": "0x37", - "attr_devtype": "cpld", - "attr_offset": "0x51", - "attr_mask": "0x8", + "attr_devtype": "io", + "attr_offset": "0x951", + "attr_mask": "0x10", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "psu_model_name", - "attr_devaddr": "0x5b", + "attr_devaddr": "0x58", "attr_devtype": "pmbus", - "attr_offset": "0x35", + "attr_offset": "0x9a", "attr_mask": "0x0", "attr_cmpval": "0xff", "attr_len": "12" }, { "attr_name": "psu_power_good", - "attr_devaddr": "0x37", - "attr_devtype": "cpld", - "attr_offset": "0x51", - "attr_mask": "0x10", - "attr_cmpval": "0x10", + "attr_devtype": "io", + "attr_offset": "0x951", + "attr_mask": "0x20", + "attr_cmpval": "0x20", "attr_len": "1" }, { "attr_name": "psu_mfr_id", - "attr_devaddr": "0x5b", + "attr_devaddr": "0x58", "attr_devtype": "pmbus", "attr_offset": "0x99", "attr_mask": "0x0", @@ -802,7 +990,7 @@ }, { "attr_name": "psu_fan_dir", - "attr_devaddr": "0x5b", + "attr_devaddr": "0x58", "attr_devtype": "pmbus", "attr_offset": "0xc3", "attr_mask": "0x0", @@ -811,7 +999,7 @@ }, { "attr_name": "psu_v_out", - "attr_devaddr": "0x5b", + "attr_devaddr": "0x58", "attr_devtype": "pmbus", "attr_offset": "0x8b", "attr_mask": "0x0", @@ -820,7 +1008,7 @@ }, { "attr_name": "psu_i_out", - "attr_devaddr": "0x5b", + "attr_devaddr": "0x58", "attr_devtype": "pmbus", "attr_offset": "0x8c", "attr_mask": "0x0", @@ -829,7 +1017,7 @@ }, { "attr_name": "psu_p_out", - "attr_devaddr": "0x5b", + "attr_devaddr": "0x58", "attr_devtype": "pmbus", "attr_offset": "0x96", "attr_mask": "0x0", @@ -838,7 +1026,7 @@ }, { "attr_name": "psu_fan1_speed_rpm", - "attr_devaddr": "0x5b", + "attr_devaddr": "0x58", "attr_devtype": "pmbus", "attr_offset": "0x90", "attr_mask": "0x0", @@ -847,7 +1035,7 @@ }, { "attr_name": "psu_temp1_input", - "attr_devaddr": "0x5b", + "attr_devaddr": "0x58", "attr_devtype": "pmbus", "attr_offset": "0x8d", "attr_mask": "0x0", @@ -867,13 +1055,13 @@ }, "i2c": { "topo_info": { - "parent_bus": "0x8", - "dev_addr": "0x53", + "parent_bus": "0x19", + "dev_addr": "0x50", "dev_type": "psu_eeprom" }, "attr_list": [{ "attr_name": "psu_serial_num", - "attr_devaddr": "0x53", + "attr_devaddr": "0x50", "attr_devtype": "eeprom", "attr_offset": "0x38", "attr_mask": "0x0", @@ -883,463 +1071,423 @@ } }, - "I2C-GPIO0": { + "FPGA-OCORE3": { + "dev_info": { + "device_type": "FPGA-OCORE", + "device_name": "FPGA-OCORE3", + "device_parent": "SYSTEM" + }, + "i2c": { + "topo_info": { + "dev_addr": "0x5" + }, + "DEVICES": [ + { + "dev": "EEPROM2" + } + ] + } + }, + + "EEPROM2": { + "dev_info": { + "device_type": "EEPROM", + "device_name": "MAC-EEPROM", + "device_parent": "FPGA-OCORE3" + }, + "i2c": { + "topo_info": { + "parent_bus": "0x5", + "dev_addr": "0x51", + "dev_type": "24c02" + }, + "dev_attr": { + "access_mode": "BLOCK" + }, + "attr_list": [{ + "attr_name": "eeprom" + }] + } + }, + + "FPGA-OCORE4": { + "dev_info": { + "device_type": "FPGA-OCORE", + "device_name": "FPGA-OCORE4", + "device_parent": "SYSTEM" + }, + "i2c": { + "topo_info": { + "dev_addr": "0x6" + }, + "DEVICES": [ + { + "dev": "CPU_BOARD_CPLD" + } + ] + } + }, + + "CPU_BOARD_CPLD": { + "dev_info": { + "device_type": "CPLD", + "device_name": "CPU_BOARD_CPLD", + "device_parent": "FPGA-OCORE4" + }, + "i2c": { + "topo_info": { + "parent_bus": "0x6", + "dev_addr": "0x0d", + "dev_type": "i2c_cpld" + }, + "dev_attr": {} + } + }, + + "FPGA-OCORE5": { + "dev_info": { + "device_type": "FPGA-OCORE", + "device_name": "FPGA-OCORE5", + "device_parent": "SYSTEM" + }, + "i2c": { + "topo_info": { + "dev_addr": "0x7" + }, + "DEVICES": [] + } + }, + + "FPGA-OCORE6": { "dev_info": { - "device_type": "I2C-GPIO", - "device_name": "I2C-GPIO0", + "device_type": "FPGA-OCORE", + "device_name": "FPGA-OCORE6", "device_parent": "SYSTEM" }, "i2c": { "topo_info": { - "dev_addr": "0x1" + "dev_addr": "0x8" }, - "DEVICES": [{ - "dev": "MAC_BOARD_CPLD1_B" - }, - { - "dev": "MAC_BOARD_CPLD2_B" - }, - { - "dev": "PORT-MUX1" - }, - { - "dev": "PORT-MUX2" - }, - { - "dev": "PORT-MUX3" - }, - { - "dev": "PORT-MUX4" - }, - { - "dev": "PORT-MUX5" - }, + "DEVICES": [ { - "dev": "PORT-MUX6" - }, - { - "dev": "PORT-MUX7" - }, - { - "dev": "PORT-MUX8" + "dev": "MAC_BOARD_CPLD1" + }, { + "dev": "MAC_BOARD_CPLD2" } ] } }, - "MAC_BOARD_CPLD1_B": { + "MAC_BOARD_CPLD1": { "dev_info": { "device_type": "CPLD", - "device_name": "MAC_BOARD_CPLD1_B", - "device_parent": "I2C-GPIO0" + "device_name": "MAC_BOARD_CPLD1", + "device_parent": "FPGA-OCORE6" }, "i2c": { "topo_info": { - "parent_bus": "0x1", - "dev_addr": "0x34", + "parent_bus": "0x8", + "dev_addr": "0x30", "dev_type": "i2c_cpld" }, "dev_attr": {} } }, - "MAC_BOARD_CPLD2_B": { + "MAC_BOARD_CPLD2": { "dev_info": { "device_type": "CPLD", - "device_name": "MAC_BOARD_CPLD2_B", - "device_parent": "I2C-GPIO0" + "device_name": "MAC_BOARD_CPLD2", + "device_parent": "FPGA-OCORE6" }, "i2c": { "topo_info": { - "parent_bus": "0x1", - "dev_addr": "0x36", + "parent_bus": "0x8", + "dev_addr": "0x31", "dev_type": "i2c_cpld" }, "dev_attr": {} } }, - "PORT-MUX1": { + "FPGA-OCORE7": { "dev_info": { - "device_type": "MUX", - "device_name": "PORT-MUX1", - "device_parent": "I2C-GPIO0" + "device_type": "FPGA-OCORE", + "device_name": "FPGA-OCORE7", + "device_parent": "SYSTEM" }, "i2c": { "topo_info": { - "parent_bus": "0x1", - "dev_addr": "0x70", - "dev_type": "pca9548" - }, - "dev_attr": { - "virt_bus": "0xb" + "dev_addr": "0x9" }, - "channel": [{ - "chn": "0", - "dev": "PORT1" - }, - { - "chn": "1", - "dev": "PORT2" - }, - { - "chn": "2", - "dev": "PORT3" - }, - { - "chn": "3", - "dev": "PORT4" - }, - { - "chn": "4", - "dev": "PORT5" - }, - { - "chn": "5", - "dev": "PORT6" - }, - { - "chn": "6", - "dev": "PORT7" - }, - { - "chn": "7", - "dev": "PORT8" - } - ] + "DEVICES": [] } }, - "PORT-MUX2": { + "FPGA-OCORE8": { "dev_info": { - "device_type": "MUX", - "device_name": "PORT-MUX2", - "device_parent": "I2C-GPIO0" + "device_type": "FPGA-OCORE", + "device_name": "FPGA-OCORE8", + "device_parent": "SYSTEM" }, "i2c": { "topo_info": { - "parent_bus": "0x1", - "dev_addr": "0x71", - "dev_type": "pca9548" - }, - "dev_attr": { - "virt_bus": "0x13" + "dev_addr": "0xa" }, - "channel": [{ - "chn": "0", - "dev": "PORT9" - }, - { - "chn": "1", - "dev": "PORT10" - }, - { - "chn": "2", - "dev": "PORT11" - }, - { - "chn": "3", - "dev": "PORT12" - }, - { - "chn": "4", - "dev": "PORT13" - }, - { - "chn": "5", - "dev": "PORT14" - }, - { - "chn": "6", - "dev": "PORT15" - }, - { - "chn": "7", - "dev": "PORT16" - } - ] + "DEVICES": [] } }, - "PORT-MUX3": { + "FPGA-OCORE9": { "dev_info": { - "device_type": "MUX", - "device_name": "PORT-MUX3", - "device_parent": "I2C-GPIO0" + "device_type": "FPGA-OCORE", + "device_name": "FPGA-OCORE9", + "device_parent": "SYSTEM" }, "i2c": { "topo_info": { - "parent_bus": "0x1", - "dev_addr": "0x72", - "dev_type": "pca9548" + "dev_addr": "0xb" }, - "dev_attr": { - "virt_bus": "0x1b" + "DEVICES": [] + } + }, + + "FPGA-OCORE10": { + "dev_info": { + "device_type": "FPGA-OCORE", + "device_name": "FPGA-OCORE10", + "device_parent": "SYSTEM" + }, + "i2c": { + "topo_info": { + "dev_addr": "0xc" }, - "channel": [{ - "chn": "0", - "dev": "PORT17" - }, - { - "chn": "1", - "dev": "PORT18" - }, - { - "chn": "2", - "dev": "PORT19" - }, - { - "chn": "3", - "dev": "PORT20" - }, + "DEVICES": [ { - "chn": "4", - "dev": "PORT21" + "dev": "PORT-MUX0" }, { - "chn": "5", - "dev": "PORT22" + "dev": "PORT-MUX1" }, { - "chn": "6", - "dev": "PORT23" + "dev": "PORT-MUX2" }, { - "chn": "7", - "dev": "PORT24" + "dev": "PORT-MUX3" } ] } }, - "PORT-MUX4": { + "PORT-MUX0": { "dev_info": { "device_type": "MUX", - "device_name": "PORT-MUX4", - "device_parent": "I2C-GPIO0" + "device_name": "PORT-MUX0", + "device_parent": "FPGA-OCORE10" }, "i2c": { "topo_info": { - "parent_bus": "0x1", - "dev_addr": "0x73", + "parent_bus": "0xc", + "dev_addr": "0x70", "dev_type": "pca9548" }, "dev_attr": { - "virt_bus": "0x23" + "virt_bus": "0x20" }, "channel": [{ "chn": "0", - "dev": "PORT25" + "dev": "PORT1" }, { "chn": "1", - "dev": "PORT26" + "dev": "PORT2" }, { "chn": "2", - "dev": "PORT27" + "dev": "PORT3" }, { "chn": "3", - "dev": "PORT28" + "dev": "PORT4" }, { "chn": "4", - "dev": "PORT29" + "dev": "PORT5" }, { "chn": "5", - "dev": "PORT30" + "dev": "PORT6" }, { "chn": "6", - "dev": "PORT31" + "dev": "PORT7" }, { "chn": "7", - "dev": "PORT32" + "dev": "PORT8" } ] } }, - "PORT-MUX5": { + "PORT-MUX1": { "dev_info": { "device_type": "MUX", - "device_name": "PORT-MUX5", - "device_parent": "I2C-GPIO0" + "device_name": "PORT-MUX1", + "device_parent": "FPGA-OCORE10" }, "i2c": { "topo_info": { - "parent_bus": "0x1", - "dev_addr": "0x74", + "parent_bus": "0xc", + "dev_addr": "0x71", "dev_type": "pca9548" }, "dev_attr": { - "virt_bus": "0x2b" + "virt_bus": "0x28" }, "channel": [{ "chn": "0", - "dev": "PORT33" + "dev": "PORT9" }, { "chn": "1", - "dev": "PORT34" + "dev": "PORT10" }, { "chn": "2", - "dev": "PORT35" + "dev": "PORT11" }, { "chn": "3", - "dev": "PORT36" + "dev": "PORT12" }, { "chn": "4", - "dev": "PORT37" + "dev": "PORT13" }, { "chn": "5", - "dev": "PORT38" + "dev": "PORT14" }, { "chn": "6", - "dev": "PORT39" + "dev": "PORT15" }, { "chn": "7", - "dev": "PORT40" + "dev": "PORT16" } ] } }, - "PORT-MUX6": { + "PORT-MUX2": { "dev_info": { "device_type": "MUX", - "device_name": "PORT-MUX6", - "device_parent": "I2C-GPIO0" + "device_name": "PORT-MUX2", + "device_parent": "FPGA-OCORE10" }, "i2c": { "topo_info": { - "parent_bus": "0x1", - "dev_addr": "0x75", + "parent_bus": "0xc", + "dev_addr": "0x72", "dev_type": "pca9548" }, "dev_attr": { - "virt_bus": "0x33" + "virt_bus": "0x30" }, "channel": [{ "chn": "0", - "dev": "PORT41" + "dev": "PORT17" }, { "chn": "1", - "dev": "PORT42" + "dev": "PORT18" }, { "chn": "2", - "dev": "PORT43" + "dev": "PORT19" }, { "chn": "3", - "dev": "PORT44" + "dev": "PORT20" }, { "chn": "4", - "dev": "PORT45" + "dev": "PORT21" }, { "chn": "5", - "dev": "PORT46" + "dev": "PORT22" }, { "chn": "6", - "dev": "PORT47" + "dev": "PORT23" }, { "chn": "7", - "dev": "PORT48" + "dev": "PORT24" } ] } }, - "PORT-MUX7": { + "PORT-MUX3": { "dev_info": { "device_type": "MUX", - "device_name": "PORT-MUX7", - "device_parent": "I2C-GPIO0" + "device_name": "PORT-MUX3", + "device_parent": "FPGA-OCORE10" }, "i2c": { "topo_info": { - "parent_bus": "0x1", - "dev_addr": "0x76", + "parent_bus": "0xc", + "dev_addr": "0x73", "dev_type": "pca9548" }, "dev_attr": { - "virt_bus": "0x3b" + "virt_bus": "0x38" }, "channel": [{ "chn": "0", - "dev": "PORT49" + "dev": "PORT25" }, { "chn": "1", - "dev": "PORT50" + "dev": "PORT26" }, { "chn": "2", - "dev": "PORT51" + "dev": "PORT27" }, { "chn": "3", - "dev": "PORT52" + "dev": "PORT28" }, { "chn": "4", - "dev": "PORT53" + "dev": "PORT29" }, { "chn": "5", - "dev": "PORT54" + "dev": "PORT30" }, { "chn": "6", - "dev": "PORT55" - }, - { - "chn": "7", - "dev": "PORT56" - } - ] - } - }, - - "PORT-MUX8": { - "dev_info": { - "device_type": "MUX", - "device_name": "PORT-MUX8", - "device_parent": "I2C-GPIO0" - }, - "i2c": { - "topo_info": { - "parent_bus": "0x1", - "dev_addr": "0x77", - "dev_type": "pca9548" - }, - "dev_attr": { - "virt_bus": "0x43" - }, - "channel": [] + "dev": "PORT31" + }, + { + "chn": "7", + "dev": "PORT32" + } + ] } }, "PORT1": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT1", - "device_parent": "PORT-MUX1" + "device_parent": "PORT-MUX0" }, "dev_attr": { "dev_idx": "1" @@ -1359,12 +1507,12 @@ "dev_info": { "device_type": "", "device_name": "PORT1-EEPROM", - "device_parent": "PORT-MUX1", + "device_parent": "PORT-MUX0", "virt_parent": "PORT1" }, "i2c": { "topo_info": { - "parent_bus": "0xb", + "parent_bus": "0x20", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -1378,37 +1526,40 @@ "dev_info": { "device_type": "", "device_name": "PORT1-CTRL", - "device_parent": "PORT-MUX1", + "device_parent": "PORT-MUX0", "virt_parent": "PORT1" }, "i2c": { "topo_info": { - "parent_bus": "0xb", + "parent_bus": "0x20", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x30", - "attr_mask": "0x1", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x60", - "attr_mask": "0x1", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x40", - "attr_mask": "0x1", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -1417,9 +1568,9 @@ "PORT2": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT2", - "device_parent": "PORT-MUX1" + "device_parent": "PORT-MUX0" }, "dev_attr": { "dev_idx": "2" @@ -1439,12 +1590,12 @@ "dev_info": { "device_type": "", "device_name": "PORT2-EEPROM", - "device_parent": "PORT-MUX1", + "device_parent": "PORT-MUX0", "virt_parent": "PORT2" }, "i2c": { "topo_info": { - "parent_bus": "0xc", + "parent_bus": "0x21", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -1458,37 +1609,40 @@ "dev_info": { "device_type": "", "device_name": "PORT2-CTRL", - "device_parent": "PORT-MUX1", + "device_parent": "PORT-MUX0", "virt_parent": "PORT2" }, "i2c": { "topo_info": { - "parent_bus": "0xc", + "parent_bus": "0x21", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x30", - "attr_mask": "0x2", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x60", - "attr_mask": "0x2", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x40", - "attr_mask": "0x2", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -1497,9 +1651,9 @@ "PORT3": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT3", - "device_parent": "PORT-MUX1" + "device_parent": "PORT-MUX0" }, "dev_attr": { "dev_idx": "3" @@ -1519,12 +1673,12 @@ "dev_info": { "device_type": "", "device_name": "PORT3-EEPROM", - "device_parent": "PORT-MUX1", + "device_parent": "PORT-MUX0", "virt_parent": "PORT3" }, "i2c": { "topo_info": { - "parent_bus": "0xd", + "parent_bus": "0x22", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -1538,49 +1692,51 @@ "dev_info": { "device_type": "", "device_name": "PORT3-CTRL", - "device_parent": "PORT-MUX1", + "device_parent": "PORT-MUX0", "virt_parent": "PORT3" }, "i2c": { "topo_info": { - "parent_bus": "0xd", + "parent_bus": "0x22", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x30", - "attr_mask": "0x4", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x60", - "attr_mask": "0x4", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x40", - "attr_mask": "0x4", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }] } }, - "PORT4": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT4", - "device_parent": "PORT-MUX1" + "device_parent": "PORT-MUX0" }, "dev_attr": { "dev_idx": "4" @@ -1600,12 +1756,12 @@ "dev_info": { "device_type": "", "device_name": "PORT4-EEPROM", - "device_parent": "PORT-MUX1", + "device_parent": "PORT-MUX0", "virt_parent": "PORT4" }, "i2c": { "topo_info": { - "parent_bus": "0xe", + "parent_bus": "0x23", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -1619,49 +1775,51 @@ "dev_info": { "device_type": "", "device_name": "PORT4-CTRL", - "device_parent": "PORT-MUX1", + "device_parent": "PORT-MUX0", "virt_parent": "PORT4" }, "i2c": { "topo_info": { - "parent_bus": "0xe", + "parent_bus": "0x23", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x30", - "attr_mask": "0x8", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x60", - "attr_mask": "0x8", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x40", - "attr_mask": "0x8", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }] } }, - "PORT5": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT5", - "device_parent": "PORT-MUX1" + "device_parent": "PORT-MUX0" }, "dev_attr": { "dev_idx": "5" @@ -1681,12 +1839,12 @@ "dev_info": { "device_type": "", "device_name": "PORT5-EEPROM", - "device_parent": "PORT-MUX1", + "device_parent": "PORT-MUX0", "virt_parent": "PORT5" }, "i2c": { "topo_info": { - "parent_bus": "0xf", + "parent_bus": "0x24", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -1700,49 +1858,51 @@ "dev_info": { "device_type": "", "device_name": "PORT5-CTRL", - "device_parent": "PORT-MUX1", + "device_parent": "PORT-MUX0", "virt_parent": "PORT5" }, "i2c": { "topo_info": { - "parent_bus": "0xf", + "parent_bus": "0x24", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x30", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x60", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x40", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }] } }, - "PORT6": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT6", - "device_parent": "PORT-MUX1" + "device_parent": "PORT-MUX0" }, "dev_attr": { "dev_idx": "6" @@ -1762,12 +1922,12 @@ "dev_info": { "device_type": "", "device_name": "PORT6-EEPROM", - "device_parent": "PORT-MUX1", + "device_parent": "PORT-MUX0", "virt_parent": "PORT6" }, "i2c": { "topo_info": { - "parent_bus": "0x10", + "parent_bus": "0x25", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -1781,37 +1941,40 @@ "dev_info": { "device_type": "", "device_name": "PORT6-CTRL", - "device_parent": "PORT-MUX1", + "device_parent": "PORT-MUX0", "virt_parent": "PORT6" }, "i2c": { "topo_info": { - "parent_bus": "0x10", + "parent_bus": "0x25", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x30", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x60", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x40", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -1820,9 +1983,9 @@ "PORT7": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT7", - "device_parent": "PORT-MUX1" + "device_parent": "PORT-MUX0" }, "dev_attr": { "dev_idx": "7" @@ -1842,12 +2005,12 @@ "dev_info": { "device_type": "", "device_name": "PORT7-EEPROM", - "device_parent": "PORT-MUX1", + "device_parent": "PORT-MUX0", "virt_parent": "PORT7" }, "i2c": { "topo_info": { - "parent_bus": "0x11", + "parent_bus": "0x26", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -1861,37 +2024,40 @@ "dev_info": { "device_type": "", "device_name": "PORT7-CTRL", - "device_parent": "PORT-MUX1", + "device_parent": "PORT-MUX0", "virt_parent": "PORT7" }, "i2c": { "topo_info": { - "parent_bus": "0x11", + "parent_bus": "0x26", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x30", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x60", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x40", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -1900,9 +2066,9 @@ "PORT8": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT8", - "device_parent": "PORT-MUX1" + "device_parent": "PORT-MUX0" }, "dev_attr": { "dev_idx": "8" @@ -1922,12 +2088,12 @@ "dev_info": { "device_type": "", "device_name": "PORT8-EEPROM", - "device_parent": "PORT-MUX1", + "device_parent": "PORT-MUX0", "virt_parent": "PORT8" }, "i2c": { "topo_info": { - "parent_bus": "0x12", + "parent_bus": "0x27", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -1941,37 +2107,40 @@ "dev_info": { "device_type": "", "device_name": "PORT8-CTRL", - "device_parent": "PORT-MUX1", + "device_parent": "PORT-MUX0", "virt_parent": "PORT8" }, "i2c": { "topo_info": { - "parent_bus": "0x12", + "parent_bus": "0x27", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x30", - "attr_mask": "0x80", + "attr_mask": "0x07", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x60", - "attr_mask": "0x80", + "attr_mask": "0x07", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x40", - "attr_mask": "0x80", + "attr_mask": "0x07", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -1980,9 +2149,9 @@ "PORT9": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT9", - "device_parent": "PORT-MUX2" + "device_parent": "PORT-MUX1" }, "dev_attr": { "dev_idx": "9" @@ -2002,12 +2171,12 @@ "dev_info": { "device_type": "", "device_name": "PORT9-EEPROM", - "device_parent": "PORT-MUX2", + "device_parent": "PORT-MUX1", "virt_parent": "PORT9" }, "i2c": { "topo_info": { - "parent_bus": "0x13", + "parent_bus": "0x28", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -2021,37 +2190,40 @@ "dev_info": { "device_type": "", "device_name": "PORT9-CTRL", - "device_parent": "PORT-MUX2", + "device_parent": "PORT-MUX1", "virt_parent": "PORT9" }, "i2c": { "topo_info": { - "parent_bus": "0x13", + "parent_bus": "0x28", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x31", - "attr_mask": "0x01", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x61", - "attr_mask": "0x01", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x41", - "attr_mask": "0x01", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -2060,9 +2232,9 @@ "PORT10": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT10", - "device_parent": "PORT-MUX2" + "device_parent": "PORT-MUX1" }, "dev_attr": { "dev_idx": "10" @@ -2082,12 +2254,12 @@ "dev_info": { "device_type": "", "device_name": "PORT10-EEPROM", - "device_parent": "PORT-MUX2", + "device_parent": "PORT-MUX1", "virt_parent": "PORT10" }, "i2c": { "topo_info": { - "parent_bus": "0x14", + "parent_bus": "0x29", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -2101,37 +2273,40 @@ "dev_info": { "device_type": "", "device_name": "PORT10-CTRL", - "device_parent": "PORT-MUX2", + "device_parent": "PORT-MUX1", "virt_parent": "PORT10" }, "i2c": { "topo_info": { - "parent_bus": "0x14", + "parent_bus": "0x29", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x31", - "attr_mask": "0x02", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x61", - "attr_mask": "0x02", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x41", - "attr_mask": "0x02", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -2141,9 +2316,9 @@ "PORT11": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT11", - "device_parent": "PORT-MUX2" + "device_parent": "PORT-MUX1" }, "dev_attr": { "dev_idx": "11" @@ -2163,12 +2338,12 @@ "dev_info": { "device_type": "", "device_name": "PORT11-EEPROM", - "device_parent": "PORT-MUX2", + "device_parent": "PORT-MUX1", "virt_parent": "PORT11" }, "i2c": { "topo_info": { - "parent_bus": "0x15", + "parent_bus": "0x2a", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -2182,37 +2357,40 @@ "dev_info": { "device_type": "", "device_name": "PORT11-CTRL", - "device_parent": "PORT-MUX2", + "device_parent": "PORT-MUX1", "virt_parent": "PORT11" }, "i2c": { "topo_info": { - "parent_bus": "0x15", + "parent_bus": "0x2a", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x31", - "attr_mask": "0x04", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x61", - "attr_mask": "0x04", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x41", - "attr_mask": "0x04", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -2222,9 +2400,9 @@ "PORT12": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT12", - "device_parent": "PORT-MUX2" + "device_parent": "PORT-MUX1" }, "dev_attr": { "dev_idx": "12" @@ -2244,12 +2422,12 @@ "dev_info": { "device_type": "", "device_name": "PORT12-EEPROM", - "device_parent": "PORT-MUX2", + "device_parent": "PORT-MUX1", "virt_parent": "PORT12" }, "i2c": { "topo_info": { - "parent_bus": "0x16", + "parent_bus": "0x2b", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -2263,37 +2441,40 @@ "dev_info": { "device_type": "", "device_name": "PORT12-CTRL", - "device_parent": "PORT-MUX2", + "device_parent": "PORT-MUX1", "virt_parent": "PORT12" }, "i2c": { "topo_info": { - "parent_bus": "0x16", + "parent_bus": "0x2b", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x31", - "attr_mask": "0x08", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x61", - "attr_mask": "0x08", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x41", - "attr_mask": "0x08", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -2303,9 +2484,9 @@ "PORT13": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT13", - "device_parent": "PORT-MUX2" + "device_parent": "PORT-MUX1" }, "dev_attr": { "dev_idx": "13" @@ -2325,12 +2506,12 @@ "dev_info": { "device_type": "", "device_name": "PORT13-EEPROM", - "device_parent": "PORT-MUX2", + "device_parent": "PORT-MUX1", "virt_parent": "PORT13" }, "i2c": { "topo_info": { - "parent_bus": "0x17", + "parent_bus": "0x2c", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -2344,37 +2525,40 @@ "dev_info": { "device_type": "", "device_name": "PORT13-CTRL", - "device_parent": "PORT-MUX2", + "device_parent": "PORT-MUX1", "virt_parent": "PORT13" }, "i2c": { "topo_info": { - "parent_bus": "0x17", + "parent_bus": "0x2c", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x31", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x61", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x41", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -2384,9 +2568,9 @@ "PORT14": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT14", - "device_parent": "PORT-MUX2" + "device_parent": "PORT-MUX1" }, "dev_attr": { "dev_idx": "14" @@ -2406,12 +2590,12 @@ "dev_info": { "device_type": "", "device_name": "PORT14-EEPROM", - "device_parent": "PORT-MUX2", + "device_parent": "PORT-MUX1", "virt_parent": "PORT14" }, "i2c": { "topo_info": { - "parent_bus": "0x18", + "parent_bus": "0x2d", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -2425,37 +2609,40 @@ "dev_info": { "device_type": "", "device_name": "PORT14-CTRL", - "device_parent": "PORT-MUX2", + "device_parent": "PORT-MUX1", "virt_parent": "PORT14" }, "i2c": { "topo_info": { - "parent_bus": "0x18", + "parent_bus": "0x2d", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x31", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x61", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x41", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -2464,9 +2651,9 @@ "PORT15": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT15", - "device_parent": "PORT-MUX2" + "device_parent": "PORT-MUX1" }, "dev_attr": { "dev_idx": "15" @@ -2486,12 +2673,12 @@ "dev_info": { "device_type": "", "device_name": "PORT15-EEPROM", - "device_parent": "PORT-MUX2", + "device_parent": "PORT-MUX1", "virt_parent": "PORT15" }, "i2c": { "topo_info": { - "parent_bus": "0x19", + "parent_bus": "0x2e", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -2505,37 +2692,40 @@ "dev_info": { "device_type": "", "device_name": "PORT15-CTRL", - "device_parent": "PORT-MUX2", + "device_parent": "PORT-MUX1", "virt_parent": "PORT15" }, "i2c": { "topo_info": { - "parent_bus": "0x19", + "parent_bus": "0x2e", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x31", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x61", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x41", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -2544,9 +2734,9 @@ "PORT16": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT16", - "device_parent": "PORT-MUX2" + "device_parent": "PORT-MUX1" }, "dev_attr": { "dev_idx": "16" @@ -2566,12 +2756,12 @@ "dev_info": { "device_type": "", "device_name": "PORT16-EEPROM", - "device_parent": "PORT-MUX2", + "device_parent": "PORT-MUX1", "virt_parent": "PORT16" }, "i2c": { "topo_info": { - "parent_bus": "0x1a", + "parent_bus": "0x2f", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -2585,37 +2775,40 @@ "dev_info": { "device_type": "", "device_name": "PORT16-CTRL", - "device_parent": "PORT-MUX2", + "device_parent": "PORT-MUX1", "virt_parent": "PORT16" }, "i2c": { "topo_info": { - "parent_bus": "0x1a", + "parent_bus": "0x2f", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x31", - "attr_mask": "0x80", + "attr_mask": "0x07", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x61", - "attr_mask": "0x80", + "attr_mask": "0x07", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x41", - "attr_mask": "0x80", + "attr_mask": "0x07", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -2624,9 +2817,9 @@ "PORT17": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT17", - "device_parent": "PORT-MUX3" + "device_parent": "PORT-MUX2" }, "dev_attr": { "dev_idx": "17" @@ -2646,12 +2839,12 @@ "dev_info": { "device_type": "", "device_name": "PORT17-EEPROM", - "device_parent": "PORT-MUX3", + "device_parent": "PORT-MUX2", "virt_parent": "PORT17" }, "i2c": { "topo_info": { - "parent_bus": "0x1b", + "parent_bus": "0x30", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -2665,37 +2858,40 @@ "dev_info": { "device_type": "", "device_name": "PORT17-CTRL", - "device_parent": "PORT-MUX3", + "device_parent": "PORT-MUX2", "virt_parent": "PORT17" }, "i2c": { "topo_info": { - "parent_bus": "0x1b", + "parent_bus": "0x30", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x32", - "attr_mask": "0x01", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x62", - "attr_mask": "0x01", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x42", - "attr_mask": "0x01", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -2704,9 +2900,9 @@ "PORT18": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT18", - "device_parent": "PORT-MUX3" + "device_parent": "PORT-MUX2" }, "dev_attr": { "dev_idx": "18" @@ -2726,12 +2922,12 @@ "dev_info": { "device_type": "", "device_name": "PORT18-EEPROM", - "device_parent": "PORT-MUX3", + "device_parent": "PORT-MUX2", "virt_parent": "PORT18" }, "i2c": { "topo_info": { - "parent_bus": "0x1c", + "parent_bus": "0x31", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -2745,37 +2941,40 @@ "dev_info": { "device_type": "", "device_name": "PORT18-CTRL", - "device_parent": "PORT-MUX3", + "device_parent": "PORT-MUX2", "virt_parent": "PORT18" }, "i2c": { "topo_info": { - "parent_bus": "0x1c", + "parent_bus": "0x31", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x32", - "attr_mask": "0x02", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x62", - "attr_mask": "0x02", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x42", - "attr_mask": "0x02", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -2785,9 +2984,9 @@ "PORT19": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT19", - "device_parent": "PORT-MUX3" + "device_parent": "PORT-MUX2" }, "dev_attr": { "dev_idx": "19" @@ -2807,12 +3006,12 @@ "dev_info": { "device_type": "", "device_name": "PORT19-EEPROM", - "device_parent": "PORT-MUX3", + "device_parent": "PORT-MUX2", "virt_parent": "PORT19" }, "i2c": { "topo_info": { - "parent_bus": "0x1d", + "parent_bus": "0x32", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -2826,37 +3025,40 @@ "dev_info": { "device_type": "", "device_name": "PORT19-CTRL", - "device_parent": "PORT-MUX3", + "device_parent": "PORT-MUX2", "virt_parent": "PORT19" }, "i2c": { "topo_info": { - "parent_bus": "0x1d", + "parent_bus": "0x32", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x32", - "attr_mask": "0x04", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x62", - "attr_mask": "0x04", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x42", - "attr_mask": "0x04", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -2866,9 +3068,9 @@ "PORT20": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT20", - "device_parent": "PORT-MUX3" + "device_parent": "PORT-MUX2" }, "dev_attr": { "dev_idx": "20" @@ -2888,12 +3090,12 @@ "dev_info": { "device_type": "", "device_name": "PORT20-EEPROM", - "device_parent": "PORT-MUX3", + "device_parent": "PORT-MUX2", "virt_parent": "PORT20" }, "i2c": { "topo_info": { - "parent_bus": "0x1e", + "parent_bus": "0x33", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -2907,37 +3109,40 @@ "dev_info": { "device_type": "", "device_name": "PORT20-CTRL", - "device_parent": "PORT-MUX3", + "device_parent": "PORT-MUX2", "virt_parent": "PORT20" }, "i2c": { "topo_info": { - "parent_bus": "0x1e", + "parent_bus": "0x33", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x32", - "attr_mask": "0x08", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x62", - "attr_mask": "0x08", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x42", - "attr_mask": "0x08", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -2947,9 +3152,9 @@ "PORT21": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT21", - "device_parent": "PORT-MUX3" + "device_parent": "PORT-MUX2" }, "dev_attr": { "dev_idx": "21" @@ -2969,12 +3174,12 @@ "dev_info": { "device_type": "", "device_name": "PORT21-EEPROM", - "device_parent": "PORT-MUX3", + "device_parent": "PORT-MUX2", "virt_parent": "PORT21" }, "i2c": { "topo_info": { - "parent_bus": "0x1f", + "parent_bus": "0x34", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -2988,37 +3193,40 @@ "dev_info": { "device_type": "", "device_name": "PORT21-CTRL", - "device_parent": "PORT-MUX3", + "device_parent": "PORT-MUX2", "virt_parent": "PORT21" }, "i2c": { "topo_info": { - "parent_bus": "0x1f", + "parent_bus": "0x34", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x32", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x62", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x42", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -3028,9 +3236,9 @@ "PORT22": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT22", - "device_parent": "PORT-MUX3" + "device_parent": "PORT-MUX2" }, "dev_attr": { "dev_idx": "22" @@ -3050,12 +3258,12 @@ "dev_info": { "device_type": "", "device_name": "PORT22-EEPROM", - "device_parent": "PORT-MUX3", + "device_parent": "PORT-MUX2", "virt_parent": "PORT22" }, "i2c": { "topo_info": { - "parent_bus": "0x20", + "parent_bus": "0x35", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -3069,37 +3277,40 @@ "dev_info": { "device_type": "", "device_name": "PORT22-CTRL", - "device_parent": "PORT-MUX3", + "device_parent": "PORT-MUX2", "virt_parent": "PORT22" }, "i2c": { "topo_info": { - "parent_bus": "0x20", + "parent_bus": "0x35", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x32", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x62", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x42", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -3108,9 +3319,9 @@ "PORT23": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT23", - "device_parent": "PORT-MUX3" + "device_parent": "PORT-MUX2" }, "dev_attr": { "dev_idx": "23" @@ -3130,12 +3341,12 @@ "dev_info": { "device_type": "", "device_name": "PORT23-EEPROM", - "device_parent": "PORT-MUX3", + "device_parent": "PORT-MUX2", "virt_parent": "PORT23" }, "i2c": { "topo_info": { - "parent_bus": "0x21", + "parent_bus": "0x36", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -3149,37 +3360,40 @@ "dev_info": { "device_type": "", "device_name": "PORT23-CTRL", - "device_parent": "PORT-MUX3", + "device_parent": "PORT-MUX2", "virt_parent": "PORT23" }, "i2c": { "topo_info": { - "parent_bus": "0x21", + "parent_bus": "0x36", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x32", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x62", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x42", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -3188,9 +3402,9 @@ "PORT24": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT24", - "device_parent": "PORT-MUX3" + "device_parent": "PORT-MUX2" }, "dev_attr": { "dev_idx": "24" @@ -3210,12 +3424,12 @@ "dev_info": { "device_type": "", "device_name": "PORT24-EEPROM", - "device_parent": "PORT-MUX3", + "device_parent": "PORT-MUX2", "virt_parent": "PORT24" }, "i2c": { "topo_info": { - "parent_bus": "0x22", + "parent_bus": "0x37", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -3229,37 +3443,40 @@ "dev_info": { "device_type": "", "device_name": "PORT24-CTRL", - "device_parent": "PORT-MUX3", + "device_parent": "PORT-MUX2", "virt_parent": "PORT24" }, "i2c": { "topo_info": { - "parent_bus": "0x22", + "parent_bus": "0x37", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x32", - "attr_mask": "0x80", + "attr_mask": "0x07", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x62", - "attr_mask": "0x80", + "attr_mask": "0x07", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x34", + "attr_devname": "MAC_BOARD_CPLD1", + "attr_devaddr": "0x30", "attr_devtype": "cpld", "attr_offset": "0x42", - "attr_mask": "0x80", + "attr_mask": "0x07", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -3268,9 +3485,9 @@ "PORT25": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT25", - "device_parent": "PORT-MUX4" + "device_parent": "PORT-MUX3" }, "dev_attr": { "dev_idx": "25" @@ -3290,12 +3507,12 @@ "dev_info": { "device_type": "", "device_name": "PORT25-EEPROM", - "device_parent": "PORT-MUX4", + "device_parent": "PORT-MUX3", "virt_parent": "PORT25" }, "i2c": { "topo_info": { - "parent_bus": "0x23", + "parent_bus": "0x38", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -3309,37 +3526,40 @@ "dev_info": { "device_type": "", "device_name": "PORT25-CTRL", - "device_parent": "PORT-MUX4", + "device_parent": "PORT-MUX3", "virt_parent": "PORT25" }, "i2c": { "topo_info": { - "parent_bus": "0x23", + "parent_bus": "0x38", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x30", - "attr_mask": "0x01", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x60", - "attr_mask": "0x01", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x40", - "attr_mask": "0x01", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -3348,9 +3568,9 @@ "PORT26": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT26", - "device_parent": "PORT-MUX4" + "device_parent": "PORT-MUX3" }, "dev_attr": { "dev_idx": "26" @@ -3370,12 +3590,12 @@ "dev_info": { "device_type": "", "device_name": "PORT26-EEPROM", - "device_parent": "PORT-MUX4", + "device_parent": "PORT-MUX3", "virt_parent": "PORT26" }, "i2c": { "topo_info": { - "parent_bus": "0x24", + "parent_bus": "0x39", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -3389,37 +3609,40 @@ "dev_info": { "device_type": "", "device_name": "PORT26-CTRL", - "device_parent": "PORT-MUX4", + "device_parent": "PORT-MUX3", "virt_parent": "PORT26" }, "i2c": { "topo_info": { - "parent_bus": "0x24", + "parent_bus": "0x39", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x30", - "attr_mask": "0x02", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x60", - "attr_mask": "0x02", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x40", - "attr_mask": "0x02", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -3429,9 +3652,9 @@ "PORT27": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT27", - "device_parent": "PORT-MUX4" + "device_parent": "PORT-MUX3" }, "dev_attr": { "dev_idx": "27" @@ -3451,12 +3674,12 @@ "dev_info": { "device_type": "", "device_name": "PORT27-EEPROM", - "device_parent": "PORT-MUX4", + "device_parent": "PORT-MUX3", "virt_parent": "PORT27" }, "i2c": { "topo_info": { - "parent_bus": "0x25", + "parent_bus": "0x3a", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -3470,37 +3693,40 @@ "dev_info": { "device_type": "", "device_name": "PORT27-CTRL", - "device_parent": "PORT-MUX4", + "device_parent": "PORT-MUX3", "virt_parent": "PORT27" }, "i2c": { "topo_info": { - "parent_bus": "0x25", + "parent_bus": "0x3a", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x30", - "attr_mask": "0x04", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x60", - "attr_mask": "0x04", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x40", - "attr_mask": "0x04", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -3510,9 +3736,9 @@ "PORT28": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT28", - "device_parent": "PORT-MUX4" + "device_parent": "PORT-MUX3" }, "dev_attr": { "dev_idx": "28" @@ -3532,12 +3758,12 @@ "dev_info": { "device_type": "", "device_name": "PORT28-EEPROM", - "device_parent": "PORT-MUX4", + "device_parent": "PORT-MUX3", "virt_parent": "PORT28" }, "i2c": { "topo_info": { - "parent_bus": "0x26", + "parent_bus": "0x3b", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -3551,37 +3777,40 @@ "dev_info": { "device_type": "", "device_name": "PORT28-CTRL", - "device_parent": "PORT-MUX4", + "device_parent": "PORT-MUX3", "virt_parent": "PORT28" }, "i2c": { "topo_info": { - "parent_bus": "0x26", + "parent_bus": "0x3b", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x30", - "attr_mask": "0x08", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x60", - "attr_mask": "0x08", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x40", - "attr_mask": "0x08", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -3591,9 +3820,9 @@ "PORT29": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT29", - "device_parent": "PORT-MUX4" + "device_parent": "PORT-MUX3" }, "dev_attr": { "dev_idx": "29" @@ -3613,12 +3842,12 @@ "dev_info": { "device_type": "", "device_name": "PORT29-EEPROM", - "device_parent": "PORT-MUX4", + "device_parent": "PORT-MUX3", "virt_parent": "PORT29" }, "i2c": { "topo_info": { - "parent_bus": "0x27", + "parent_bus": "0x3c", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -3632,37 +3861,40 @@ "dev_info": { "device_type": "", "device_name": "PORT29-CTRL", - "device_parent": "PORT-MUX4", + "device_parent": "PORT-MUX3", "virt_parent": "PORT29" }, "i2c": { "topo_info": { - "parent_bus": "0x27", + "parent_bus": "0x3c", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x30", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x60", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x40", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -3672,9 +3904,9 @@ "PORT30": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT30", - "device_parent": "PORT-MUX4" + "device_parent": "PORT-MUX3" }, "dev_attr": { "dev_idx": "30" @@ -3694,12 +3926,12 @@ "dev_info": { "device_type": "", "device_name": "PORT30-EEPROM", - "device_parent": "PORT-MUX4", + "device_parent": "PORT-MUX3", "virt_parent": "PORT30" }, "i2c": { "topo_info": { - "parent_bus": "0x28", + "parent_bus": "0x3d", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -3713,37 +3945,40 @@ "dev_info": { "device_type": "", "device_name": "PORT30-CTRL", - "device_parent": "PORT-MUX4", + "device_parent": "PORT-MUX3", "virt_parent": "PORT30" }, "i2c": { "topo_info": { - "parent_bus": "0x28", + "parent_bus": "0x3d", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x30", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x60", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x40", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -3752,9 +3987,9 @@ "PORT31": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT31", - "device_parent": "PORT-MUX4" + "device_parent": "PORT-MUX3" }, "dev_attr": { "dev_idx": "31" @@ -3774,12 +4009,12 @@ "dev_info": { "device_type": "", "device_name": "PORT31-EEPROM", - "device_parent": "PORT-MUX4", + "device_parent": "PORT-MUX3", "virt_parent": "PORT31" }, "i2c": { "topo_info": { - "parent_bus": "0x29", + "parent_bus": "0x3e", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -3793,37 +4028,40 @@ "dev_info": { "device_type": "", "device_name": "PORT31-CTRL", - "device_parent": "PORT-MUX4", + "device_parent": "PORT-MUX3", "virt_parent": "PORT31" }, "i2c": { "topo_info": { - "parent_bus": "0x29", + "parent_bus": "0x3e", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x30", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x60", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x40", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -3832,9 +4070,9 @@ "PORT32": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP", "device_name": "PORT32", - "device_parent": "PORT-MUX4" + "device_parent": "PORT-MUX3" }, "dev_attr": { "dev_idx": "32" @@ -3854,12 +4092,12 @@ "dev_info": { "device_type": "", "device_name": "PORT32-EEPROM", - "device_parent": "PORT-MUX4", + "device_parent": "PORT-MUX3", "virt_parent": "PORT32" }, "i2c": { "topo_info": { - "parent_bus": "0x2a", + "parent_bus": "0x3f", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -3869,52 +4107,232 @@ } }, - "PORT32-CTRL": { + "PORT32-CTRL": { + "dev_info": { + "device_type": "", + "device_name": "PORT32-CTRL", + "device_parent": "PORT-MUX3", + "virt_parent": "PORT32" + }, + "i2c": { + "topo_info": { + "parent_bus": "0x3f", + "dev_addr": "0x53", + "dev_type": "pddf_xcvr" + }, + "attr_list": [{ + "attr_name": "xcvr_present", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", + "attr_devtype": "cpld", + "attr_offset": "0x30", + "attr_mask": "0x07", + "attr_cmpval": "0x0", + "attr_len": "1" + }, { + "attr_name": "xcvr_txdisable", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", + "attr_devtype": "cpld", + "attr_offset": "0x60", + "attr_mask": "0x07", + "attr_cmpval": "0x0", + "attr_len": "1" + }, { + "attr_name": "xcvr_intr_status", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", + "attr_devtype": "cpld", + "attr_offset": "0x40", + "attr_mask": "0x07", + "attr_cmpval": "0x0", + "attr_len": "1" + }] + } + }, + + "FPGA-OCORE11": { + "dev_info": { + "device_type": "FPGA-OCORE", + "device_name": "FPGA-OCORE11", + "device_parent": "SYSTEM" + }, + "i2c": { + "topo_info": { + "dev_addr": "0xd" + }, + "DEVICES": [ + { + "dev": "PORT-MUX4" + }, + { + "dev": "PORT-MUX5" + }, + { + "dev": "PORT-MUX6" + } + ] + } + }, + + "PORT-MUX4": { + "dev_info": { + "device_type": "MUX", + "device_name": "PORT-MUX4", + "device_parent": "FPGA-OCORE10" + }, + "i2c": { + "topo_info": { + "parent_bus": "0xd", + "dev_addr": "0x70", + "dev_type": "pca9548" + }, + "dev_attr": { + "virt_bus": "0x40" + }, + "channel": [{ + "chn": "0", + "dev": "PORT33" + }, + { + "chn": "1", + "dev": "PORT34" + }, + { + "chn": "2", + "dev": "PORT35" + }, + { + "chn": "3", + "dev": "PORT36" + }, + { + "chn": "4", + "dev": "PORT37" + }, + { + "chn": "5", + "dev": "PORT38" + }, + { + "chn": "6", + "dev": "PORT39" + }, + { + "chn": "7", + "dev": "PORT40" + } + ] + } + }, + + "PORT-MUX5": { + "dev_info": { + "device_type": "MUX", + "device_name": "PORT-MUX5", + "device_parent": "FPGA-OCORE10" + }, + "i2c": { + "topo_info": { + "parent_bus": "0xd", + "dev_addr": "0x71", + "dev_type": "pca9548" + }, + "dev_attr": { + "virt_bus": "0x48" + }, + "channel": [{ + "chn": "0", + "dev": "PORT41" + }, + { + "chn": "1", + "dev": "PORT42" + }, + { + "chn": "2", + "dev": "PORT43" + }, + { + "chn": "3", + "dev": "PORT44" + }, + { + "chn": "4", + "dev": "PORT45" + }, + { + "chn": "5", + "dev": "PORT46" + }, + { + "chn": "6", + "dev": "PORT47" + }, + { + "chn": "7", + "dev": "PORT48" + } + ] + } + }, + + "PORT-MUX6": { "dev_info": { - "device_type": "", - "device_name": "PORT32-CTRL", - "device_parent": "PORT-MUX4", - "virt_parent": "PORT32" + "device_type": "MUX", + "device_name": "PORT-MUX6", + "device_parent": "FPGA-OCORE10" }, "i2c": { "topo_info": { - "parent_bus": "0x2a", - "dev_addr": "0x53", - "dev_type": "pddf_xcvr" + "parent_bus": "0xd", + "dev_addr": "0x72", + "dev_type": "pca9548" }, - "attr_list": [{ - "attr_name": "xcvr_present", - "attr_devaddr": "0x36", - "attr_devtype": "cpld", - "attr_offset": "0x30", - "attr_mask": "0x80", - "attr_cmpval": "0x0", - "attr_len": "1" - }, { - "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", - "attr_devtype": "cpld", - "attr_offset": "0x60", - "attr_mask": "0x80", - "attr_cmpval": "0x0", - "attr_len": "1" - }, { - "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", - "attr_devtype": "cpld", - "attr_offset": "0x40", - "attr_mask": "0x80", - "attr_cmpval": "0x0", - "attr_len": "1" - }] + "dev_attr": { + "virt_bus": "0x50" + }, + "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" + } + ] } }, "PORT33": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP28", "device_name": "PORT33", - "device_parent": "PORT-MUX5" + "device_parent": "PORT-MUX4" }, "dev_attr": { "dev_idx": "33" @@ -3934,12 +4352,12 @@ "dev_info": { "device_type": "", "device_name": "PORT33-EEPROM", - "device_parent": "PORT-MUX5", - "virt_parent": "PORT33" + "device_parent": "PORT-MUX4", + "virt_parent": "PORT21" }, "i2c": { "topo_info": { - "parent_bus": "0x2b", + "parent_bus": "0x40", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -3953,37 +4371,40 @@ "dev_info": { "device_type": "", "device_name": "PORT33-CTRL", - "device_parent": "PORT-MUX5", + "device_parent": "PORT-MUX4", "virt_parent": "PORT33" }, "i2c": { "topo_info": { - "parent_bus": "0x2b", + "parent_bus": "0x40", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x31", - "attr_mask": "0x01", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x61", - "attr_mask": "0x01", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x41", - "attr_mask": "0x01", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -3992,9 +4413,9 @@ "PORT34": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP28", "device_name": "PORT34", - "device_parent": "PORT-MUX5" + "device_parent": "PORT-MUX4" }, "dev_attr": { "dev_idx": "34" @@ -4014,12 +4435,12 @@ "dev_info": { "device_type": "", "device_name": "PORT34-EEPROM", - "device_parent": "PORT-MUX5", + "device_parent": "PORT-MUX4", "virt_parent": "PORT34" }, "i2c": { "topo_info": { - "parent_bus": "0x2c", + "parent_bus": "0x41", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -4033,37 +4454,40 @@ "dev_info": { "device_type": "", "device_name": "PORT34-CTRL", - "device_parent": "PORT-MUX5", + "device_parent": "PORT-MUX4", "virt_parent": "PORT34" }, "i2c": { "topo_info": { - "parent_bus": "0x2c", + "parent_bus": "0x41", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x31", - "attr_mask": "0x02", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x61", - "attr_mask": "0x02", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x41", - "attr_mask": "0x02", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -4073,9 +4497,9 @@ "PORT35": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP28", "device_name": "PORT35", - "device_parent": "PORT-MUX5" + "device_parent": "PORT-MUX4" }, "dev_attr": { "dev_idx": "35" @@ -4095,12 +4519,12 @@ "dev_info": { "device_type": "", "device_name": "PORT35-EEPROM", - "device_parent": "PORT-MUX5", + "device_parent": "PORT-MUX4", "virt_parent": "PORT35" }, "i2c": { "topo_info": { - "parent_bus": "0x2d", + "parent_bus": "0x42", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -4114,37 +4538,40 @@ "dev_info": { "device_type": "", "device_name": "PORT35-CTRL", - "device_parent": "PORT-MUX5", + "device_parent": "PORT-MUX4", "virt_parent": "PORT35" }, "i2c": { "topo_info": { - "parent_bus": "0x2d", + "parent_bus": "0x42", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x31", - "attr_mask": "0x04", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x61", - "attr_mask": "0x04", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x41", - "attr_mask": "0x04", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -4154,9 +4581,9 @@ "PORT36": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP28", "device_name": "PORT36", - "device_parent": "PORT-MUX5" + "device_parent": "PORT-MUX4" }, "dev_attr": { "dev_idx": "36" @@ -4176,12 +4603,12 @@ "dev_info": { "device_type": "", "device_name": "PORT36-EEPROM", - "device_parent": "PORT-MUX5", + "device_parent": "PORT-MUX4", "virt_parent": "PORT36" }, "i2c": { "topo_info": { - "parent_bus": "0x2e", + "parent_bus": "0x43", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -4195,37 +4622,40 @@ "dev_info": { "device_type": "", "device_name": "PORT36-CTRL", - "device_parent": "PORT-MUX5", + "device_parent": "PORT-MUX4", "virt_parent": "PORT36" }, "i2c": { "topo_info": { - "parent_bus": "0x2e", + "parent_bus": "0x43", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x31", - "attr_mask": "0x08", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x61", - "attr_mask": "0x08", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x41", - "attr_mask": "0x08", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -4235,9 +4665,9 @@ "PORT37": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP28", "device_name": "PORT37", - "device_parent": "PORT-MUX5" + "device_parent": "PORT-MUX4" }, "dev_attr": { "dev_idx": "37" @@ -4257,12 +4687,12 @@ "dev_info": { "device_type": "", "device_name": "PORT37-EEPROM", - "device_parent": "PORT-MUX5", + "device_parent": "PORT-MUX4", "virt_parent": "PORT37" }, "i2c": { "topo_info": { - "parent_bus": "0x2f", + "parent_bus": "0x44", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -4276,37 +4706,40 @@ "dev_info": { "device_type": "", "device_name": "PORT37-CTRL", - "device_parent": "PORT-MUX5", + "device_parent": "PORT-MUX4", "virt_parent": "PORT37" }, "i2c": { "topo_info": { - "parent_bus": "0x2f", + "parent_bus": "0x44", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x31", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x61", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x41", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -4316,9 +4749,9 @@ "PORT38": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP28", "device_name": "PORT38", - "device_parent": "PORT-MUX5" + "device_parent": "PORT-MUX4" }, "dev_attr": { "dev_idx": "38" @@ -4338,12 +4771,12 @@ "dev_info": { "device_type": "", "device_name": "PORT38-EEPROM", - "device_parent": "PORT-MUX5", + "device_parent": "PORT-MUX4", "virt_parent": "PORT38" }, "i2c": { "topo_info": { - "parent_bus": "0x30", + "parent_bus": "0x45", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -4357,37 +4790,40 @@ "dev_info": { "device_type": "", "device_name": "PORT38-CTRL", - "device_parent": "PORT-MUX5", + "device_parent": "PORT-MUX4", "virt_parent": "PORT38" }, "i2c": { "topo_info": { - "parent_bus": "0x30", + "parent_bus": "0x45", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x31", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x61", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x41", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -4396,9 +4832,9 @@ "PORT39": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP28", "device_name": "PORT39", - "device_parent": "PORT-MUX5" + "device_parent": "PORT-MUX4" }, "dev_attr": { "dev_idx": "39" @@ -4418,12 +4854,12 @@ "dev_info": { "device_type": "", "device_name": "PORT39-EEPROM", - "device_parent": "PORT-MUX5", + "device_parent": "PORT-MUX4", "virt_parent": "PORT39" }, "i2c": { "topo_info": { - "parent_bus": "0x31", + "parent_bus": "0x46", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -4437,37 +4873,40 @@ "dev_info": { "device_type": "", "device_name": "PORT39-CTRL", - "device_parent": "PORT-MUX5", + "device_parent": "PORT-MUX4", "virt_parent": "PORT39" }, "i2c": { "topo_info": { - "parent_bus": "0x31", + "parent_bus": "0x46", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x31", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x61", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x41", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -4476,9 +4915,9 @@ "PORT40": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP28", "device_name": "PORT40", - "device_parent": "PORT-MUX5" + "device_parent": "PORT-MUX4" }, "dev_attr": { "dev_idx": "40" @@ -4498,12 +4937,12 @@ "dev_info": { "device_type": "", "device_name": "PORT40-EEPROM", - "device_parent": "PORT-MUX5", + "device_parent": "PORT-MUX4", "virt_parent": "PORT40" }, "i2c": { "topo_info": { - "parent_bus": "0x32", + "parent_bus": "0x47", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -4517,37 +4956,40 @@ "dev_info": { "device_type": "", "device_name": "PORT40-CTRL", - "device_parent": "PORT-MUX5", + "device_parent": "PORT-MUX4", "virt_parent": "PORT40" }, "i2c": { "topo_info": { - "parent_bus": "0x32", + "parent_bus": "0x47", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x31", - "attr_mask": "0x80", + "attr_mask": "0x07", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x61", - "attr_mask": "0x80", + "attr_mask": "0x07", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x41", - "attr_mask": "0x80", + "attr_mask": "0x07", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -4556,9 +4998,9 @@ "PORT41": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP28", "device_name": "PORT41", - "device_parent": "PORT-MUX6" + "device_parent": "PORT-MUX5" }, "dev_attr": { "dev_idx": "41" @@ -4578,12 +5020,12 @@ "dev_info": { "device_type": "", "device_name": "PORT41-EEPROM", - "device_parent": "PORT-MUX6", + "device_parent": "PORT-MUX5", "virt_parent": "PORT41" }, "i2c": { "topo_info": { - "parent_bus": "0x33", + "parent_bus": "0x48", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -4597,37 +5039,40 @@ "dev_info": { "device_type": "", "device_name": "PORT41-CTRL", - "device_parent": "PORT-MUX6", + "device_parent": "PORT-MUX5", "virt_parent": "PORT41" }, "i2c": { "topo_info": { - "parent_bus": "0x33", + "parent_bus": "0x48", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x32", - "attr_mask": "0x01", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x62", - "attr_mask": "0x01", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x42", - "attr_mask": "0x01", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -4636,9 +5081,9 @@ "PORT42": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP28", "device_name": "PORT42", - "device_parent": "PORT-MUX6" + "device_parent": "PORT-MUX5" }, "dev_attr": { "dev_idx": "42" @@ -4658,12 +5103,12 @@ "dev_info": { "device_type": "", "device_name": "PORT42-EEPROM", - "device_parent": "PORT-MUX6", + "device_parent": "PORT-MUX5", "virt_parent": "PORT42" }, "i2c": { "topo_info": { - "parent_bus": "0x34", + "parent_bus": "0x49", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -4677,37 +5122,40 @@ "dev_info": { "device_type": "", "device_name": "PORT42-CTRL", - "device_parent": "PORT-MUX6", + "device_parent": "PORT-MUX5", "virt_parent": "PORT42" }, "i2c": { "topo_info": { - "parent_bus": "0x34", + "parent_bus": "0x49", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x32", - "attr_mask": "0x02", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x62", - "attr_mask": "0x02", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x42", - "attr_mask": "0x02", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -4717,9 +5165,9 @@ "PORT43": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP28", "device_name": "PORT43", - "device_parent": "PORT-MUX6" + "device_parent": "PORT-MUX5" }, "dev_attr": { "dev_idx": "43" @@ -4739,12 +5187,12 @@ "dev_info": { "device_type": "", "device_name": "PORT43-EEPROM", - "device_parent": "PORT-MUX6", + "device_parent": "PORT-MUX5", "virt_parent": "PORT43" }, "i2c": { "topo_info": { - "parent_bus": "0x35", + "parent_bus": "0x4a", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -4758,37 +5206,40 @@ "dev_info": { "device_type": "", "device_name": "PORT43-CTRL", - "device_parent": "PORT-MUX6", + "device_parent": "PORT-MUX5", "virt_parent": "PORT43" }, "i2c": { "topo_info": { - "parent_bus": "0x35", + "parent_bus": "0x4a", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x32", - "attr_mask": "0x04", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x62", - "attr_mask": "0x04", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x42", - "attr_mask": "0x04", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -4798,9 +5249,9 @@ "PORT44": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP28", "device_name": "PORT44", - "device_parent": "PORT-MUX6" + "device_parent": "PORT-MUX5" }, "dev_attr": { "dev_idx": "44" @@ -4820,12 +5271,12 @@ "dev_info": { "device_type": "", "device_name": "PORT44-EEPROM", - "device_parent": "PORT-MUX6", + "device_parent": "PORT-MUX5", "virt_parent": "PORT44" }, "i2c": { "topo_info": { - "parent_bus": "0x36", + "parent_bus": "0x4b", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -4839,37 +5290,40 @@ "dev_info": { "device_type": "", "device_name": "PORT44-CTRL", - "device_parent": "PORT-MUX6", + "device_parent": "PORT-MUX5", "virt_parent": "PORT44" }, "i2c": { "topo_info": { - "parent_bus": "0x36", + "parent_bus": "0x4b", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x32", - "attr_mask": "0x08", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x62", - "attr_mask": "0x08", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x42", - "attr_mask": "0x08", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -4879,9 +5333,9 @@ "PORT45": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP28", "device_name": "PORT45", - "device_parent": "PORT-MUX6" + "device_parent": "PORT-MUX5" }, "dev_attr": { "dev_idx": "45" @@ -4901,12 +5355,12 @@ "dev_info": { "device_type": "", "device_name": "PORT45-EEPROM", - "device_parent": "PORT-MUX6", + "device_parent": "PORT-MUX5", "virt_parent": "PORT45" }, "i2c": { "topo_info": { - "parent_bus": "0x37", + "parent_bus": "0x4c", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -4920,37 +5374,40 @@ "dev_info": { "device_type": "", "device_name": "PORT45-CTRL", - "device_parent": "PORT-MUX6", + "device_parent": "PORT-MUX5", "virt_parent": "PORT45" }, "i2c": { "topo_info": { - "parent_bus": "0x37", + "parent_bus": "0x4c", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x32", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x62", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x42", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -4960,9 +5417,9 @@ "PORT46": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP28", "device_name": "PORT46", - "device_parent": "PORT-MUX6" + "device_parent": "PORT-MUX5" }, "dev_attr": { "dev_idx": "46" @@ -4982,12 +5439,12 @@ "dev_info": { "device_type": "", "device_name": "PORT46-EEPROM", - "device_parent": "PORT-MUX6", + "device_parent": "PORT-MUX5", "virt_parent": "PORT46" }, "i2c": { "topo_info": { - "parent_bus": "0x38", + "parent_bus": "0x4d", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -5001,37 +5458,40 @@ "dev_info": { "device_type": "", "device_name": "PORT46-CTRL", - "device_parent": "PORT-MUX6", + "device_parent": "PORT-MUX5", "virt_parent": "PORT46" }, "i2c": { "topo_info": { - "parent_bus": "0x38", + "parent_bus": "0x4d", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x32", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x62", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x42", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -5040,9 +5500,9 @@ "PORT47": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP28", "device_name": "PORT47", - "device_parent": "PORT-MUX6" + "device_parent": "PORT-MUX5" }, "dev_attr": { "dev_idx": "47" @@ -5062,12 +5522,12 @@ "dev_info": { "device_type": "", "device_name": "PORT47-EEPROM", - "device_parent": "PORT-MUX6", + "device_parent": "PORT-MUX5", "virt_parent": "PORT47" }, "i2c": { "topo_info": { - "parent_bus": "0x39", + "parent_bus": "0x4e", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -5081,37 +5541,40 @@ "dev_info": { "device_type": "", "device_name": "PORT47-CTRL", - "device_parent": "PORT-MUX6", + "device_parent": "PORT-MUX5", "virt_parent": "PORT47" }, "i2c": { "topo_info": { - "parent_bus": "0x39", + "parent_bus": "0x4e", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x32", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x62", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x42", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -5120,9 +5583,9 @@ "PORT48": { "dev_info": { - "device_type": "QSFP28", + "device_type": "SFP28", "device_name": "PORT48", - "device_parent": "PORT-MUX6" + "device_parent": "PORT-MUX5" }, "dev_attr": { "dev_idx": "48" @@ -5142,12 +5605,12 @@ "dev_info": { "device_type": "", "device_name": "PORT48-EEPROM", - "device_parent": "PORT-MUX6", + "device_parent": "PORT-MUX5", "virt_parent": "PORT48" }, "i2c": { "topo_info": { - "parent_bus": "0x3a", + "parent_bus": "0x4f", "dev_addr": "0x50", "dev_type": "optoe2" }, @@ -5161,37 +5624,40 @@ "dev_info": { "device_type": "", "device_name": "PORT48-CTRL", - "device_parent": "PORT-MUX6", + "device_parent": "PORT-MUX5", "virt_parent": "PORT48" }, "i2c": { "topo_info": { - "parent_bus": "0x3a", + "parent_bus": "0x4f", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x32", - "attr_mask": "0x80", + "attr_mask": "0x07", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_txdisable", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x62", - "attr_mask": "0x80", + "attr_mask": "0x07", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_intr_status", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x42", - "attr_mask": "0x80", + "attr_mask": "0x07", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -5202,7 +5668,7 @@ "dev_info": { "device_type": "QSFP28", "device_name": "PORT49", - "device_parent": "PORT-MUX7" + "device_parent": "PORT-MUX6" }, "dev_attr": { "dev_idx": "49" @@ -5222,12 +5688,12 @@ "dev_info": { "device_type": "", "device_name": "PORT49-EEPROM", - "device_parent": "PORT-MUX7", + "device_parent": "PORT-MUX6", "virt_parent": "PORT49" }, "i2c": { "topo_info": { - "parent_bus": "0x3b", + "parent_bus": "0x50", "dev_addr": "0x50", "dev_type": "optoe1" }, @@ -5241,29 +5707,31 @@ "dev_info": { "device_type": "", "device_name": "PORT49-CTRL", - "device_parent": "PORT-MUX7", + "device_parent": "PORT-MUX6", "virt_parent": "PORT49" }, "i2c": { "topo_info": { - "parent_bus": "0x3b", + "parent_bus": "0x50", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x33", - "attr_mask": "0x01", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_reset", - "attr_devaddr": "0x36", + "attr_devaddr": "0x31", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devtype": "cpld", "attr_offset": "0xb9", - "attr_mask": "0x01", + "attr_mask": "0x00", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -5274,7 +5742,7 @@ "dev_info": { "device_type": "QSFP28", "device_name": "PORT50", - "device_parent": "PORT-MUX7" + "device_parent": "PORT-MUX6" }, "dev_attr": { "dev_idx": "50" @@ -5294,12 +5762,12 @@ "dev_info": { "device_type": "", "device_name": "PORT50-EEPROM", - "device_parent": "PORT-MUX7", + "device_parent": "PORT-MUX6", "virt_parent": "PORT50" }, "i2c": { "topo_info": { - "parent_bus": "0x3c", + "parent_bus": "0x51", "dev_addr": "0x50", "dev_type": "optoe1" }, @@ -5313,29 +5781,31 @@ "dev_info": { "device_type": "", "device_name": "PORT50-CTRL", - "device_parent": "PORT-MUX7", + "device_parent": "PORT-MUX6", "virt_parent": "PORT50" }, "i2c": { "topo_info": { - "parent_bus": "0x3c", + "parent_bus": "0x51", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x33", - "attr_mask": "0x02", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_reset", - "attr_devaddr": "0x36", + "attr_devaddr": "0x31", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devtype": "cpld", "attr_offset": "0xb9", - "attr_mask": "0x02", + "attr_mask": "0x01", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -5347,7 +5817,7 @@ "dev_info": { "device_type": "QSFP28", "device_name": "PORT51", - "device_parent": "PORT-MUX7" + "device_parent": "PORT-MUX6" }, "dev_attr": { "dev_idx": "51" @@ -5367,12 +5837,12 @@ "dev_info": { "device_type": "", "device_name": "PORT51-EEPROM", - "device_parent": "PORT-MUX7", + "device_parent": "PORT-MUX6", "virt_parent": "PORT51" }, "i2c": { "topo_info": { - "parent_bus": "0x3d", + "parent_bus": "0x52", "dev_addr": "0x50", "dev_type": "optoe1" }, @@ -5386,29 +5856,31 @@ "dev_info": { "device_type": "", "device_name": "PORT51-CTRL", - "device_parent": "PORT-MUX7", + "device_parent": "PORT-MUX6", "virt_parent": "PORT51" }, "i2c": { "topo_info": { - "parent_bus": "0x3d", + "parent_bus": "0x52", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x33", - "attr_mask": "0x04", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_reset", - "attr_devaddr": "0x36", + "attr_devaddr": "0x31", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devtype": "cpld", "attr_offset": "0xb9", - "attr_mask": "0x04", + "attr_mask": "0x02", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -5420,7 +5892,7 @@ "dev_info": { "device_type": "QSFP28", "device_name": "PORT52", - "device_parent": "PORT-MUX7" + "device_parent": "PORT-MUX6" }, "dev_attr": { "dev_idx": "52" @@ -5440,12 +5912,12 @@ "dev_info": { "device_type": "", "device_name": "PORT52-EEPROM", - "device_parent": "PORT-MUX7", + "device_parent": "PORT-MUX6", "virt_parent": "PORT52" }, "i2c": { "topo_info": { - "parent_bus": "0x3e", + "parent_bus": "0x53", "dev_addr": "0x50", "dev_type": "optoe1" }, @@ -5459,29 +5931,31 @@ "dev_info": { "device_type": "", "device_name": "PORT52-CTRL", - "device_parent": "PORT-MUX7", + "device_parent": "PORT-MUX6", "virt_parent": "PORT52" }, "i2c": { "topo_info": { - "parent_bus": "0x3e", + "parent_bus": "0x53", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x33", - "attr_mask": "0x08", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_reset", - "attr_devaddr": "0x36", + "attr_devaddr": "0x31", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devtype": "cpld", "attr_offset": "0xb9", - "attr_mask": "0x08", + "attr_mask": "0x03", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -5493,7 +5967,7 @@ "dev_info": { "device_type": "QSFP28", "device_name": "PORT53", - "device_parent": "PORT-MUX7" + "device_parent": "PORT-MUX6" }, "dev_attr": { "dev_idx": "53" @@ -5513,12 +5987,12 @@ "dev_info": { "device_type": "", "device_name": "PORT53-EEPROM", - "device_parent": "PORT-MUX7", + "device_parent": "PORT-MUX6", "virt_parent": "PORT53" }, "i2c": { "topo_info": { - "parent_bus": "0x3f", + "parent_bus": "0x54", "dev_addr": "0x50", "dev_type": "optoe1" }, @@ -5532,29 +6006,31 @@ "dev_info": { "device_type": "", "device_name": "PORT53-CTRL", - "device_parent": "PORT-MUX7", + "device_parent": "PORT-MUX6", "virt_parent": "PORT53" }, "i2c": { "topo_info": { - "parent_bus": "0x3f", + "parent_bus": "0x54", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x33", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_reset", - "attr_devaddr": "0x36", + "attr_devaddr": "0x31", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devtype": "cpld", "attr_offset": "0xb9", - "attr_mask": "0x10", + "attr_mask": "0x04", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -5566,7 +6042,7 @@ "dev_info": { "device_type": "QSFP28", "device_name": "PORT54", - "device_parent": "PORT-MUX7" + "device_parent": "PORT-MUX6" }, "dev_attr": { "dev_idx": "54" @@ -5586,12 +6062,12 @@ "dev_info": { "device_type": "", "device_name": "PORT54-EEPROM", - "device_parent": "PORT-MUX7", + "device_parent": "PORT-MUX6", "virt_parent": "PORT54" }, "i2c": { "topo_info": { - "parent_bus": "0x40", + "parent_bus": "0x55", "dev_addr": "0x50", "dev_type": "optoe1" }, @@ -5605,29 +6081,31 @@ "dev_info": { "device_type": "", "device_name": "PORT54-CTRL", - "device_parent": "PORT-MUX7", + "device_parent": "PORT-MUX6", "virt_parent": "PORT54" }, "i2c": { "topo_info": { - "parent_bus": "0x40", + "parent_bus": "0x55", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x33", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_reset", - "attr_devaddr": "0x36", + "attr_devaddr": "0x31", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devtype": "cpld", "attr_offset": "0xb9", - "attr_mask": "0x20", + "attr_mask": "0x05", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -5638,7 +6116,7 @@ "dev_info": { "device_type": "QSFP28", "device_name": "PORT55", - "device_parent": "PORT-MUX7" + "device_parent": "PORT-MUX6" }, "dev_attr": { "dev_idx": "55" @@ -5658,12 +6136,12 @@ "dev_info": { "device_type": "", "device_name": "PORT55-EEPROM", - "device_parent": "PORT-MUX7", + "device_parent": "PORT-MUX6", "virt_parent": "PORT55" }, "i2c": { "topo_info": { - "parent_bus": "0x41", + "parent_bus": "0x56", "dev_addr": "0x50", "dev_type": "optoe1" }, @@ -5677,29 +6155,31 @@ "dev_info": { "device_type": "", "device_name": "PORT55-CTRL", - "device_parent": "PORT-MUX7", + "device_parent": "PORT-MUX6", "virt_parent": "PORT55" }, "i2c": { "topo_info": { - "parent_bus": "0x41", + "parent_bus": "0x56", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x33", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_reset", - "attr_devaddr": "0x36", + "attr_devaddr": "0x31", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devtype": "cpld", "attr_offset": "0xb9", - "attr_mask": "0x40", + "attr_mask": "0x06", "attr_cmpval": "0x0", "attr_len": "1" }] @@ -5710,7 +6190,7 @@ "dev_info": { "device_type": "QSFP28", "device_name": "PORT56", - "device_parent": "PORT-MUX7" + "device_parent": "PORT-MUX6" }, "dev_attr": { "dev_idx": "56" @@ -5730,12 +6210,12 @@ "dev_info": { "device_type": "", "device_name": "PORT56-EEPROM", - "device_parent": "PORT-MUX7", + "device_parent": "PORT-MUX6", "virt_parent": "PORT56" }, "i2c": { "topo_info": { - "parent_bus": "0x42", + "parent_bus": "0x57", "dev_addr": "0x50", "dev_type": "optoe1" }, @@ -5749,101 +6229,82 @@ "dev_info": { "device_type": "", "device_name": "PORT56-CTRL", - "device_parent": "PORT-MUX7", + "device_parent": "PORT-MUX6", "virt_parent": "PORT56" }, "i2c": { "topo_info": { - "parent_bus": "0x42", + "parent_bus": "0x57", "dev_addr": "0x53", "dev_type": "pddf_xcvr" }, "attr_list": [{ "attr_name": "xcvr_present", - "attr_devaddr": "0x36", + "attr_devname": "MAC_BOARD_CPLD2", + "attr_devaddr": "0x31", "attr_devtype": "cpld", "attr_offset": "0x33", - "attr_mask": "0x80", + "attr_mask": "0x07", "attr_cmpval": "0x0", "attr_len": "1" }, { "attr_name": "xcvr_reset", - "attr_devaddr": "0x36", + "attr_devaddr": "0x31", + "attr_devname": "MAC_BOARD_CPLD2", "attr_devtype": "cpld", "attr_offset": "0xb9", - "attr_mask": "0x80", + "attr_mask": "0x07", "attr_cmpval": "0x0", "attr_len": "1" }] } }, - "FRONT_BOARD_BMC_LED": { + + + + + + + "FPGA-OCORE12": { "dev_info": { - "device_type": "LED", - "device_name": "DIAG_LED" + "device_type": "FPGA-OCORE", + "device_name": "FPGA-OCORE12", + "device_parent": "SYSTEM" }, - "dev_attr": { - "index": "0" + "i2c": { + "topo_info": { + "dev_addr": "0xe" + }, + "DEVICES": [] + } + }, + + "FPGA-OCORE13": { + "dev_info": { + "device_type": "FPGA-OCORE", + "device_name": "FPGA-OCORE13", + "device_parent": "SYSTEM" }, "i2c": { - "attr_list": [{ - "attr_name": "STATUS_LED_COLOR_RED", - "descr": "Red", - "bits": "2:0", - "value": "0x2", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb1" - }, - { - "attr_name": "STATUS_LED_COLOR_RED_BLINK", - "descr": "Red Blinking", - "bits": "2:0", - "value": "0x1", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb1" - }, - { - "attr_name": "STATUS_LED_COLOR_GREEN", - "descr": "Green", - "bits": "2:0", - "value": "0x4", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb1" - }, - { - "attr_name": "STATUS_LED_COLOR_GREEN_BLINK", - "descr": "Green Blinking", - "bits": "2:0", - "value": "0x3", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb1" - }, - { - "attr_name": "STATUS_LED_COLOR_AMBER", - "descr": "Amber", - "bits": "2:0", - "value": "0x6", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb1" - }, - { - "attr_name": "STATUS_LED_COLOR_AMBER_BLINK", - "descr": "Amber Blinking", - "bits": "2:0", - "value": "0x5", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb1" - }, - { - "attr_name": "STATUS_LED_COLOR_OFF", - "descr": "Off", - "bits": "2:0", - "value": "0x0", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb1" - } - ] + "topo_info": { + "dev_addr": "0xf" + }, + "DEVICES": [] + } + }, + + "I2C-GPIO0": { + "dev_info": { + "device_type": "I2C-GPIO", + "device_name": "I2C-GPIO0", + "device_parent": "SYSTEM" + }, + "i2c": { + "topo_info": { + "dev_addr": "0xf" + }, + "DEVICES": [] } }, @@ -5861,56 +6322,56 @@ "descr": "Red", "bits": "2:0", "value": "0x2", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb2" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x972" }, { "attr_name": "STATUS_LED_COLOR_RED_BLINK", "descr": "Red Blinking", "bits": "2:0", "value": "0x1", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb2" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x972" }, { "attr_name": "STATUS_LED_COLOR_GREEN", "descr": "Green", "bits": "2:0", "value": "0x4", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb2" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x972" }, { "attr_name": "STATUS_LED_COLOR_GREEN_BLINK", "descr": "Green Blinking", "bits": "2:0", "value": "0x3", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb2" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x972" }, { "attr_name": "STATUS_LED_COLOR_AMBER", "descr": "Amber", "bits": "2:0", "value": "0x6", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb2" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x972" }, { "attr_name": "STATUS_LED_COLOR_AMBER_BLINK", "descr": "Amber Blinking", "bits": "2:0", "value": "0x5", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb2" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x972" }, { "attr_name": "STATUS_LED_COLOR_OFF", "descr": "Off", "bits": "2:0", "value": "0x0", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb2" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x972" } ] } @@ -5930,56 +6391,56 @@ "descr": "Red", "bits": "2:0", "value": "0x2", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb3" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x973" }, { "attr_name": "STATUS_LED_COLOR_RED_BLINK", "descr": "Red Blinking", "bits": "2:0", "value": "0x1", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb3" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x973" }, { "attr_name": "STATUS_LED_COLOR_GREEN", "descr": "Green", "bits": "2:0", "value": "0x4", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb3" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x973" }, { "attr_name": "STATUS_LED_COLOR_GREEN_BLINK", "descr": "Green Blinking", "bits": "2:0", "value": "0x3", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb3" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x973" }, { "attr_name": "STATUS_LED_COLOR_AMBER", "descr": "Amber", "bits": "2:0", "value": "0x6", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb3" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x973" }, { "attr_name": "STATUS_LED_COLOR_AMBER_BLINK", "descr": "Amber Blinking", "bits": "2:0", "value": "0x5", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb3" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x973" }, { "attr_name": "STATUS_LED_COLOR_OFF", "descr": "Off", "bits": "2:0", "value": "0x0", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb3" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x973" } ] } @@ -5999,56 +6460,56 @@ "descr": "Red", "bits": "2:0", "value": "0x2", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb4" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x974" }, { "attr_name": "STATUS_LED_COLOR_RED_BLINK", "descr": "Red Blinking", "bits": "2:0", "value": "0x1", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb4" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x974" }, { "attr_name": "STATUS_LED_COLOR_GREEN", "descr": "Green", "bits": "2:0", "value": "0x4", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb4" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x974" }, { "attr_name": "STATUS_LED_COLOR_GREEN_BLINK", "descr": "Green Blinking", "bits": "2:0", "value": "0x3", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb4" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x974" }, { "attr_name": "STATUS_LED_COLOR_AMBER", "descr": "Amber", "bits": "2:0", "value": "0x6", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb4" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x974" }, { "attr_name": "STATUS_LED_COLOR_AMBER_BLINK", "descr": "Amber Blinking", "bits": "2:0", "value": "0x5", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb4" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x974" }, { "attr_name": "STATUS_LED_COLOR_OFF", "descr": "Off", "bits": "2:0", "value": "0x0", - "swpld_addr": "0x33", - "swpld_addr_offset": "0xb4" + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x974" } ] } @@ -6064,62 +6525,62 @@ }, "i2c": { "attr_list": [{ - "attr_name": "STATUS_LED_COLOR_RED", - "descr": "Red", - "bits": "3:0", - "value": "0xa", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x23" - }, - { - "attr_name": "STATUS_LED_COLOR_RED_BLINK", - "descr": "Red Blinking", - "bits": "3:0", - "value": "0xe", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x23" - }, - { - "attr_name": "STATUS_LED_COLOR_GREEN", - "descr": "Green", - "bits": "3:0", - "value": "0x9", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x23" - }, - { - "attr_name": "STATUS_LED_COLOR_GREEN_BLINK", - "descr": "Green Blinking", - "bits": "3:0", - "value": "0xd", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x23" - }, - { - "attr_name": "STATUS_LED_COLOR_AMBER", - "descr": "Amber", - "bits": "3:0", - "value": "0x3", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x23" - }, - { - "attr_name": "STATUS_LED_COLOR_AMBER_BLINK", - "descr": "Amber Blinking", - "bits": "3:0", - "value": "0x7", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x23" - }, - { - "attr_name": "STATUS_LED_COLOR_OFF", - "descr": "Off", - "bits": "3:0", - "value": "0xb", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x23" - } - ] + "attr_name": "STATUS_LED_COLOR_RED", + "descr": "Red", + "bits": "2:0", + "value": "0x2", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3b" + }, + { + "attr_name": "STATUS_LED_COLOR_RED_BLINK", + "descr": "Red Blinking", + "bits": "2:0", + "value": "0x1", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3b" + }, + { + "attr_name": "STATUS_LED_COLOR_GREEN", + "descr": "Green", + "bits": "2:0", + "value": "0x4", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3b" + }, + { + "attr_name": "STATUS_LED_COLOR_GREEN_BLINK", + "descr": "Green Blinking", + "bits": "2:0", + "value": "0x3", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3b" + }, + { + "attr_name": "STATUS_LED_COLOR_AMBER", + "descr": "Amber", + "bits": "2:0", + "value": "0x6", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3b" + }, + { + "attr_name": "STATUS_LED_COLOR_AMBER_BLINK", + "descr": "Amber Blinking", + "bits": "2:0", + "value": "0x5", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3b" + }, + { + "attr_name": "STATUS_LED_COLOR_OFF", + "descr": "Off", + "bits": "2:0", + "value": "0x0", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3b" + } + ] } }, @@ -6133,62 +6594,62 @@ }, "i2c": { "attr_list": [{ - "attr_name": "STATUS_LED_COLOR_RED", - "descr": "Red", - "bits": "3:0", - "value": "0xa", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x24" - }, - { - "attr_name": "STATUS_LED_COLOR_RED_BLINK", - "descr": "Red Blinking", - "bits": "3:0", - "value": "0xe", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x24" - }, - { - "attr_name": "STATUS_LED_COLOR_GREEN", - "descr": "Green", - "bits": "3:0", - "value": "0x9", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x24" - }, - { - "attr_name": "STATUS_LED_COLOR_GREEN_BLINK", - "descr": "Green Blinking", - "bits": "3:0", - "value": "0xd", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x24" - }, - { - "attr_name": "STATUS_LED_COLOR_AMBER", - "descr": "Amber", - "bits": "3:0", - "value": "0x3", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x24" - }, - { - "attr_name": "STATUS_LED_COLOR_AMBER_BLINK", - "descr": "Amber Blinking", - "bits": "3:0", - "value": "0x7", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x24" - }, - { - "attr_name": "STATUS_LED_COLOR_OFF", - "descr": "Off", - "bits": "3:0", - "value": "0xb", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x24" - } - ] + "attr_name": "STATUS_LED_COLOR_RED", + "descr": "Red", + "bits": "2:0", + "value": "0x2", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3c" + }, + { + "attr_name": "STATUS_LED_COLOR_RED_BLINK", + "descr": "Red Blinking", + "bits": "2:0", + "value": "0x1", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3c" + }, + { + "attr_name": "STATUS_LED_COLOR_GREEN", + "descr": "Green", + "bits": "2:0", + "value": "0x4", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3c" + }, + { + "attr_name": "STATUS_LED_COLOR_GREEN_BLINK", + "descr": "Green Blinking", + "bits": "2:0", + "value": "0x3", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3c" + }, + { + "attr_name": "STATUS_LED_COLOR_AMBER", + "descr": "Amber", + "bits": "2:0", + "value": "0x6", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3c" + }, + { + "attr_name": "STATUS_LED_COLOR_AMBER_BLINK", + "descr": "Amber Blinking", + "bits": "2:0", + "value": "0x5", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3c" + }, + { + "attr_name": "STATUS_LED_COLOR_OFF", + "descr": "Off", + "bits": "2:0", + "value": "0x0", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3c" + } + ] } }, @@ -6202,62 +6663,62 @@ }, "i2c": { "attr_list": [{ - "attr_name": "STATUS_LED_COLOR_RED", - "descr": "Red", - "bits": "3:0", - "value": "0xa", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x25" - }, - { - "attr_name": "STATUS_LED_COLOR_RED_BLINK", - "descr": "Red Blinking", - "bits": "3:0", - "value": "0xe", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x25" - }, - { - "attr_name": "STATUS_LED_COLOR_GREEN", - "descr": "Green", - "bits": "3:0", - "value": "0x9", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x25" - }, - { - "attr_name": "STATUS_LED_COLOR_GREEN_BLINK", - "descr": "Green Blinking", - "bits": "3:0", - "value": "0xd", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x25" - }, - { - "attr_name": "STATUS_LED_COLOR_AMBER", - "descr": "Amber", - "bits": "3:0", - "value": "0x3", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x25" - }, - { - "attr_name": "STATUS_LED_COLOR_AMBER_BLINK", - "descr": "Amber Blinking", - "bits": "3:0", - "value": "0x7", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x25" - }, - { - "attr_name": "STATUS_LED_COLOR_OFF", - "descr": "Off", - "bits": "3:0", - "value": "0xb", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x25" - } - ] + "attr_name": "STATUS_LED_COLOR_RED", + "descr": "Red", + "bits": "2:0", + "value": "0x2", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3d" + }, + { + "attr_name": "STATUS_LED_COLOR_RED_BLINK", + "descr": "Red Blinking", + "bits": "2:0", + "value": "0x1", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3d" + }, + { + "attr_name": "STATUS_LED_COLOR_GREEN", + "descr": "Green", + "bits": "2:0", + "value": "0x4", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3d" + }, + { + "attr_name": "STATUS_LED_COLOR_GREEN_BLINK", + "descr": "Green Blinking", + "bits": "2:0", + "value": "0x3", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3d" + }, + { + "attr_name": "STATUS_LED_COLOR_AMBER", + "descr": "Amber", + "bits": "2:0", + "value": "0x6", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3d" + }, + { + "attr_name": "STATUS_LED_COLOR_AMBER_BLINK", + "descr": "Amber Blinking", + "bits": "2:0", + "value": "0x5", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3d" + }, + { + "attr_name": "STATUS_LED_COLOR_OFF", + "descr": "Off", + "bits": "2:0", + "value": "0x0", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3d" + } + ] } }, @@ -6271,61 +6732,61 @@ }, "i2c": { "attr_list": [{ - "attr_name": "STATUS_LED_COLOR_RED", - "descr": "Red", - "bits": "3:0", - "value": "0xa", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x26" - }, - { - "attr_name": "STATUS_LED_COLOR_RED_BLINK", - "descr": "Red Blinking", - "bits": "3:0", - "value": "0xe", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x26" - }, - { - "attr_name": "STATUS_LED_COLOR_GREEN", - "descr": "Green", - "bits": "3:0", - "value": "0x9", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x26" - }, - { - "attr_name": "STATUS_LED_COLOR_GREEN_BLINK", - "descr": "Green Blinking", - "bits": "3:0", - "value": "0xd", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x26" - }, - { - "attr_name": "STATUS_LED_COLOR_AMBER", - "descr": "Amber", - "bits": "3:0", - "value": "0x3", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x26" - }, - { - "attr_name": "STATUS_LED_COLOR_AMBER_BLINK", - "descr": "Amber Blinking", - "bits": "3:0", - "value": "0x7", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x26" - }, - { - "attr_name": "STATUS_LED_COLOR_OFF", - "descr": "Off", - "bits": "3:0", - "value": "0xb", - "swpld_addr": "0x32", - "swpld_addr_offset": "0x26" - } + "attr_name": "STATUS_LED_COLOR_RED", + "descr": "Red", + "bits": "2:0", + "value": "0x2", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3e" + }, + { + "attr_name": "STATUS_LED_COLOR_RED_BLINK", + "descr": "Red Blinking", + "bits": "2:0", + "value": "0x1", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3e" + }, + { + "attr_name": "STATUS_LED_COLOR_GREEN", + "descr": "Green", + "bits": "2:0", + "value": "0x4", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3e" + }, + { + "attr_name": "STATUS_LED_COLOR_GREEN_BLINK", + "descr": "Green Blinking", + "bits": "2:0", + "value": "0x3", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3e" + }, + { + "attr_name": "STATUS_LED_COLOR_AMBER", + "descr": "Amber", + "bits": "2:0", + "value": "0x6", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3e" + }, + { + "attr_name": "STATUS_LED_COLOR_AMBER_BLINK", + "descr": "Amber Blinking", + "bits": "2:0", + "value": "0x5", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3e" + }, + { + "attr_name": "STATUS_LED_COLOR_OFF", + "descr": "Off", + "bits": "2:0", + "value": "0x0", + "swpld_addr": "0x0d", + "swpld_addr_offset": "0x3e" + } ] } }