162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef _DT_BINDINGS_MICROCHIP_LAN78XX_H
362306a36Sopenharmony_ci#define _DT_BINDINGS_MICROCHIP_LAN78XX_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci/* LED modes for LAN7800/LAN7850 embedded PHY */
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#define LAN78XX_LINK_ACTIVITY           0
862306a36Sopenharmony_ci#define LAN78XX_LINK_1000_ACTIVITY      1
962306a36Sopenharmony_ci#define LAN78XX_LINK_100_ACTIVITY       2
1062306a36Sopenharmony_ci#define LAN78XX_LINK_10_ACTIVITY        3
1162306a36Sopenharmony_ci#define LAN78XX_LINK_100_1000_ACTIVITY  4
1262306a36Sopenharmony_ci#define LAN78XX_LINK_10_1000_ACTIVITY   5
1362306a36Sopenharmony_ci#define LAN78XX_LINK_10_100_ACTIVITY    6
1462306a36Sopenharmony_ci#define LAN78XX_DUPLEX_COLLISION        8
1562306a36Sopenharmony_ci#define LAN78XX_COLLISION               9
1662306a36Sopenharmony_ci#define LAN78XX_ACTIVITY                10
1762306a36Sopenharmony_ci#define LAN78XX_AUTONEG_FAULT           12
1862306a36Sopenharmony_ci#define LAN78XX_FORCE_LED_OFF           14
1962306a36Sopenharmony_ci#define LAN78XX_FORCE_LED_ON            15
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci#endif
22