Zephyr API Documentation
4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
phy_connection_type.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: Copyright The Zephyr Project Contributors
3
* SPDX-License-Identifier: Apache-2.0
4
*/
5
6
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ETHERNET_PHY_CONNECTION_TYPE_H_
7
#define ZEPHYR_INCLUDE_DT_BINDINGS_ETHERNET_PHY_CONNECTION_TYPE_H_
8
9
/*
10
* Indices of the phy-connection-type enum in ethernet-controller.yaml, as
11
* returned by DT_ENUM_IDX() / DT_INST_ENUM_IDX(). Must match the enum order.
12
*/
13
#define ETHERNET_PHY_CONN_TYPE_MII 0
14
#define ETHERNET_PHY_CONN_TYPE_RMII 1
15
#define ETHERNET_PHY_CONN_TYPE_GMII 2
16
#define ETHERNET_PHY_CONN_TYPE_RGMII 3
17
#define ETHERNET_PHY_CONN_TYPE_RGMII_ID 4
18
#define ETHERNET_PHY_CONN_TYPE_RGMII_TXID 5
19
#define ETHERNET_PHY_CONN_TYPE_RGMII_RXID 6
20
#define ETHERNET_PHY_CONN_TYPE_TBI 7
21
#define ETHERNET_PHY_CONN_TYPE_RTBI 8
22
#define ETHERNET_PHY_CONN_TYPE_SMII 9
23
#define ETHERNET_PHY_CONN_TYPE_SGMII 10
24
#define ETHERNET_PHY_CONN_TYPE_REV_MII 11
25
#define ETHERNET_PHY_CONN_TYPE_XGMII 12
26
#define ETHERNET_PHY_CONN_TYPE_MOCA 13
27
#define ETHERNET_PHY_CONN_TYPE_QSGMII 14
28
#define ETHERNET_PHY_CONN_TYPE_TRGMII 15
29
#define ETHERNET_PHY_CONN_TYPE_INTERNAL 16
30
31
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_ETHERNET_PHY_CONNECTION_TYPE_H_ */
zephyr
dt-bindings
ethernet
phy_connection_type.h
Generated on
for Zephyr API Documentation by
1.16.1