xref: /linux/include/dt-bindings/net/microchip-lan78xx.h (revision 3eb66e91a25497065c5322b1268cbc3953642227)
1*1827b067SPhil Elwell /* SPDX-License-Identifier: GPL-2.0 */
2*1827b067SPhil Elwell #ifndef _DT_BINDINGS_MICROCHIP_LAN78XX_H
3*1827b067SPhil Elwell #define _DT_BINDINGS_MICROCHIP_LAN78XX_H
4*1827b067SPhil Elwell 
5*1827b067SPhil Elwell /* LED modes for LAN7800/LAN7850 embedded PHY */
6*1827b067SPhil Elwell 
7*1827b067SPhil Elwell #define LAN78XX_LINK_ACTIVITY           0
8*1827b067SPhil Elwell #define LAN78XX_LINK_1000_ACTIVITY      1
9*1827b067SPhil Elwell #define LAN78XX_LINK_100_ACTIVITY       2
10*1827b067SPhil Elwell #define LAN78XX_LINK_10_ACTIVITY        3
11*1827b067SPhil Elwell #define LAN78XX_LINK_100_1000_ACTIVITY  4
12*1827b067SPhil Elwell #define LAN78XX_LINK_10_1000_ACTIVITY   5
13*1827b067SPhil Elwell #define LAN78XX_LINK_10_100_ACTIVITY    6
14*1827b067SPhil Elwell #define LAN78XX_DUPLEX_COLLISION        8
15*1827b067SPhil Elwell #define LAN78XX_COLLISION               9
16*1827b067SPhil Elwell #define LAN78XX_ACTIVITY                10
17*1827b067SPhil Elwell #define LAN78XX_AUTONEG_FAULT           12
18*1827b067SPhil Elwell #define LAN78XX_FORCE_LED_OFF           14
19*1827b067SPhil Elwell #define LAN78XX_FORCE_LED_ON            15
20*1827b067SPhil Elwell 
21*1827b067SPhil Elwell #endif
22