File: ocelot_data.h

package info (click to toggle)
u-boot 2023.01%2Bdfsg-2%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 167,504 kB
  • sloc: ansic: 2,036,483; python: 39,879; asm: 21,501; makefile: 11,365; perl: 11,111; sh: 3,657; cpp: 1,868; yacc: 1,100; lex: 747; awk: 57; tcl: 28; sed: 24
file content (19 lines) | stat: -rw-r--r-- 439 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
 * Copyright (c) 2019 Microsemi Corporation
 */

#ifndef _OCELOT_DATA_H_
#define _OCELOT_DATA_H_

#define SERDES1G(x)     (x)
#define SERDES1G_MAX    SERDES1G(7)
#define SERDES6G(x)     (SERDES1G_MAX + 1 + (x))
#define SERDES6G_MAX    SERDES6G(11)
#define SERDES_MAX      (SERDES6G_MAX + 1)

/* similar with phy_interface_t */
#define PHY_MODE_SGMII  2
#define PHY_MODE_QSGMII 4

#endif