blob: a4c3fb69e411a6372219980f43664d124145dae5 [file] [log] [blame]
Chen-Yu Tsai8ebe4f42014-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 Goede08fd1472014-12-07 14:34:27 +010015
Hans de Goede0eccec42015-01-07 15:08:43 +010016#ifdef CONFIG_USB_EHCI
17#define CONFIG_USB_EHCI_SUNXI
Hans de Goede0eccec42015-01-07 15:08:43 +010018#endif
19
Jelle van der Waadc44fd82016-02-09 23:59:33 +010020#ifdef CONFIG_MACH_SUN8I_H3
21 #define CONFIG_SUNXI_USB_PHYS 4
Chen-Yu Tsai0c935ac2016-03-30 00:26:51 +080022#elif defined CONFIG_MACH_SUN8I_A83T
23 #define CONFIG_SUNXI_USB_PHYS 3
Jelle van der Waadc44fd82016-02-09 23:59:33 +010024#else
25 #define CONFIG_SUNXI_USB_PHYS 2
26#endif
Hans de Goedee13afee2015-04-27 16:50:04 +020027
Chen-Yu Tsai8ebe4f42014-10-22 16:47:44 +080028/*
29 * Include common sunxi configuration where most the settings are
30 */
31#include <configs/sunxi-common.h>
32
33#endif /* __CONFIG_H */