blob: 6f62238985b22e27f2c8d33f549d47ba5d32425f [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Jason Cooper8d038fa2011-10-03 13:49:53 +05302/*
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>
Jason Cooper8d038fa2011-10-03 13:49:53 +05309 */
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 */