blob: 7a78f98eb15fbb6bf713c21a1064ede8b6e17a47 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Marek Vasutd64ff0d2011-11-26 11:27:30 +01002/*
3 * Toradex Colibri PXA270 configuration file
4 *
5 * Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com>
Marek Vasutd64ff0d2011-11-26 11:27:30 +01006 */
7
8#ifndef __CONFIG_PXA_COMMON_H__
9#define __CONFIG_PXA_COMMON_H__
10
Marek Vasutd64ff0d2011-11-26 11:27:30 +010011/*
Marek Vasutd64ff0d2011-11-26 11:27:30 +010012 * OHCI USB
13 */
14#ifdef CONFIG_CMD_USB
15#define CONFIG_USB_OHCI_NEW
16#define CONFIG_SYS_USB_OHCI_CPU_INIT
17#define CONFIG_SYS_USB_OHCI_BOARD_INIT
Vasily Khoruzhick8d840cf2016-03-20 18:37:04 -070018#ifdef CONFIG_CPU_PXA27X
19#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 3
20#else
Marek Vasutd64ff0d2011-11-26 11:27:30 +010021#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2
Vasily Khoruzhick8d840cf2016-03-20 18:37:04 -070022#endif
Marek Vasutd64ff0d2011-11-26 11:27:30 +010023#define CONFIG_SYS_USB_OHCI_REGS_BASE 0x4c000000
24#define CONFIG_SYS_USB_OHCI_SLOT_NAME "pxa-ohci"
Marek Vasutd64ff0d2011-11-26 11:27:30 +010025#endif
26
27#endif /* __CONFIG_PXA_COMMON_H__ */