imx6/imx7: Remove now empty imx6_spl.h and imx7_spl.h
[platform/kernel/u-boot.git] / include / configs / vining_2000.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2016 samtec automotive software & electronics gmbh
4  *
5  * Configuration settings for the Samtec VIN|ING 2000 board.
6  */
7
8 #ifndef __CONFIG_H
9 #define __CONFIG_H
10
11 #include "mx6_common.h"
12
13 #define BOOT_TARGET_DEVICES(func) \
14         func(MMC, mmc, 0) \
15         func(MMC, mmc, 1) \
16         func(USB, usb, 0) \
17         func(PXE, pxe, na) \
18         func(DHCP, dhcp, na)
19 #include <config_distro_bootcmd.h>
20
21 /* Miscellaneous configurable options */
22
23 /* Physical Memory Map */
24 #define PHYS_SDRAM                      MMDC0_ARB_BASE_ADDR
25
26 #define CONFIG_SYS_SDRAM_BASE           PHYS_SDRAM
27 #define CONFIG_SYS_INIT_RAM_ADDR        IRAM_BASE_ADDR
28 #define CONFIG_SYS_INIT_RAM_SIZE        IRAM_SIZE
29
30 /* MMC Configuration */
31 #define CFG_SYS_FSL_ESDHC_ADDR  USDHC4_BASE_ADDR
32
33 /* PMIC */
34 #define CONFIG_POWER_PFUZE100
35 #define CONFIG_POWER_PFUZE100_I2C_ADDR  0x08
36
37 /* Network */
38 #define CONFIG_FEC_MXC_PHYADDR          0x0
39
40 #define CONFIG_MXC_USB_PORTSC  (PORT_PTS_UTMI | PORT_PTS_PTW)
41 #define CONFIG_MXC_USB_FLAGS   0
42
43 #ifdef CONFIG_CMD_PCI
44 #define CONFIG_PCIE_IMX_PERST_GPIO      IMX_GPIO_NR(4, 6)
45 #endif
46
47 #define CONFIG_IMX6_PWM_PER_CLK 66000000
48
49 #ifdef CONFIG_ENV_IS_IN_MMC
50 /* 0=user, 1=boot0, 2=boot1, * 4..7=general0..3. */
51 #endif
52
53 #ifdef CONFIG_SPL_BUILD
54 #define CONFIG_MXC_UART_BASE            UART1_BASE
55 #endif
56
57 #endif                          /* __CONFIG_H */