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