blob: 3e720a6e0af43ce5f1c54e5d6566eb98b870d940 [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
9#include "mx6_common.h"
Tim Harvey552c3582014-03-06 07:46:30 -080010
Tim Harvey552c3582014-03-06 07:46:30 -080011/* Serial */
Tom Rinia17aa192022-12-04 10:04:55 -050012#define CFG_MXC_UART_BASE UART2_BASE
Tim Harvey552c3582014-03-06 07:46:30 -080013
Tim Harvey552c3582014-03-06 07:46:30 -080014/* MMC Configs */
Tom Rini376b88a2022-10-28 20:27:13 -040015#define CFG_SYS_FSL_ESDHC_ADDR 0
Tim Harvey552c3582014-03-06 07:46:30 -080016
Fabio Estevamf5b11fa2024-08-16 00:22:17 -030017/* PMIC */
Tom Rinif52f9072022-12-04 10:13:35 -050018#define CFG_POWER_PFUZE100_I2C_ADDR 0x08
Tom Rini6e4344e2022-12-04 10:13:34 -050019#define CFG_POWER_LTC3676_I2C_ADDR 0x3c
Tim Harvey552c3582014-03-06 07:46:30 -080020
Tim Harvey552c3582014-03-06 07:46:30 -080021/* USB Configs */
Tom Rinib9796e82022-12-04 10:04:56 -050022#define CFG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
23#define CFG_MXC_USB_FLAGS 0
Tim Harvey552c3582014-03-06 07:46:30 -080024
Tim Harvey552c3582014-03-06 07:46:30 -080025/* Physical Memory Map */
Tim Harvey552c3582014-03-06 07:46:30 -080026#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
Tom Rinibb4dd962022-11-16 13:10:37 -050027#define CFG_SYS_SDRAM_BASE PHYS_SDRAM
Tom Rini6a5dccc2022-11-16 13:10:41 -050028#define CFG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
29#define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE
Tim Harvey552c3582014-03-06 07:46:30 -080030
Tim Harvey552c3582014-03-06 07:46:30 -080031#endif /* __CONFIG_H */