Merge branch '2022-06-28-Kconfig-migrations' into next
[platform/kernel/u-boot.git] / include / configs / gw_ventana.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2013 Gateworks Corporation
4  */
5
6 #ifndef __CONFIG_H
7 #define __CONFIG_H
8
9 /* SPL */
10 /* Location in NAND to read U-Boot from */
11
12 /* Falcon Mode */
13
14 /* Falcon Mode - MMC support: args@1MB kernel@2MB */
15
16 #include "imx6_spl.h"                  /* common IMX6 SPL configuration */
17 #include "mx6_common.h"
18
19 /* Serial */
20 #define CONFIG_MXC_UART_BASE           UART2_BASE
21
22 /* NAND */
23 #define CONFIG_SYS_MAX_NAND_DEVICE      1
24
25 #undef CONFIG_SYS_BOOTM_LEN
26 #define CONFIG_SYS_BOOTM_LEN            (64 << 20)
27
28 /* MMC Configs */
29 #define CONFIG_SYS_FSL_ESDHC_ADDR      0
30
31 /*
32  * PCI express
33  */
34 #ifdef CONFIG_CMD_PCI
35 #define CONFIG_PCIE_IMX
36 #endif
37
38 /*
39  * PMIC
40  */
41 #define CONFIG_POWER_PFUZE100
42 #define CONFIG_POWER_PFUZE100_I2C_ADDR  0x08
43 #define CONFIG_POWER_LTC3676
44 #define CONFIG_POWER_LTC3676_I2C_ADDR  0x3c
45
46 /* Various command support */
47
48 /* USB Configs */
49 #define CONFIG_MXC_USB_PORTSC     (PORT_PTS_UTMI | PORT_PTS_PTW)
50 #define CONFIG_MXC_USB_FLAGS      0
51 #define CONFIG_USBD_HS
52
53 /* Framebuffer and LCD */
54 #define CONFIG_IMX_HDMI
55 #define CONFIG_IMX_VIDEO_SKIP
56 #define CONFIG_HIDE_LOGO_VERSION  /* Custom config to hide U-boot version */
57
58 /* Miscellaneous configurable options */
59 #define CONFIG_HWCONFIG
60
61 /* Memory configuration */
62
63 /* Physical Memory Map */
64 #define PHYS_SDRAM                     MMDC0_ARB_BASE_ADDR
65 #define CONFIG_SYS_SDRAM_BASE          PHYS_SDRAM
66 #define CONFIG_SYS_INIT_RAM_ADDR       IRAM_BASE_ADDR
67 #define CONFIG_SYS_INIT_RAM_SIZE       IRAM_SIZE
68
69 /*
70  * MTD Command for mtdparts
71  */
72
73 /* Persistent Environment Config */
74
75 /* Environment */
76 #define CONFIG_IPADDR             192.168.1.1
77 #define CONFIG_SERVERIP           192.168.1.146
78
79 #endif                         /* __CONFIG_H */