Horatiu Vultur | 8c211af | 2019-04-24 11:27:59 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ |
2 | /* | ||||
3 | * Copyright (c) 2019 Microsemi Corporation | ||||
4 | */ | ||||
5 | |||||
6 | #ifndef _OCELOT_DATA_H_ | ||||
7 | #define _OCELOT_DATA_H_ | ||||
8 | |||||
9 | #define SERDES1G(x) (x) | ||||
10 | #define SERDES1G_MAX SERDES1G(7) | ||||
11 | #define SERDES6G(x) (SERDES1G_MAX + 1 + (x)) | ||||
12 | #define SERDES6G_MAX SERDES6G(11) | ||||
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 |