4a0aaf4da58348ad69664aac8bf6a091ee6ee161
[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
35 /*
36  * PMIC
37  */
38 #define CONFIG_POWER_PFUZE100
39 #define CONFIG_POWER_PFUZE100_I2C_ADDR  0x08
40 #define CONFIG_POWER_LTC3676
41 #define CONFIG_POWER_LTC3676_I2C_ADDR  0x3c
42
43 /* Various command support */
44
45 /* USB Configs */
46 #define CONFIG_MXC_USB_PORTSC     (PORT_PTS_UTMI | PORT_PTS_PTW)
47 #define CONFIG_MXC_USB_FLAGS      0
48 #define CONFIG_USBD_HS
49
50 /* Framebuffer and LCD */
51 #define CONFIG_IMX_HDMI
52 #define CONFIG_IMX_VIDEO_SKIP
53 #define CONFIG_HIDE_LOGO_VERSION  /* Custom config to hide U-boot version */
54
55 /* Miscellaneous configurable options */
56 #define CONFIG_HWCONFIG
57
58 /* Memory configuration */
59
60 /* Physical Memory Map */
61 #define PHYS_SDRAM                     MMDC0_ARB_BASE_ADDR
62 #define CONFIG_SYS_SDRAM_BASE          PHYS_SDRAM
63 #define CONFIG_SYS_INIT_RAM_ADDR       IRAM_BASE_ADDR
64 #define CONFIG_SYS_INIT_RAM_SIZE       IRAM_SIZE
65
66 /*
67  * MTD Command for mtdparts
68  */
69
70 /* Persistent Environment Config */
71
72 /* Environment */
73 #define CONFIG_IPADDR             192.168.1.1
74 #define CONFIG_SERVERIP           192.168.1.146
75
76 #endif                         /* __CONFIG_H */