dreamplug.h 632 B

1234567891011121314151617181920212223242526
  1. /*
  2. * (C) Copyright 2011
  3. * Jason Cooper <u-boot@lakedaemon.net>
  4. *
  5. * Based on work by:
  6. * Marvell Semiconductor <www.marvell.com>
  7. * Written-by: Siddarth Gore <gores@marvell.com>
  8. *
  9. * SPDX-License-Identifier: GPL-2.0+
  10. */
  11. #ifndef __DREAMPLUG_H
  12. #define __DREAMPLUG_H
  13. #define DREAMPLUG_OE_LOW (~(0))
  14. #define DREAMPLUG_OE_HIGH (~(0))
  15. #define DREAMPLUG_OE_VAL_LOW 0
  16. #define DREAMPLUG_OE_VAL_HIGH (0xf << 16) /* 4 LED Pins high */
  17. /* PHY related */
  18. #define MV88E1116_MAC_CTRL2_REG 21
  19. #define MV88E1116_PGADR_REG 22
  20. #define MV88E1116_RGMII_TXTM_CTRL (1 << 4)
  21. #define MV88E1116_RGMII_RXTM_CTRL (1 << 5)
  22. #endif /* __DREAMPLUG_H */