falcon.h 776 B

123456789101112131415161718192021222324252627282930313233343536
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * include/configs/falcon.h
  4. * This file is Falcon board configuration.
  5. *
  6. * Copyright (C) 2020 Renesas Electronics Corp.
  7. */
  8. #ifndef __FALCON_H
  9. #define __FALCON_H
  10. #include "rcar-gen3-common.h"
  11. /* Generic Interrupt Controller Definitions */
  12. #ifdef CONFIG_GICV2
  13. #undef CONFIG_GICV2
  14. #undef GICD_BASE
  15. #undef GICC_BASE
  16. #undef GICR_BASE
  17. #endif
  18. #define CONFIG_GICV3
  19. #define GICD_BASE 0xF1000000
  20. #define GICR_BASE 0xF1060000
  21. /* Ethernet RAVB */
  22. #define CONFIG_BITBANGMII
  23. #define CONFIG_BITBANGMII_MULTI
  24. /* Board Clock */
  25. /* XTAL_CLK : 16.66MHz */
  26. #define CONFIG_SYS_CLK_FREQ 16666666u
  27. /* Generic Timer Definitions (use in assembler source) */
  28. #define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */
  29. #endif /* __FALCON_H */