18c2ecf20Sopenharmony_ci/*
28c2ecf20Sopenharmony_ci * Device Tree constants for Microsemi VSC8531 PHY
38c2ecf20Sopenharmony_ci *
48c2ecf20Sopenharmony_ci * Author: Nagaraju Lakkaraju
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci * License: Dual MIT/GPL
78c2ecf20Sopenharmony_ci * Copyright (c) 2017 Microsemi Corporation
88c2ecf20Sopenharmony_ci */
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_MSCC_VSC8531_H
118c2ecf20Sopenharmony_ci#define _DT_BINDINGS_MSCC_VSC8531_H
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci/* PHY LED Modes */
148c2ecf20Sopenharmony_ci#define VSC8531_LINK_ACTIVITY           0
158c2ecf20Sopenharmony_ci#define VSC8531_LINK_1000_ACTIVITY      1
168c2ecf20Sopenharmony_ci#define VSC8531_LINK_100_ACTIVITY       2
178c2ecf20Sopenharmony_ci#define VSC8531_LINK_10_ACTIVITY        3
188c2ecf20Sopenharmony_ci#define VSC8531_LINK_100_1000_ACTIVITY  4
198c2ecf20Sopenharmony_ci#define VSC8531_LINK_10_1000_ACTIVITY   5
208c2ecf20Sopenharmony_ci#define VSC8531_LINK_10_100_ACTIVITY    6
218c2ecf20Sopenharmony_ci#define VSC8584_LINK_100FX_1000X_ACTIVITY	7
228c2ecf20Sopenharmony_ci#define VSC8531_DUPLEX_COLLISION        8
238c2ecf20Sopenharmony_ci#define VSC8531_COLLISION               9
248c2ecf20Sopenharmony_ci#define VSC8531_ACTIVITY                10
258c2ecf20Sopenharmony_ci#define VSC8584_100FX_1000X_ACTIVITY	11
268c2ecf20Sopenharmony_ci#define VSC8531_AUTONEG_FAULT           12
278c2ecf20Sopenharmony_ci#define VSC8531_SERIAL_MODE             13
288c2ecf20Sopenharmony_ci#define VSC8531_FORCE_LED_OFF           14
298c2ecf20Sopenharmony_ci#define VSC8531_FORCE_LED_ON            15
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci#endif
32