1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2010  Eric C. Cooper <ecc@cmu.edu>
4  *
5  * Based on sheevaplug.h originally written by
6  * Prafulla Wadaskar <prafulla@marvell.com>
7  * (C) Copyright 2009
8  * Marvell Semiconductor <www.marvell.com>
9  */
10 
11 #ifndef __DOCKSTAR_H
12 #define __DOCKSTAR_H
13 
14 #define DOCKSTAR_OE_LOW		(~(0))
15 #define DOCKSTAR_OE_HIGH		(~(0))
16 #define DOCKSTAR_OE_VAL_LOW		(1 << 29)	/* USB_PWEN low */
17 #define DOCKSTAR_OE_VAL_HIGH		(1 << 17)	/* LED pin high */
18 
19 /* PHY related */
20 #define MV88E1116_LED_FCTRL_REG		10
21 #define MV88E1116_CPRSP_CR3_REG		21
22 #define MV88E1116_MAC_CTRL_REG		21
23 #define MV88E1116_PGADR_REG		22
24 #define MV88E1116_RGMII_TXTM_CTRL	(1 << 4)
25 #define MV88E1116_RGMII_RXTM_CTRL	(1 << 5)
26 
27 #endif /* __DOCKSTAR_H */
28