Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
York Sun | b5b06fb | 2012-12-23 19:25:27 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2012 Freescale Semiconductor, Inc. |
York Sun | b5b06fb | 2012-12-23 19:25:27 +0000 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __B4860QDS_QIXIS_H__ |
| 7 | #define __B4860QDS_QIXIS_H__ |
| 8 | |
| 9 | /* Definitions of QIXIS Registers for B4860QDS */ |
| 10 | |
| 11 | /* BRDCFG4[4:7]] select EC1 and EC2 as a pair */ |
| 12 | #define BRDCFG4_EMISEL_MASK 0xE0 |
| 13 | #define BRDCFG4_EMISEL_SHIFT 5 |
| 14 | |
| 15 | /* CLK */ |
| 16 | #define QIXIS_CLK_66 0x0 |
| 17 | #define QIXIS_CLK_100 0x1 |
| 18 | #define QIXIS_CLK_125 0x2 |
| 19 | #define QIXIS_CLK_133 0x3 |
| 20 | |
| 21 | #define QIXIS_SRDS1CLK_122 0x5a |
| 22 | #define QIXIS_SRDS1CLK_125 0x5e |
Zhao Qiang | ffee1dd | 2013-09-04 10:11:27 +0800 | [diff] [blame] | 23 | |
| 24 | /* SGMII */ |
| 25 | #define PHY_BASE_ADDR 0x18 |
| 26 | #define PORT_NUM 0x04 |
| 27 | #define REGNUM 0x00 |
York Sun | b5b06fb | 2012-12-23 19:25:27 +0000 | [diff] [blame] | 28 | #endif |