blob: a70236681326c7f2a6705292b8542cbaa1dc5af3 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Siddarth Gore16b76702010-03-18 20:25:40 +05302/*
3 * (C) Copyright 2009
4 * Marvell Semiconductor <www.marvell.com>
5 * Written-by: Siddarth Gore <gores@marvell.com>
Siddarth Gore16b76702010-03-18 20:25:40 +05306 */
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 */