condor.h 861 B

1234567891011121314151617181920212223242526272829303132333435
  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_MULTI
  13. /* Environment compatibility */
  14. /* SH Ether */
  15. #define CONFIG_SH_ETHER_USE_PORT 0
  16. #define CONFIG_SH_ETHER_PHY_ADDR 0x1
  17. #define CONFIG_SH_ETHER_PHY_MODE PHY_INTERFACE_MODE_RMII
  18. #define CONFIG_SH_ETHER_CACHE_WRITEBACK
  19. #define CONFIG_SH_ETHER_CACHE_INVALIDATE
  20. #define CONFIG_SH_ETHER_ALIGNE_SIZE 64
  21. #define CONFIG_BITBANGMII_MULTI
  22. /* Board Clock */
  23. /* XTAL_CLK : 33.33MHz */
  24. #define CONFIG_SYS_CLK_FREQ 33333333u
  25. /* Generic Timer Definitions (use in assembler source) */
  26. #define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */
  27. #endif /* __CONDOR_H */