1 1.1 jmcneill /* $NetBSD: mscc-phy-vsc8531.h,v 1.1.1.2 2019/01/22 14:57:01 jmcneill Exp $ */ 2 1.1 jmcneill 3 1.1 jmcneill /* 4 1.1 jmcneill * Device Tree constants for Microsemi VSC8531 PHY 5 1.1 jmcneill * 6 1.1 jmcneill * Author: Nagaraju Lakkaraju 7 1.1 jmcneill * 8 1.1 jmcneill * License: Dual MIT/GPL 9 1.1 jmcneill * Copyright (c) 2017 Microsemi Corporation 10 1.1 jmcneill */ 11 1.1 jmcneill 12 1.1 jmcneill #ifndef _DT_BINDINGS_MSCC_VSC8531_H 13 1.1 jmcneill #define _DT_BINDINGS_MSCC_VSC8531_H 14 1.1 jmcneill 15 1.1 jmcneill /* PHY LED Modes */ 16 1.1 jmcneill #define VSC8531_LINK_ACTIVITY 0 17 1.1 jmcneill #define VSC8531_LINK_1000_ACTIVITY 1 18 1.1 jmcneill #define VSC8531_LINK_100_ACTIVITY 2 19 1.1 jmcneill #define VSC8531_LINK_10_ACTIVITY 3 20 1.1 jmcneill #define VSC8531_LINK_100_1000_ACTIVITY 4 21 1.1 jmcneill #define VSC8531_LINK_10_1000_ACTIVITY 5 22 1.1 jmcneill #define VSC8531_LINK_10_100_ACTIVITY 6 23 1.1.1.2 jmcneill #define VSC8584_LINK_100FX_1000X_ACTIVITY 7 24 1.1 jmcneill #define VSC8531_DUPLEX_COLLISION 8 25 1.1 jmcneill #define VSC8531_COLLISION 9 26 1.1 jmcneill #define VSC8531_ACTIVITY 10 27 1.1.1.2 jmcneill #define VSC8584_100FX_1000X_ACTIVITY 11 28 1.1 jmcneill #define VSC8531_AUTONEG_FAULT 12 29 1.1 jmcneill #define VSC8531_SERIAL_MODE 13 30 1.1 jmcneill #define VSC8531_FORCE_LED_OFF 14 31 1.1 jmcneill #define VSC8531_FORCE_LED_ON 15 32 1.1 jmcneill 33 1.1 jmcneill #endif 34