Quentin Schulz | b68fc09 | 2018-10-04 14:22:06 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ |
| 2 | /* Copyright (c) 2018 Microsemi Corporation */ |
| 3 | #ifndef __PHY_OCELOT_SERDES_H__ |
| 4 | #define __PHY_OCELOT_SERDES_H__ |
| 5 | |
| 6 | #define SERDES1G(x) (x) |
| 7 | #define SERDES1G_MAX SERDES1G(5) |
| 8 | #define SERDES6G(x) (SERDES1G_MAX + 1 + (x)) |
| 9 | #define SERDES6G_MAX SERDES6G(2) |
Gustavo A. R. Silva | 81fa7a6 | 2018-10-19 11:19:13 +0200 | [diff] [blame] | 10 | #define SERDES_MAX (SERDES6G_MAX + 1) |
Quentin Schulz | b68fc09 | 2018-10-04 14:22:06 +0200 | [diff] [blame] | 11 | |
| 12 | #endif |