2014-06-09 09:36:57 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2012-2013 Henrik Nordstrom <henrik@henriknordstrom.net>
|
|
|
|
*
|
|
|
|
* Configuration settings for the Allwinner A10 (sun4i) CPU
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
|
|
*/
|
|
|
|
#ifndef __CONFIG_H
|
|
|
|
#define __CONFIG_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* A10 specific configuration
|
|
|
|
*/
|
2014-06-13 20:55:50 +00:00
|
|
|
#define CONFIG_CLK_FULL_SPEED 1008000000
|
2014-06-09 09:36:57 +00:00
|
|
|
|
|
|
|
#define CONFIG_SYS_PROMPT "sun4i# "
|
2014-10-13 05:41:16 +00:00
|
|
|
#define CONFIG_MACH_TYPE 4104
|
2014-06-09 09:36:57 +00:00
|
|
|
|
2014-07-26 17:08:11 +00:00
|
|
|
#ifdef CONFIG_USB_EHCI
|
|
|
|
#define CONFIG_USB_EHCI_SUNXI
|
|
|
|
|
|
|
|
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
|
|
|
|
#ifndef CONFIG_SUNXI_USB_VBUS0_GPIO
|
|
|
|
#define CONFIG_SUNXI_USB_VBUS0_GPIO SUNXI_GPH(6)
|
|
|
|
#endif
|
|
|
|
#ifndef CONFIG_SUNXI_USB_VBUS1_GPIO
|
|
|
|
#define CONFIG_SUNXI_USB_VBUS1_GPIO SUNXI_GPH(3)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2014-06-09 09:36:57 +00:00
|
|
|
/*
|
|
|
|
* Include common sunxi configuration where most the settings are
|
|
|
|
*/
|
|
|
|
#include <configs/sunxi-common.h>
|
|
|
|
|
|
|
|
#endif /* __CONFIG_H */
|