blob: acfb5135dbe65717b888e7f7c5ef1cbe639a577c [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/* Physical Memory Map */
Tim Harvey552c3582014-03-06 07:46:30 -080022#define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
Tom Rinibb4dd962022-11-16 13:10:37 -050023#define CFG_SYS_SDRAM_BASE PHYS_SDRAM
Tom Rini6a5dccc2022-11-16 13:10:41 -050024#define CFG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
25#define CFG_SYS_INIT_RAM_SIZE IRAM_SIZE
Tim Harvey552c3582014-03-06 07:46:30 -080026
Tim Harvey552c3582014-03-06 07:46:30 -080027#endif /* __CONFIG_H */