spear6xx_evb.h 864 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2009
  4. * Vipin Kumar, STMicroelectronics, <vipin.kumar@st.com>
  5. */
  6. #ifndef __CONFIG_H
  7. #define __CONFIG_H
  8. /*
  9. * High Level Configuration Options
  10. * (easy to change)
  11. */
  12. #if defined(CONFIG_USBTTY)
  13. #define CONFIG_SPEAR_USBTTY
  14. #endif
  15. #include <configs/spear-common.h>
  16. /* Serial Configuration (PL011) */
  17. #define CONFIG_SYS_SERIAL0 0xD0000000
  18. #define CONFIG_SYS_SERIAL1 0xD0080000
  19. #define CONFIG_PL01x_PORTS { (void *)CONFIG_SYS_SERIAL0, \
  20. (void *)CONFIG_SYS_SERIAL1 }
  21. /* NAND flash configuration */
  22. #define CONFIG_SYS_FSMC_NAND_SP
  23. #define CONFIG_SYS_FSMC_NAND_8BIT
  24. #define CONFIG_SYS_NAND_BASE 0xD2000000
  25. /* Ethernet PHY configuration */
  26. #define CONFIG_PHY_NATSEMI
  27. /* Environment Settings */
  28. #define CONFIG_EXTRA_ENV_SETTINGS CONFIG_EXTRA_ENV_USBTTY
  29. #endif /* __CONFIG_H */