Horatiu Vultur | 1141176 | 2019-04-03 19:54:47 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ |
2 | /* | ||||
3 | * Copyright (c) 2018 Microsemi Corporation | ||||
4 | */ | ||||
5 | |||||
6 | #ifndef _JR2_DATA_H_ | ||||
7 | #define _JR2_DATA_H_ | ||||
8 | |||||
9 | #define SERDES1G(x) (x) | ||||
10 | #define SERDES1G_MAX SERDES1G(10) | ||||
11 | #define SERDES6G(x) (SERDES1G_MAX + 1 + (x)) | ||||
12 | #define SERDES6G_MAX SERDES6G(17) | ||||
13 | #define SERDES_MAX (SERDES6G_MAX + 1) | ||||
14 | |||||
15 | /* similar with phy_interface_t */ | ||||
16 | #define PHY_MODE_SGMII 2 | ||||
17 | #define PHY_MODE_QSGMII 4 | ||||
18 | |||||
19 | #endif |