condor.h 913 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * include/configs/condor.h
  4. * This file is Condor board configuration.
  5. *
  6. * Copyright (C) 2019 Renesas Electronics Corporation
  7. */
  8. #ifndef __CONDOR_H
  9. #define __CONDOR_H
  10. #include "rcar-gen3-common.h"
  11. /* Ethernet RAVB */
  12. #define CONFIG_BITBANGMII
  13. #define CONFIG_BITBANGMII_MULTI
  14. /* Environment compatibility */
  15. /* SH Ether */
  16. #define CONFIG_SH_ETHER_USE_PORT 0
  17. #define CONFIG_SH_ETHER_PHY_ADDR 0x1
  18. #define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
  19. #define CONFIG_SH_ETHER_CACHE_WRITEBACK
  20. #define CONFIG_SH_ETHER_CACHE_INVALIDATE
  21. #define CONFIG_SH_ETHER_ALIGNE_SIZE 64
  22. #define CONFIG_BITBANGMII
  23. #define CONFIG_BITBANGMII_MULTI
  24. /* Board Clock */
  25. /* XTAL_CLK : 33.33MHz */
  26. #define CONFIG_SYS_CLK_FREQ 33333333u
  27. /* Generic Timer Definitions (use in assembler source) */
  28. #define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */
  29. #endif /* __CONDOR_H */