2d73c75b8c0f332784c423c84209acb02db564d8
[platform/kernel/u-boot.git] / include / configs / sun50i.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Configuration settings for the Allwinner A64 (sun50i) CPU
4  */
5
6 #ifndef __CONFIG_H
7 #define __CONFIG_H
8
9 /*
10  * A64 specific configuration
11  */
12
13 #ifdef CONFIG_USB_EHCI_HCD
14 #define CONFIG_USB_EHCI_SUNXI
15 #define CONFIG_USB_MAX_CONTROLLER_COUNT 1
16 #endif
17
18 #ifndef CONFIG_MACH_SUN50I_H6
19 #define GICD_BASE               0x1c81000
20 #define GICC_BASE               0x1c82000
21 #else
22 #define GICD_BASE               0x3021000
23 #define GICC_BASE               0x3022000
24 #endif
25
26 /*
27  * Include common sunxi configuration where most the settings are
28  */
29 #include <configs/sunxi-common.h>
30
31 #endif /* __CONFIG_H */