Siddarth Gore | 16b7670 | 2010-03-18 20:25:40 +0530 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2009 |
| 3 | * Marvell Semiconductor <www.marvell.com> |
| 4 | * Written-by: Siddarth Gore <gores@marvell.com> |
| 5 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 6 | * SPDX-License-Identifier: GPL-2.0+ |
Siddarth Gore | 16b7670 | 2010-03-18 20:25:40 +0530 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #ifndef __GURUPLUG_H |
| 10 | #define __GURUPLUG_H |
| 11 | |
| 12 | #define GURUPLUG_OE_LOW (~(0)) |
| 13 | #define GURUPLUG_OE_HIGH (~(0)) |
| 14 | #define GURUPLUG_OE_VAL_LOW 0 |
| 15 | #define GURUPLUG_OE_VAL_HIGH (0xf << 16) /* 4 LED Pins high */ |
| 16 | |
| 17 | /* PHY related */ |
| 18 | #define MV88E1121_MAC_CTRL2_REG 21 |
| 19 | #define MV88E1121_PGADR_REG 22 |
| 20 | #define MV88E1121_RGMII_TXTM_CTRL (1 << 4) |
| 21 | #define MV88E1121_RGMII_RXTM_CTRL (1 << 5) |
| 22 | |
| 23 | #endif /* __GURUPLUG_H */ |