2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2012-12-23 19:25:27 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2012 Freescale Semiconductor, Inc.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CROSSBAR_CONNECTIONS_H__
|
|
|
|
#define __CROSSBAR_CONNECTIONS_H__
|
|
|
|
|
|
|
|
#define NUM_CON_VSC3316 8
|
|
|
|
#define NUM_CON_VSC3308 4
|
|
|
|
|
|
|
|
static const int8_t vsc16_tx_amc[8][2] = { {15, 3}, {0, 2}, {7, 4}, {9, 10},
|
|
|
|
{5, 11}, {4, 5}, {2, 6}, {12, 9} };
|
|
|
|
|
2013-08-19 10:43:07 +00:00
|
|
|
static int8_t vsc16_tx_sfp[8][2] = { {15, 7}, {0, 1}, {7, 8}, {9, 0},
|
2013-03-25 07:40:17 +00:00
|
|
|
{-1, -1}, {-1, -1}, {-1, -1}, {-1, -1} };
|
2012-12-23 19:25:27 +00:00
|
|
|
|
2013-08-19 10:43:07 +00:00
|
|
|
static int8_t vsc16_tx_4sfp_sgmii_12_56[8][2] = { {15, 7}, {0, 1},
|
2013-03-25 07:40:17 +00:00
|
|
|
{7, 8}, {9, 0}, {2, 14}, {12, 15},
|
|
|
|
{-1, -1}, {-1, -1} };
|
|
|
|
|
|
|
|
static const int8_t vsc16_tx_4sfp_sgmii_34[8][2] = { {15, 7}, {0, 1},
|
|
|
|
{7, 8}, {9, 0}, {5, 14}, {4, 15},
|
|
|
|
{-1, -1}, {-1, -1} };
|
2012-12-23 19:25:27 +00:00
|
|
|
|
2014-02-26 10:36:30 +00:00
|
|
|
static int8_t vsc16_tx_sfp_sgmii_aurora[8][2] = { {15, 7}, {0, 1},
|
|
|
|
{7, 8}, {9, 0}, {5, 14},
|
|
|
|
{4, 15}, {2, 12}, {12, 13} };
|
|
|
|
|
2016-11-18 19:56:57 +00:00
|
|
|
#ifdef CONFIG_ARCH_B4420
|
2013-08-19 10:43:07 +00:00
|
|
|
static int8_t vsc16_tx_sgmii_lane_cd[8][2] = { {5, 14}, {4, 15},
|
2012-12-23 19:25:27 +00:00
|
|
|
{-1, -1}, {-1, -1}, {-1, -1}, {-1, -1}, {-1, -1}, {-1, -1} };
|
|
|
|
#endif
|
2013-03-25 07:40:17 +00:00
|
|
|
|
2012-12-23 19:25:27 +00:00
|
|
|
static const int8_t vsc16_tx_aurora[8][2] = { {2, 13}, {12, 12}, {-1, -1},
|
|
|
|
{-1, -1}, {-1, -1}, {-1, -1}, {-1, -1}, {-1, -1} };
|
|
|
|
|
|
|
|
static const int8_t vsc16_rx_amc[8][2] = { {3, 15}, {2, 1}, {4, 8}, {10, 9},
|
|
|
|
{11, 11}, {5, 10}, {6, 3}, {9, 12} };
|
|
|
|
|
2013-08-19 10:43:07 +00:00
|
|
|
static int8_t vsc16_rx_sfp[8][2] = { {8, 15}, {0, 1}, {7, 8}, {1, 9},
|
2012-12-23 19:25:27 +00:00
|
|
|
{-1, -1}, {-1, -1}, {-1, -1}, {-1, -1} };
|
|
|
|
|
2013-08-19 10:43:07 +00:00
|
|
|
static int8_t vsc16_rx_4sfp_sgmii_12_56[8][2] = { {8, 15}, {0, 1},
|
2013-03-25 07:40:17 +00:00
|
|
|
{7, 8}, {1, 9}, {14, 3}, {15, 12},
|
|
|
|
{-1, -1}, {-1, -1} };
|
|
|
|
|
|
|
|
static const int8_t vsc16_rx_4sfp_sgmii_34[8][2] = { {8, 15}, {0, 1},
|
|
|
|
{7, 8}, {1, 9}, {14, 11}, {15, 10},
|
|
|
|
{-1, -1}, {-1, -1} };
|
2012-12-23 19:25:27 +00:00
|
|
|
|
2014-02-26 10:36:30 +00:00
|
|
|
static int8_t vsc16_rx_sfp_sgmii_aurora[8][2] = { {8, 15}, {0, 1},
|
|
|
|
{7, 8}, {1, 9}, {14, 11},
|
|
|
|
{15, 10}, {13, 3}, {12, 12} };
|
|
|
|
|
2016-11-18 19:56:57 +00:00
|
|
|
#ifdef CONFIG_ARCH_B4420
|
2013-08-19 10:43:07 +00:00
|
|
|
static int8_t vsc16_rx_sgmii_lane_cd[8][2] = { {14, 11}, {15, 10},
|
2012-12-23 19:25:27 +00:00
|
|
|
{-1, -1}, {-1, -1}, {-1, -1}, {-1, -1}, {-1, -1}, {-1, -1} };
|
|
|
|
#endif
|
|
|
|
|
2013-03-25 07:40:17 +00:00
|
|
|
static const int8_t vsc16_rx_aurora[8][2] = { {13, 3}, {12, 12}, {-1, -1},
|
2012-12-23 19:25:27 +00:00
|
|
|
{-1, -1}, {-1, -1}, {-1, -1}, {-1, -1}, {-1, -1} };
|
|
|
|
|
|
|
|
static const int8_t vsc08_tx_amc[4][2] = { {2, 2}, {3, 3}, {7, 4}, {1, 5} };
|
|
|
|
|
2013-03-25 07:40:17 +00:00
|
|
|
static const int8_t vsc08_tx_sfp[4][2] = { {2, 1}, {3, 0}, {7, 6}, {1, 7} };
|
2012-12-23 19:25:27 +00:00
|
|
|
|
|
|
|
static const int8_t vsc08_rx_amc[4][2] = { {2, 3}, {3, 4}, {4, 7}, {5, 1} };
|
|
|
|
|
2013-03-25 07:40:17 +00:00
|
|
|
static const int8_t vsc08_rx_sfp[4][2] = { {1, 3}, {0, 4}, {6, 7}, {7, 1} };
|
2012-12-23 19:25:27 +00:00
|
|
|
|
|
|
|
#endif
|