WIP FPC-III support
[linux/fpc-iii.git] / include / dt-bindings / net / mscc-phy-vsc8531.h
blob9eb2ec2b2ea99a9e4e8788dad0fdde9784175f44
1 /*
2 * Device Tree constants for Microsemi VSC8531 PHY
4 * Author: Nagaraju Lakkaraju
6 * License: Dual MIT/GPL
7 * Copyright (c) 2017 Microsemi Corporation
8 */
10 #ifndef _DT_BINDINGS_MSCC_VSC8531_H
11 #define _DT_BINDINGS_MSCC_VSC8531_H
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
31 #endif