Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Jason Cooper | 2e0c1c7 | 2011-10-03 13:49:53 +0530 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2011 |
| 4 | * Jason Cooper <u-boot@lakedaemon.net> |
| 5 | * |
| 6 | * Based on work by: |
| 7 | * Marvell Semiconductor <www.marvell.com> |
| 8 | * Written-by: Siddarth Gore <gores@marvell.com> |
Jason Cooper | 2e0c1c7 | 2011-10-03 13:49:53 +0530 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | #ifndef __DREAMPLUG_H |
| 12 | #define __DREAMPLUG_H |
| 13 | |
| 14 | #define DREAMPLUG_OE_LOW (~(0)) |
| 15 | #define DREAMPLUG_OE_HIGH (~(0)) |
| 16 | #define DREAMPLUG_OE_VAL_LOW 0 |
| 17 | #define DREAMPLUG_OE_VAL_HIGH (0xf << 16) /* 4 LED Pins high */ |
| 18 | |
| 19 | /* PHY related */ |
| 20 | #define MV88E1116_MAC_CTRL2_REG 21 |
| 21 | #define MV88E1116_PGADR_REG 22 |
| 22 | #define MV88E1116_RGMII_TXTM_CTRL (1 << 4) |
| 23 | #define MV88E1116_RGMII_RXTM_CTRL (1 << 5) |
| 24 | |
| 25 | #endif /* __DREAMPLUG_H */ |