1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2009
4  * Marvell Semiconductor <www.marvell.com>
5  * Written-by: Siddarth Gore <gores@marvell.com>
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 */
23