Chen-Yu Tsai | 8ebe4f4 | 2014-10-22 16:47:44 +0800 | [diff] [blame] | 1 | /* |
| 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 Goede | 08fd147 | 2014-12-07 14:34:27 +0100 | [diff] [blame] | 15 | |
Tom Rini | 8850c5d | 2017-05-12 22:33:27 -0400 | [diff] [blame] | 16 | #ifdef CONFIG_USB_EHCI_HCD |
Hans de Goede | 0eccec4 | 2015-01-07 15:08:43 +0100 | [diff] [blame] | 17 | #define CONFIG_USB_EHCI_SUNXI |
Hans de Goede | 0eccec4 | 2015-01-07 15:08:43 +0100 | [diff] [blame] | 18 | #endif |
| 19 | |
Jelle van der Waa | dc44fd8 | 2016-02-09 23:59:33 +0100 | [diff] [blame] | 20 | #ifdef CONFIG_MACH_SUN8I_H3 |
| 21 | #define CONFIG_SUNXI_USB_PHYS 4 |
Chen-Yu Tsai | 0c935ac | 2016-03-30 00:26:51 +0800 | [diff] [blame] | 22 | #elif defined CONFIG_MACH_SUN8I_A83T |
| 23 | #define CONFIG_SUNXI_USB_PHYS 3 |
Icenowy Zheng | c199489 | 2017-04-08 15:30:12 +0800 | [diff] [blame] | 24 | #elif defined CONFIG_MACH_SUN8I_V3S |
| 25 | #define CONFIG_SUNXI_USB_PHYS 1 |
Jelle van der Waa | dc44fd8 | 2016-02-09 23:59:33 +0100 | [diff] [blame] | 26 | #else |
| 27 | #define CONFIG_SUNXI_USB_PHYS 2 |
| 28 | #endif |
Hans de Goede | e13afee | 2015-04-27 16:50:04 +0200 | [diff] [blame] | 29 | |
Chen-Yu Tsai | 8ebe4f4 | 2014-10-22 16:47:44 +0800 | [diff] [blame] | 30 | /* |
| 31 | * Include common sunxi configuration where most the settings are |
| 32 | */ |
| 33 | #include <configs/sunxi-common.h> |
| 34 | |
| 35 | #endif /* __CONFIG_H */ |