summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-snapdragon/include
diff options
context:
space:
mode:
authorMateusz Kulikowski <mateusz.kulikowski@gmail.com>2016-03-31 23:12:32 +0200
committerTom Rini <trini@konsulko.com>2016-04-01 17:18:26 -0400
commit085921368b7d1aa30e031cb7b54e5ea707a2155f (patch)
tree8384344c4fcaceaee5737729653be2ffec7436fa /arch/arm/mach-snapdragon/include
parent120800df720095a3c60c72a6bdcf6904dc3c4b20 (diff)
downloadu-boot-085921368b7d1aa30e031cb7b54e5ea707a2155f.tar.gz
u-boot-085921368b7d1aa30e031cb7b54e5ea707a2155f.tar.xz
u-boot-085921368b7d1aa30e031cb7b54e5ea707a2155f.zip
arm: Add support for Qualcomm Snapdragon family
First supported chip is APQ8016 (that is compatible with MSM8916). Drivers in SoC code: - Reset controller (PSHOLD) - Clock controller (very simple clock configuration for MMC and UART) Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-snapdragon/include')
-rw-r--r--arch/arm/mach-snapdragon/include/mach/gpio.h9
-rw-r--r--arch/arm/mach-snapdragon/include/mach/sysmap-apq8016.h14
2 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/mach-snapdragon/include/mach/gpio.h b/arch/arm/mach-snapdragon/include/mach/gpio.h
new file mode 100644
index 0000000000..ff949b2133
--- /dev/null
+++ b/arch/arm/mach-snapdragon/include/mach/gpio.h
@@ -0,0 +1,9 @@
+/*
+ * Empty gpio.h
+ *
+ * This file must stay as arch/arm/include/asm/gpio.h requires it.
+ *
+ * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
diff --git a/arch/arm/mach-snapdragon/include/mach/sysmap-apq8016.h b/arch/arm/mach-snapdragon/include/mach/sysmap-apq8016.h
new file mode 100644
index 0000000000..cdbfad0def
--- /dev/null
+++ b/arch/arm/mach-snapdragon/include/mach/sysmap-apq8016.h
@@ -0,0 +1,14 @@
+/*
+ * Qualcomm APQ8916 sysmap
+ *
+ * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+#ifndef _MACH_SYSMAP_APQ8016_H
+#define _MACH_SYSMAP_APQ8016_H
+
+#define GICD_BASE 0x0b000000
+#define GICC_BASE 0x0a20c000
+
+#endif