xref: /linux/include/dt-bindings/net/mscc-phy-vsc8531.h (revision bd628c1bed7902ec1f24ba0fe70758949146abbe)
1 /*
2  * Device Tree constants for Microsemi VSC8531 PHY
3  *
4  * Author: Nagaraju Lakkaraju
5  *
6  * License: Dual MIT/GPL
7  * Copyright (c) 2017 Microsemi Corporation
8  */
9 
10 #ifndef _DT_BINDINGS_MSCC_VSC8531_H
11 #define _DT_BINDINGS_MSCC_VSC8531_H
12 
13 /* PHY LED Modes */
14 #define VSC8531_LINK_ACTIVITY           0
15 #define VSC8531_LINK_1000_ACTIVITY      1
16 #define VSC8531_LINK_100_ACTIVITY       2
17 #define VSC8531_LINK_10_ACTIVITY        3
18 #define VSC8531_LINK_100_1000_ACTIVITY  4
19 #define VSC8531_LINK_10_1000_ACTIVITY   5
20 #define VSC8531_LINK_10_100_ACTIVITY    6
21 #define VSC8584_LINK_100FX_1000X_ACTIVITY	7
22 #define VSC8531_DUPLEX_COLLISION        8
23 #define VSC8531_COLLISION               9
24 #define VSC8531_ACTIVITY                10
25 #define VSC8584_100FX_1000X_ACTIVITY	11
26 #define VSC8531_AUTONEG_FAULT           12
27 #define VSC8531_SERIAL_MODE             13
28 #define VSC8531_FORCE_LED_OFF           14
29 #define VSC8531_FORCE_LED_ON            15
30 
31 #endif
32