blob: 7a5a1bf36e87a3f386718cfb24947cb1576cb752 [file] [log] [blame]
Horatiu Vulturf73c3df2019-04-24 11:27:59 +02001/* 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