dreamplug.h 632 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  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>
  9. */
  10. #ifndef __DREAMPLUG_H
  11. #define __DREAMPLUG_H
  12. #define DREAMPLUG_OE_LOW (~(0))
  13. #define DREAMPLUG_OE_HIGH (~(0))
  14. #define DREAMPLUG_OE_VAL_LOW 0
  15. #define DREAMPLUG_OE_VAL_HIGH (0xf << 16) /* 4 LED Pins high */
  16. /* PHY related */
  17. #define MV88E1116_MAC_CTRL2_REG 21
  18. #define MV88E1116_PGADR_REG 22
  19. #define MV88E1116_RGMII_TXTM_CTRL (1 << 4)
  20. #define MV88E1116_RGMII_RXTM_CTRL (1 << 5)
  21. #endif /* __DREAMPLUG_H */