a9ef35ebeb6c8e1c9cba647d3c6a81669976e404
[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
24 /* MMC Configs */
25 #define CFG_SYS_FSL_ESDHC_ADDR      0
26
27 /*
28  * PCI express
29  */
30
31 /*
32  * PMIC
33  */
34 #define CONFIG_POWER_PFUZE100
35 #define CONFIG_POWER_PFUZE100_I2C_ADDR  0x08
36 #define CONFIG_POWER_LTC3676
37 #define CONFIG_POWER_LTC3676_I2C_ADDR  0x3c
38
39 /* Various command support */
40
41 /* USB Configs */
42 #define CONFIG_MXC_USB_PORTSC     (PORT_PTS_UTMI | PORT_PTS_PTW)
43 #define CONFIG_MXC_USB_FLAGS      0
44 #define CONFIG_USBD_HS
45
46 /* Framebuffer and LCD */
47 #define CONFIG_IMX_HDMI
48 #define CONFIG_IMX_VIDEO_SKIP
49
50 /* Miscellaneous configurable options */
51 #define CONFIG_HWCONFIG
52
53 /* Memory configuration */
54
55 /* Physical Memory Map */
56 #define PHYS_SDRAM                     MMDC0_ARB_BASE_ADDR
57 #define CONFIG_SYS_SDRAM_BASE          PHYS_SDRAM
58 #define CONFIG_SYS_INIT_RAM_ADDR       IRAM_BASE_ADDR
59 #define CONFIG_SYS_INIT_RAM_SIZE       IRAM_SIZE
60
61 /*
62  * MTD Command for mtdparts
63  */
64
65 /* Persistent Environment Config */
66
67 /* Environment */
68 #define CONFIG_IPADDR             192.168.1.1
69 #define CONFIG_SERVERIP           192.168.1.146
70
71 #endif                         /* __CONFIG_H */