1/* 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 * 9 * SPDX-License-Identifier: GPL-2.0+ 10 */ 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 */ 27