db-88f6281-bp.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. #ifndef _CONFIG_DB_88F6281_BP_H
  3. #define _CONFIG_DB_88F6281_BP_H
  4. /*
  5. * High Level Configuration Options (easy to change)
  6. */
  7. #define CONFIG_FEROCEON_88FR131 1 /* CPU Core subversion */
  8. #define CONFIG_KW88F6281 1 /* SOC Name */
  9. #define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */
  10. #define CONFIG_SYS_TCLK 166666667
  11. #define CONFIG_SYS_KWD_CONFIG $(CONFIG_BOARDDIR)/kwbimage.cfg
  12. /* additions for new ARM relocation support */
  13. #define CONFIG_SYS_SDRAM_BASE 0x00000000
  14. #define CONFIG_KIRKWOOD_EGIGA_INIT /* Enable GbePort0/1 for kernel */
  15. #define CONFIG_KIRKWOOD_PCIE_INIT /* Enable PCIE Port0 */
  16. #define CONFIG_KIRKWOOD_RGMII_PAD_1V8 /* Set RGMII Pad voltage to 1.8V */
  17. #define CONFIG_KIRKWOOD_GPIO 1
  18. /*
  19. * NS16550 Configuration
  20. */
  21. #define CONFIG_SYS_NS16550_SERIAL
  22. #define CONFIG_SYS_NS16550_REG_SIZE (-4)
  23. #define CONFIG_SYS_NS16550_CLK CONFIG_SYS_TCLK
  24. #define CONFIG_SYS_NS16550_COM1 KW_UART0_BASE
  25. #define CONFIG_SYS_MAX_NAND_DEVICE 1
  26. /*
  27. * Environment variables configurations
  28. */
  29. #define CONFIG_ENV_SPI_BUS 0
  30. #define CONFIG_ENV_SPI_CS 0
  31. #define CONFIG_ENV_SPI_MAX_HZ 20000000 /* 20Mhz */
  32. #define CONFIG_ENV_SPI_MODE CONFIG_SF_DEFAULT_MODE
  33. /*
  34. * U-Boot bootcode configuration
  35. */
  36. #define CONFIG_SYS_MONITOR_LEN (256 << 10) /* Reserve 256 kB for monitor */
  37. #define CONFIG_SYS_MALLOC_LEN (4 << 20) /* Reserve 4.0 MB for malloc */
  38. /*
  39. * For booting Linux, the board info and command line data
  40. * have to be in the first 8 MB of memory, since this is
  41. * the maximum mapped by the Linux kernel during initialization.
  42. */
  43. #define CONFIG_SYS_BOOTMAPSZ (8 << 20) /* Initial Mem map for Linux*/
  44. /* size in bytes reserved for initial data */
  45. #include <asm/arch/config.h>
  46. /* There is no PHY directly connected so don't ask it for link status */
  47. #undef CONFIG_SYS_FAULT_ECHO_LINK_DOWN
  48. /*
  49. * Other required minimal configurations
  50. */
  51. #define CONFIG_SYS_RESET_ADDRESS 0xffff0000 /* Rst Vector Adr */
  52. /*
  53. * SDIO/MMC Card Configuration
  54. */
  55. #ifdef CONFIG_CMD_MMC
  56. #define CONFIG_MVEBU_MMC
  57. #define CONFIG_SYS_MMC_BASE KW_SDIO_BASE
  58. #endif /* CONFIG_CMD_MMC */
  59. /*
  60. * SATA Driver configuration
  61. */
  62. #ifdef CONFIG_MVSATA_IDE
  63. #define CONFIG_SYS_ATA_IDE0_OFFSET MV_SATA_PORT0_OFFSET
  64. #endif /*CONFIG_MVSATA_IDE*/
  65. #define CONFIG_SYS_LOAD_ADDR 0x1000000 /* default location for tftp and bootm */
  66. #endif /* _CONFIG_DB_88F6281_BP_H */