]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/freescale/b4860qds/b4860qds_qixis.h
powerpc/b4860: fix for Serdes connectivity to SFP's
[karo-tx-uboot.git] / board / freescale / b4860qds / b4860qds_qixis.h
1 /*
2  * Copyright 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 __B4860QDS_QIXIS_H__
21 #define __B4860QDS_QIXIS_H__
22
23 /* Definitions of QIXIS Registers for B4860QDS */
24
25 /* BRDCFG4[4:7]] select EC1 and EC2 as a pair */
26 #define BRDCFG4_EMISEL_MASK             0xE0
27 #define BRDCFG4_EMISEL_SHIFT            5
28
29 /* CLK */
30 #define QIXIS_CLK_66            0x0
31 #define QIXIS_CLK_100           0x1
32 #define QIXIS_CLK_125           0x2
33 #define QIXIS_CLK_133           0x3
34
35 #define QIXIS_SRDS1CLK_122              0x5a
36 #define QIXIS_SRDS1CLK_125              0x5e
37 #endif