blob: 697161f80eb5528deb8bb32cc4eaf74147fdd9ef [file] [log] [blame]
Raju Lakkaraju04d8a0a2017-02-07 19:10:26 +05301/*
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 VSC8531_DUPLEX_COLLISION 8
22#define VSC8531_COLLISION 9
23#define VSC8531_ACTIVITY 10
24#define VSC8531_AUTONEG_FAULT 12
25#define VSC8531_SERIAL_MODE 13
26#define VSC8531_FORCE_LED_OFF 14
27#define VSC8531_FORCE_LED_ON 15
28
29#endif