Jim Liu | 0c05b90 | 2025-02-11 10:02:01 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
2 | |||||
3 | #ifndef _NPCM_GMAC_H_ | ||||
4 | #define _NPCM_GMAC_H_ | ||||
5 | |||||
6 | /* PCS registers */ | ||||
7 | #define PCS_BA 0xF0780000 | ||||
8 | #define PCS_IND_AC 0x1FE | ||||
9 | #define SR_MII_MMD 0x3E0000 | ||||
10 | #define SR_MII_MMD_CTRL 0x0 | ||||
11 | #define SR_MII_MMD_STS 0x2 | ||||
12 | #define VR_MII_MMD 0x3F0000 | ||||
13 | #define VR_MII_MMD_CTRL1 0x0 | ||||
14 | #define VR_MII_MMD_AN_CTRL 0x2 | ||||
15 | |||||
16 | #define LINK_UP_TIMEOUT (3 * CONFIG_SYS_HZ) | ||||
17 | |||||
18 | #endif |