blob: e029218cf8aed7dff54725192303c8e64beec53e [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +02002/*
3 * Configuration settings for the Allwinner A64 (sun50i) CPU
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +02004 */
5
6#ifndef __CONFIG_H
7#define __CONFIG_H
8
9/*
10 * A64 specific configuration
11 */
12
Tom Riniceed5d22017-05-12 22:33:27 -040013#ifdef CONFIG_USB_EHCI_HCD
Amit Singh Tomarbd732d02016-10-21 02:24:30 +010014#define CONFIG_USB_EHCI_SUNXI
15#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
16#endif
17
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +020018#define CONFIG_SUNXI_USB_PHYS 1
19
Icenowy Zheng2e0c0e22018-07-21 16:20:25 +080020#ifndef CONFIG_MACH_SUN50I_H6
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +020021#define GICD_BASE 0x1c81000
22#define GICC_BASE 0x1c82000
Icenowy Zheng2e0c0e22018-07-21 16:20:25 +080023#else
24#define GICD_BASE 0x3021000
25#define GICC_BASE 0x3022000
26#endif
Siarhei Siamashka26c50fb2016-03-29 17:29:10 +020027
28/*
29 * Include common sunxi configuration where most the settings are
30 */
31#include <configs/sunxi-common.h>
32
33#endif /* __CONFIG_H */