1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
3 * Copyright (c) 2018 Microsemi Corporation
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)
15 /* similar with phy_interface_t */
16 #define PHY_MODE_SGMII 2
17 #define PHY_MODE_QSGMII 4