blob: 5a78c68e2fcc4ff541c817d1b614c9308db0e102 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Tim Harvey552c3582014-03-06 07:46:30 -08002/*
3 * Copyright (C) 2013 Gateworks Corporation
Tim Harvey552c3582014-03-06 07:46:30 -08004 */
5
6#ifndef __CONFIG_H
7#define __CONFIG_H
8
Tim Harveybfa2dae2014-06-02 16:13:27 -07009/* SPL */
Tim Harveybfa2dae2014-06-02 16:13:27 -070010/* Location in NAND to read U-Boot from */
Tim Harveybfa2dae2014-06-02 16:13:27 -070011
Tim Harveyfdb5afa2015-05-08 18:28:42 -070012/* Falcon Mode */
Tim Harveyfdb5afa2015-05-08 18:28:42 -070013
Tim Harveyfdb5afa2015-05-08 18:28:42 -070014/* Falcon Mode - MMC support: args@1MB kernel@2MB */
Tim Harveyfdb5afa2015-05-08 18:28:42 -070015
Tim Harvey552c3582014-03-06 07:46:30 -080016#include "mx6_common.h"
Tim Harvey552c3582014-03-06 07:46:30 -080017
Tim Harvey552c3582014-03-06 07:46:30 -080018/* Serial */
Tim Harvey552c3582014-03-06 07:46:30 -080019#define CONFIG_MXC_UART_BASE UART2_BASE
20
Tim Harvey8da219f2021-03-01 14:33:36 -080021/* NAND */
Tim Harvey552c3582014-03-06 07:46:30 -080022
Tim Harvey552c3582014-03-06 07:46:30 -080023/* MMC Configs */
Tom Rini376b88a2022-10-28 20:27:13 -040024#define CFG_SYS_FSL_ESDHC_ADDR 0
Tim Harvey552c3582014-03-06 07:46:30 -080025
Tim Harvey552c3582014-03-06 07:46:30 -080026/*
Tim Harvey552c3582014-03-06 07:46:30 -080027 * PCI express
28 */
Tim Harvey552c3582014-03-06 07:46:30 -080029
30/*
31 * PMIC
32 */
Tim Harvey552c3582014-03-06 07:46:30 -080033#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
Tim Harvey0dff16f2014-05-05 08:22:25 -070034#define CONFIG_POWER_LTC3676_I2C_ADDR 0x3c
Tim Harvey552c3582014-03-06 07:46:30 -080035
36/* Various command support */
Tim Harvey552c3582014-03-06 07:46:30 -080037
Tim Harvey552c3582014-03-06 07:46:30 -080038/* USB Configs */
Tim Harvey552c3582014-03-06 07:46:30 -080039#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
40#define CONFIG_MXC_USB_FLAGS 0
Tim Harvey552c3582014-03-06 07:46:30 -080041
Tim Harvey552c3582014-03-06 07:46:30 -080042/* Miscellaneous configurable options */
Tim Harvey552c3582014-03-06 07:46:30 -080043
Tim Harvey552c3582014-03-06 07:46:30 -080044/* Memory configuration */
Tim Harvey552c3582014-03-06 07:46:30 -080045
46/* Physical Memory Map */
Tim Harvey552c3582014-03-06 07:46:30 -080047#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
Tom Rinibb4dd962022-11-16 13:10:37 -050048#define CFG_SYS_SDRAM_BASE PHYS_SDRAM
Tom Rini6a5dccc2022-11-16 13:10:41 -050049#define CFG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
50#define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE
Tim Harvey552c3582014-03-06 07:46:30 -080051
Tim Harvey552c3582014-03-06 07:46:30 -080052/*
53 * MTD Command for mtdparts
54 */
Tim Harvey552c3582014-03-06 07:46:30 -080055
56/* Persistent Environment Config */
Tim Harvey552c3582014-03-06 07:46:30 -080057
58/* Environment */
Tim Harvey552c3582014-03-06 07:46:30 -080059
Tim Harvey552c3582014-03-06 07:46:30 -080060#endif /* __CONFIG_H */