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