blob: cbb16444765aa7d8389577342df7b4227dabf08b [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Eric Coopera3f41c82010-11-24 17:11:32 +05302/*
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>
Eric Coopera3f41c82010-11-24 17:11:32 +05309 */
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 */