Skip to content

Commit

Permalink
Change EVT1 port lane configuration to EVT2 for 400G
Browse files Browse the repository at this point in the history
  • Loading branch information
jerseyang committed Nov 4, 2021
1 parent 1006398 commit 583bf10
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 55 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,128 +291,129 @@ nodes:
- id: "0"
lane_swap: "01234567"
tx_polarity: "00000000"
rx_polarity: "00000000"
rx_polarity: "10000000"
- id: "1"
lane_swap: "61745320"
tx_polarity: "00010111"
rx_polarity: "00000000"
lane_swap: "71645320"
tx_polarity: "01010111"
rx_polarity: "10100100"
- id: "2"
lane_swap: "01234567"
tx_polarity: "01000010"
rx_polarity: "10000100"
- id: "3"
lane_swap: "01234567"
tx_polarity: "10010110"
rx_polarity: "00100000"
tx_polarity: "11000110"
rx_polarity: "10001011"
- id: "4"
lane_swap: "07264513"
tx_polarity: "01001001"
rx_polarity: "00010000"
tx_polarity: "00011001"
rx_polarity: "11111000"
- id: "5"
lane_swap: "34175620"
tx_polarity: "00100000"
rx_polarity: "00000000"
tx_polarity: "00001000"
rx_polarity: "10110000"
- id: "6"
lane_swap: "07214563"
tx_polarity: "00000011"
rx_polarity: "00010000"
tx_polarity: "00010001"
rx_polarity: "00110010"
- id: "7"
lane_swap: "74653120"
tx_polarity: "00100000"
rx_polarity: "00010000"
tx_polarity: "00001000"
rx_polarity: "00110001"
- id: "8"
lane_swap: "07264513"
tx_polarity: "00010011"
rx_polarity: "00010001"
tx_polarity: "01000011"
rx_polarity: "01110001"
- id: "9"
lane_swap: "75634120"
tx_polarity: "00101000"
rx_polarity: "10001000"
tx_polarity: "00001100"
rx_polarity: "00101001"
- id: "10"
lane_swap: "07264513"
tx_polarity: "00000001"
rx_polarity: "00000000"
tx_polarity: "00010001"
rx_polarity: "01100000"
- id: "11"
lane_swap: "71634520"
tx_polarity: "00101010"
rx_polarity: "00001000"
tx_polarity: "01001010"
rx_polarity: "10101001"
- id: "12"
lane_swap: "01236547"
tx_polarity: "00000001"
rx_polarity: "10000011"
rx_polarity: "10000010"
- id: "13"
lane_swap: "21374560"
tx_polarity: "00110010"
rx_polarity: "00110010"
tx_polarity: "00010011"
rx_polarity: "10001000"
- id: "14"
lane_swap: "05214763"
tx_polarity: "00000000"
rx_polarity: "00000000"
- id: "15"
lane_swap: "61234570"
tx_polarity: "10000000"
rx_polarity: "10001001"
tx_polarity: "11000000"
rx_polarity: "00110010"
- id: "16"
lane_swap: "01234765"
tx_polarity: "00000000"
rx_polarity: "00000000"
- id: "17"
lane_swap: "61234570"
tx_polarity: "00001001"
rx_polarity: "00001000"
tx_polarity: "00001010"
rx_polarity: "10000111"
- id: "18"
lane_swap: "01234567"
tx_polarity: "00000000"
rx_polarity: "00000101"
rx_polarity: "00000100"
- id: "19"
lane_swap: "01234567"
tx_polarity: "11001000"
rx_polarity: "01000000"
tx_polarity: "10001000"
rx_polarity: "11101011"
- id: "20"
lane_swap: "01234567"
tx_polarity: "01000001"
rx_polarity: "00000000"
tx_polarity: "01000010"
rx_polarity: "00100000"
- id: "21"
lane_swap: "05243176"
tx_polarity: "00100011"
rx_polarity: "10100010"
tx_polarity: "00100110"
rx_polarity: "00000011"
- id: "22"
lane_swap: "06214735"
tx_polarity: "01010000"
rx_polarity: "00000000"
tx_polarity: "01000100"
rx_polarity: "00110000"
- id: "23"
lane_swap: "01234567"
tx_polarity: "00011000"
rx_polarity: "00001000"
tx_polarity: "01011010"
rx_polarity: "10101010"
- id: "24"
lane_swap: "01234567"
tx_polarity: "01001100"
rx_polarity: "01000010"
tx_polarity: "01001111"
rx_polarity: "01100001"
- id: "25"
lane_swap: "03251467"
tx_polarity: "00010010"
rx_polarity: "00010000"
tx_polarity: "00000000"
rx_polarity: "10110010"
- id: "26"
lane_swap: "01234567"
tx_polarity: "01000000"
rx_polarity: "00000000"
tx_polarity: "01000001"
rx_polarity: "00100010"
- id: "27"
lane_swap: "04251367"
tx_polarity: "01100011"
rx_polarity: "01000000"
tx_polarity: "01101001"
rx_polarity: "11100001"
- id: "28"
lane_swap: "01234567"
tx_polarity: "10100100"
rx_polarity: "00000110"
rx_polarity: "01010110"
- id: "29"
lane_swap: "01254367"
tx_polarity: "01010011"
rx_polarity: "00010010"
tx_polarity: "00010011"
rx_polarity: "10111001"
- id: "30"
lane_swap: "01234567"
tx_polarity: "00000000"
rx_polarity: "01000101"
- id: "31"
lane_swap: "01234567"
tx_polarity: "01000110"
rx_polarity: "01000000"
tx_polarity: "00000110"
rx_polarity: "11100011"

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#define VERSION_ADDR 0xA100
#define SCRATCH_ADDR 0xA101
#define SYS_LED_ADDR 0xA162
#define CPLD_REGISTER_SIZE 0xA3
#define CPLD_REGISTER_SIZE 0xFF

struct cpld_b_data {
struct mutex cpld_lock;
Expand Down Expand Up @@ -336,7 +336,7 @@ static struct attribute_group cpld_b_attrs_grp = {
static struct resource cpld_b_resources[] = {
{
.start = 0xA100,
.end = 0xA1A2,
.end = 0xA1FF,
.flags = IORESOURCE_IO,
},
};
Expand Down

0 comments on commit 583bf10

Please sign in to comment.