blob: da5fc8108fe5826f6864fc4b399b69a3795fb473 [file] [log] [blame]
Nishanth Menon9a0f4002015-07-22 18:05:41 -05001/*
2 * ti_armv7_omap.h
3 *
4 * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com/
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 *
8 * The various ARMv7 SoCs from TI all share a number of IP blocks when
9 * implementing a given feature. This is meant to isolate the features
10 * that are based on OMAP architecture.
11 */
12#ifndef __CONFIG_TI_ARMV7_OMAP_H__
13#define __CONFIG_TI_ARMV7_OMAP_H__
14
Nishanth Menon9a0f4002015-07-22 18:05:41 -050015/* I2C IP block */
16#define CONFIG_SYS_OMAP24_I2C_SPEED 100000
17#define CONFIG_SYS_OMAP24_I2C_SLAVE 1
Nishanth Menon9a0f4002015-07-22 18:05:41 -050018
Nishanth Menon9a0f4002015-07-22 18:05:41 -050019/*
20 * GPMC NAND block. We support 1 device and the physical address to
21 * access CS0 at is 0x8000000.
22 */
23#ifdef CONFIG_NAND
Nishanth Menon9a0f4002015-07-22 18:05:41 -050024#ifndef CONFIG_SYS_NAND_BASE
25#define CONFIG_SYS_NAND_BASE 0x8000000
26#endif
27#define CONFIG_SYS_MAX_NAND_DEVICE 1
Nishanth Menon9a0f4002015-07-22 18:05:41 -050028#endif
29
30/* Now for the remaining common defines */
31#include <configs/ti_armv7_common.h>
32
33#endif /* __CONFIG_TI_ARMV7_OMAP_H__ */