2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2014-03-06 15:46:30 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2013 Gateworks Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CONFIG_H
|
|
|
|
#define __CONFIG_H
|
|
|
|
|
2014-06-02 23:13:27 +00:00
|
|
|
/* SPL */
|
|
|
|
/* Location in NAND to read U-Boot from */
|
|
|
|
|
2015-05-09 01:28:42 +00:00
|
|
|
/* Falcon Mode */
|
|
|
|
|
|
|
|
/* Falcon Mode - MMC support: args@1MB kernel@2MB */
|
|
|
|
|
2014-03-06 15:46:30 +00:00
|
|
|
#include "mx6_common.h"
|
|
|
|
|
|
|
|
/* Serial */
|
2022-12-04 15:04:55 +00:00
|
|
|
#define CFG_MXC_UART_BASE UART2_BASE
|
2014-03-06 15:46:30 +00:00
|
|
|
|
2021-03-01 22:33:36 +00:00
|
|
|
/* NAND */
|
2014-03-06 15:46:30 +00:00
|
|
|
|
|
|
|
/* MMC Configs */
|
2022-10-29 00:27:13 +00:00
|
|
|
#define CFG_SYS_FSL_ESDHC_ADDR 0
|
2014-03-06 15:46:30 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* PCI express
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* PMIC
|
|
|
|
*/
|
2022-12-04 15:13:35 +00:00
|
|
|
#define CFG_POWER_PFUZE100_I2C_ADDR 0x08
|
2022-12-04 15:13:34 +00:00
|
|
|
#define CFG_POWER_LTC3676_I2C_ADDR 0x3c
|
2014-03-06 15:46:30 +00:00
|
|
|
|
|
|
|
/* Various command support */
|
|
|
|
|
|
|
|
/* USB Configs */
|
2022-12-04 15:04:56 +00:00
|
|
|
#define CFG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
|
|
|
|
#define CFG_MXC_USB_FLAGS 0
|
2014-03-06 15:46:30 +00:00
|
|
|
|
|
|
|
/* Miscellaneous configurable options */
|
|
|
|
|
|
|
|
/* Memory configuration */
|
|
|
|
|
|
|
|
/* Physical Memory Map */
|
|
|
|
#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
|
2022-11-16 18:10:37 +00:00
|
|
|
#define CFG_SYS_SDRAM_BASE PHYS_SDRAM
|
2022-11-16 18:10:41 +00:00
|
|
|
#define CFG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
|
|
|
|
#define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE
|
2014-03-06 15:46:30 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* MTD Command for mtdparts
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Persistent Environment Config */
|
|
|
|
|
|
|
|
/* Environment */
|
|
|
|
|
|
|
|
#endif /* __CONFIG_H */
|