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