1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2011
4  * Jason Cooper <u-boot@lakedaemon.net>
5  *
6  * Based on work by:
7  * Marvell Semiconductor <www.marvell.com>
8  * Written-by: Siddarth Gore <gores@marvell.com>
9  */
10 
11 #ifndef __DREAMPLUG_H
12 #define __DREAMPLUG_H
13 
14 #define DREAMPLUG_OE_LOW	(~(0))
15 #define DREAMPLUG_OE_HIGH	(~(0))
16 #define DREAMPLUG_OE_VAL_LOW	0
17 #define DREAMPLUG_OE_VAL_HIGH	(0xf << 16) /* 4 LED Pins high */
18 
19 /* PHY related */
20 #define MV88E1116_MAC_CTRL2_REG		21
21 #define MV88E1116_PGADR_REG		22
22 #define MV88E1116_RGMII_TXTM_CTRL	(1 << 4)
23 #define MV88E1116_RGMII_RXTM_CTRL	(1 << 5)
24 
25 #endif /* __DREAMPLUG_H */
26