1*e67e8565SEmmanuel Vadot /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ 2*e67e8565SEmmanuel Vadot 3*e67e8565SEmmanuel Vadot #ifndef __PHY_LAN966X_SERDES_H__ 4*e67e8565SEmmanuel Vadot #define __PHY_LAN966X_SERDES_H__ 5*e67e8565SEmmanuel Vadot 6*e67e8565SEmmanuel Vadot #define CU(x) (x) 7*e67e8565SEmmanuel Vadot #define CU_MAX CU(2) 8*e67e8565SEmmanuel Vadot #define SERDES6G(x) (CU_MAX + 1 + (x)) 9*e67e8565SEmmanuel Vadot #define SERDES6G_MAX SERDES6G(3) 10*e67e8565SEmmanuel Vadot #define RGMII(x) (SERDES6G_MAX + 1 + (x)) 11*e67e8565SEmmanuel Vadot #define RGMII_MAX RGMII(2) 12*e67e8565SEmmanuel Vadot #define SERDES_MAX (RGMII_MAX + 1) 13*e67e8565SEmmanuel Vadot 14*e67e8565SEmmanuel Vadot #endif 15