Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Configuration settings for the Allwinner A64 (sun50i) CPU |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __CONFIG_H |
| 7 | #define __CONFIG_H |
| 8 | |
| 9 | /* |
| 10 | * A64 specific configuration |
| 11 | */ |
| 12 | |
Tom Rini | 8850c5d | 2017-05-12 22:33:27 -0400 | [diff] [blame] | 13 | #ifdef CONFIG_USB_EHCI_HCD |
Amit Singh Tomar | 9d6c9d9 | 2016-10-21 02:24:30 +0100 | [diff] [blame] | 14 | #define CONFIG_USB_EHCI_SUNXI |
| 15 | #define CONFIG_USB_MAX_CONTROLLER_COUNT 1 |
| 16 | #endif |
| 17 | |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 18 | #define CONFIG_SUNXI_USB_PHYS 1 |
| 19 | |
Siarhei Siamashka | d96ebc4 | 2016-03-29 17:29:10 +0200 | [diff] [blame] | 20 | #define GICD_BASE 0x1c81000 |
| 21 | #define GICC_BASE 0x1c82000 |
| 22 | |
| 23 | /* |
| 24 | * Include common sunxi configuration where most the settings are |
| 25 | */ |
| 26 | #include <configs/sunxi-common.h> |
| 27 | |
| 28 | #endif /* __CONFIG_H */ |