blob: 688d950202d1bcfae451bdbeb17e52d8aa6be6de [file] [log] [blame]
Siddarth Gore11b10b02010-03-18 20:25:40 +05301/*
2 * (C) Copyright 2009
3 * Marvell Semiconductor <www.marvell.com>
4 * Written-by: Siddarth Gore <gores@marvell.com>
5 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02006 * SPDX-License-Identifier: GPL-2.0+
Siddarth Gore11b10b02010-03-18 20:25:40 +05307 */
8
9#ifndef __GURUPLUG_H
10#define __GURUPLUG_H
11
12#define GURUPLUG_OE_LOW (~(0))
13#define GURUPLUG_OE_HIGH (~(0))
14#define GURUPLUG_OE_VAL_LOW 0
15#define GURUPLUG_OE_VAL_HIGH (0xf << 16) /* 4 LED Pins high */
16
17/* PHY related */
18#define MV88E1121_MAC_CTRL2_REG 21
19#define MV88E1121_PGADR_REG 22
20#define MV88E1121_RGMII_TXTM_CTRL (1 << 4)
21#define MV88E1121_RGMII_RXTM_CTRL (1 << 5)
22
23#endif /* __GURUPLUG_H */