2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2016-03-29 15:29:10 +00:00
|
|
|
/*
|
|
|
|
* Configuration settings for the Allwinner A64 (sun50i) CPU
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CONFIG_H
|
|
|
|
#define __CONFIG_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* A64 specific configuration
|
|
|
|
*/
|
|
|
|
|
2017-05-13 02:33:27 +00:00
|
|
|
#ifdef CONFIG_USB_EHCI_HCD
|
2016-10-21 01:24:30 +00:00
|
|
|
#define CONFIG_USB_EHCI_SUNXI
|
|
|
|
#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
|
|
|
|
#endif
|
|
|
|
|
2018-07-21 08:20:25 +00:00
|
|
|
#ifndef CONFIG_MACH_SUN50I_H6
|
2016-03-29 15:29:10 +00:00
|
|
|
#define GICD_BASE 0x1c81000
|
|
|
|
#define GICC_BASE 0x1c82000
|
2018-07-21 08:20:25 +00:00
|
|
|
#else
|
|
|
|
#define GICD_BASE 0x3021000
|
|
|
|
#define GICC_BASE 0x3022000
|
|
|
|
#endif
|
2016-03-29 15:29:10 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Include common sunxi configuration where most the settings are
|
|
|
|
*/
|
|
|
|
#include <configs/sunxi-common.h>
|
|
|
|
|
|
|
|
#endif /* __CONFIG_H */
|