104d8a0a5SRaju Lakkaraju /* 204d8a0a5SRaju Lakkaraju * Device Tree constants for Microsemi VSC8531 PHY 304d8a0a5SRaju Lakkaraju * 404d8a0a5SRaju Lakkaraju * Author: Nagaraju Lakkaraju 504d8a0a5SRaju Lakkaraju * 604d8a0a5SRaju Lakkaraju * License: Dual MIT/GPL 704d8a0a5SRaju Lakkaraju * Copyright (c) 2017 Microsemi Corporation 804d8a0a5SRaju Lakkaraju */ 904d8a0a5SRaju Lakkaraju 1004d8a0a5SRaju Lakkaraju #ifndef _DT_BINDINGS_MSCC_VSC8531_H 1104d8a0a5SRaju Lakkaraju #define _DT_BINDINGS_MSCC_VSC8531_H 1204d8a0a5SRaju Lakkaraju 1304d8a0a5SRaju Lakkaraju /* PHY LED Modes */ 1404d8a0a5SRaju Lakkaraju #define VSC8531_LINK_ACTIVITY 0 1504d8a0a5SRaju Lakkaraju #define VSC8531_LINK_1000_ACTIVITY 1 1604d8a0a5SRaju Lakkaraju #define VSC8531_LINK_100_ACTIVITY 2 1704d8a0a5SRaju Lakkaraju #define VSC8531_LINK_10_ACTIVITY 3 1804d8a0a5SRaju Lakkaraju #define VSC8531_LINK_100_1000_ACTIVITY 4 1904d8a0a5SRaju Lakkaraju #define VSC8531_LINK_10_1000_ACTIVITY 5 2004d8a0a5SRaju Lakkaraju #define VSC8531_LINK_10_100_ACTIVITY 6 21*9494a6c2SQuentin Schulz #define VSC8584_LINK_100FX_1000X_ACTIVITY 7 2204d8a0a5SRaju Lakkaraju #define VSC8531_DUPLEX_COLLISION 8 2304d8a0a5SRaju Lakkaraju #define VSC8531_COLLISION 9 2404d8a0a5SRaju Lakkaraju #define VSC8531_ACTIVITY 10 25*9494a6c2SQuentin Schulz #define VSC8584_100FX_1000X_ACTIVITY 11 2604d8a0a5SRaju Lakkaraju #define VSC8531_AUTONEG_FAULT 12 2704d8a0a5SRaju Lakkaraju #define VSC8531_SERIAL_MODE 13 2804d8a0a5SRaju Lakkaraju #define VSC8531_FORCE_LED_OFF 14 2904d8a0a5SRaju Lakkaraju #define VSC8531_FORCE_LED_ON 15 3004d8a0a5SRaju Lakkaraju 3104d8a0a5SRaju Lakkaraju #endif 32