blob: c340437414fbce35efd9eefb4fe4bee94eecea4e [file] [log] [blame]
Harini Katakam62591cb2020-09-08 15:22:36 +05301/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
2/*
3 * Device Tree constants for Microsemi VSC8531 PHY
4 *
5 * Author: Nagaraju Lakkaraju
6 *
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
Harini Katakam62591cb2020-09-08 15:22:36 +053031#endif