xref: /openbmc/u-boot/include/configs/sun50i.h (revision 87f78478)
183d290c5STom Rini /* SPDX-License-Identifier: GPL-2.0+ */
2d96ebc46SSiarhei Siamashka /*
3d96ebc46SSiarhei Siamashka  * Configuration settings for the Allwinner A64 (sun50i) CPU
4d96ebc46SSiarhei Siamashka  */
5d96ebc46SSiarhei Siamashka 
6d96ebc46SSiarhei Siamashka #ifndef __CONFIG_H
7d96ebc46SSiarhei Siamashka #define __CONFIG_H
8d96ebc46SSiarhei Siamashka 
9d96ebc46SSiarhei Siamashka /*
10d96ebc46SSiarhei Siamashka  * A64 specific configuration
11d96ebc46SSiarhei Siamashka  */
12d96ebc46SSiarhei Siamashka 
13*6958c303SIcenowy Zheng #ifndef CONFIG_MACH_SUN50I_H6
14d96ebc46SSiarhei Siamashka #define GICD_BASE		0x1c81000
15d96ebc46SSiarhei Siamashka #define GICC_BASE		0x1c82000
16*6958c303SIcenowy Zheng #else
17*6958c303SIcenowy Zheng #define GICD_BASE		0x3021000
18*6958c303SIcenowy Zheng #define GICC_BASE		0x3022000
19*6958c303SIcenowy Zheng #endif
20d96ebc46SSiarhei Siamashka 
21d96ebc46SSiarhei Siamashka /*
22d96ebc46SSiarhei Siamashka  * Include common sunxi configuration where most the settings are
23d96ebc46SSiarhei Siamashka  */
24d96ebc46SSiarhei Siamashka #include <configs/sunxi-common.h>
25d96ebc46SSiarhei Siamashka 
26d96ebc46SSiarhei Siamashka #endif /* __CONFIG_H */
27