2 * (C) Copyright 2014 Chen-Yu Tsai <wens@csie.org>
4 * Configuration settings for the Allwinner A23 (sun8i) CPU
6 * SPDX-License-Identifier: GPL-2.0+
13 * A23 specific configuration
16 #ifdef CONFIG_USB_EHCI
17 #define CONFIG_USB_EHCI_SUNXI
18 #define CONFIG_USB_MAX_CONTROLLER_COUNT 1
21 #define CONFIG_SUNXI_USB_PHYS 2
24 #ifndef CONFIG_MACH_SUN8I_A83T
25 #define CONFIG_ARMV7_PSCI 1
26 #if defined(CONFIG_MACH_SUN8I_A23)
27 #define CONFIG_ARMV7_PSCI_NR_CPUS 2
28 #elif defined(CONFIG_MACH_SUN8I_A33)
29 #define CONFIG_ARMV7_PSCI_NR_CPUS 4
30 #elif defined(CONFIG_MACH_SUN8I_H3)
31 #define CONFIG_ARMV7_PSCI_NR_CPUS 4
33 #error Unsupported sun8i variant
37 #define CONFIG_TIMER_CLK_FREQ 24000000
40 * Include common sunxi configuration where most the settings are
42 #include <configs/sunxi-common.h>
44 #endif /* __CONFIG_H */