blob: cd3375889e38bc930f30191efd3bc7f72fbe2a4c [file] [log] [blame]
Chen-Yu Tsai848c2632014-10-22 16:47:44 +08001/*
2 * (C) Copyright 2014 Chen-Yu Tsai <wens@csie.org>
3 *
4 * Configuration settings for the Allwinner A23 (sun8i) CPU
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8
9#ifndef __CONFIG_H
10#define __CONFIG_H
11
12/*
13 * A23 specific configuration
14 */
Hans de Goede966d2392014-12-07 14:34:27 +010015
Hans de Goedea1441982015-01-07 15:08:43 +010016#ifdef CONFIG_USB_EHCI
17#define CONFIG_USB_EHCI_SUNXI
18#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
19#endif
20
Hans de Goede1168e092015-04-27 16:50:04 +020021#define CONFIG_SUNXI_USB_PHYS 2
22
Daniel KochmaƄskidbbfdc12015-05-26 17:00:42 +020023#if defined(CONFIG_MACH_SUN8I_A23)
24#define CONFIG_NAND_SUNXI_GPC_PORTS {16, 17, 18}
25#elif defined(CONFIG_MACH_SUN8I_A33)
26#define CONFIG_NAND_SUNXI_GPC_PORTS {16}
27#endif
28
Chen-Yu Tsai848c2632014-10-22 16:47:44 +080029/*
30 * Include common sunxi configuration where most the settings are
31 */
32#include <configs/sunxi-common.h>
33
34#endif /* __CONFIG_H */