summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2016-02-09 23:59:33 +0100
committerHans de Goede <hdegoede@redhat.com>2016-02-23 20:59:10 +0100
commitdc44fd8ae4be0a88123a90ae2b3acdec45290ecf (patch)
tree931a7d47d5535c7078d9403ffa4c8210d1b31f91 /arch/arm/include/asm/arch-sunxi/cpu_sun4i.h
parent0d8382ae70e7559eba873b4d8b2cf9a15aeccf20 (diff)
downloadblackbird-obmc-uboot-dc44fd8ae4be0a88123a90ae2b3acdec45290ecf.tar.gz
blackbird-obmc-uboot-dc44fd8ae4be0a88123a90ae2b3acdec45290ecf.zip
sunxi: H3: Add support for the host usb-phys
Add support for phy 1-3. Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl> [hdegoede@redhat.com: use setclrbits_le32 instead of read-modify-write] Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/cpu_sun4i.h')
-rw-r--r--arch/arm/include/asm/arch-sunxi/cpu_sun4i.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h b/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h
index 0cdefdcdf4..b6e11eb8ea 100644
--- a/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h
+++ b/arch/arm/include/asm/arch-sunxi/cpu_sun4i.h
@@ -52,10 +52,18 @@
#define SUNXI_USB2_BASE 0x01c1c000
#endif
#ifdef CONFIG_SUNXI_GEN_SUN6I
+#ifdef CONFIG_MACH_SUN8I_H3
+#define SUNXI_USBPHY_BASE 0x01c19000
+#define SUNXI_USB0_BASE 0x01c1a000
+#define SUNXI_USB1_BASE 0x01c1b000
+#define SUNXI_USB2_BASE 0x01c1c000
+#define SUNXI_USB3_BASE 0x01c1d000
+#else
#define SUNXI_USB0_BASE 0x01c19000
#define SUNXI_USB1_BASE 0x01c1a000
#define SUNXI_USB2_BASE 0x01c1b000
#endif
+#endif
#define SUNXI_CSI1_BASE 0x01c1d000
#define SUNXI_TZASC_BASE 0x01c1e000
#define SUNXI_SPI3_BASE 0x01c1f000
OpenPOWER on IntegriCloud