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