summaryrefslogtreecommitdiffstats
path: root/board/freescale/b4860qds/b4860qds_qixis.h
blob: 272afc1ae04276a5aeaa95099ac854bf8584e370 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * Copyright 2012 Freescale Semiconductor, Inc.
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#ifndef __B4860QDS_QIXIS_H__
#define __B4860QDS_QIXIS_H__

/* Definitions of QIXIS Registers for B4860QDS */

/* BRDCFG4[4:7]] select EC1 and EC2 as a pair */
#define BRDCFG4_EMISEL_MASK		0xE0
#define BRDCFG4_EMISEL_SHIFT		5

/* CLK */
#define QIXIS_CLK_66		0x0
#define QIXIS_CLK_100		0x1
#define QIXIS_CLK_125		0x2
#define QIXIS_CLK_133		0x3

#define QIXIS_SRDS1CLK_122		0x5a
#define QIXIS_SRDS1CLK_125		0x5e

/* SGMII */
#define PHY_BASE_ADDR		0x18
#define PORT_NUM		0x04
#define REGNUM			0x00
#endif
OpenPOWER on IntegriCloud