xref: /openbmc/u-boot/board/freescale/t4qds/t4qds.h (revision 699c40e8)
1 /*
2  * Copyright 2011-2012 Freescale Semiconductor, Inc.
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License as
6  * published by the Free Software Foundation; either version 2 of
7  * the License, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
17  * MA 02111-1307 USA
18  */
19 
20 #ifndef __CORENET_DS_H__
21 #define __CORENET_DS_H__
22 
23 void fdt_fixup_board_enet(void *blob);
24 void pci_of_setup(void *blob, bd_t *bd);
25 
26 static const int8_t vsc3316_fsm1_tx[8][2] = { {0, 0}, {1, 1}, {6, 6}, {7, 7},
27 				{8, 8}, {9, 9}, {14, 14}, {15, 15} };
28 
29 static const int8_t vsc3316_fsm2_tx[8][2] = { {2, 2}, {3, 3}, {4, 4}, {5, 5},
30 				{10, 10}, {11, 11}, {12, 12}, {13, 13} };
31 
32 static const int8_t vsc3316_fsm1_rx[8][2] = { {2, 12}, {3, 13}, {4, 5}, {5, 4},
33 				{10, 11}, {11, 10}, {12, 2}, {13, 3} };
34 
35 static const int8_t vsc3316_fsm2_rx[8][2] = { {0, 15}, {1, 14}, {6, 7}, {7, 6},
36 				{8, 9}, {9, 8}, {14, 1}, {15, 0} };
37 #endif
38