aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRohit Vaswani <rvaswani@codeaurora.org>2013-12-20 14:09:15 -0500
committerOlof Johansson <olof@lixom.net>2014-01-02 13:18:41 -0500
commit2aec37c659500b1ab39355adc17029d0acca7bcb (patch)
tree1b2075747f14f703808c4c0f095358086b2af137
parentc4b4ecbda50379b587ccff81663f3235582e5c66 (diff)
ARM: msm: Add support for MSM8974 SoC
Add support for the Snapdragon 800 MSM8974 SoC, used on the Dragonboard and others. Board support added in separate patch. Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org> Acked-by: Kumar Gala <galak@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org> [olof: split off SoC support in separate patch] Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r--arch/arm/boot/dts/qcom-msm8974.dtsi33
-rw-r--r--arch/arm/mach-msm/Kconfig11
2 files changed, 43 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi
new file mode 100644
index 000000000000..2ebb4f09a9b6
--- /dev/null
+++ b/arch/arm/boot/dts/qcom-msm8974.dtsi
@@ -0,0 +1,33 @@
1/dts-v1/;
2
3#include "skeleton.dtsi"
4
5/ {
6 model = "Qualcomm MSM8974";
7 compatible = "qcom,msm8974";
8 interrupt-parent = <&intc>;
9
10 soc: soc {
11 #address-cells = <1>;
12 #size-cells = <1>;
13 ranges;
14 compatible = "simple-bus";
15
16 intc: interrupt-controller@f9000000 {
17 compatible = "qcom,msm-qgic2";
18 interrupt-controller;
19 #interrupt-cells = <3>;
20 reg = <0xf9000000 0x1000>,
21 <0xf9002000 0x1000>;
22 };
23
24 timer {
25 compatible = "arm,armv7-timer";
26 interrupts = <1 2 0xf08>,
27 <1 3 0xf08>,
28 <1 4 0xf08>,
29 <1 1 0xf08>;
30 clock-frequency = <19200000>;
31 };
32 };
33};
diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig
index 2586c2865874..5e5782d5af3d 100644
--- a/arch/arm/mach-msm/Kconfig
+++ b/arch/arm/mach-msm/Kconfig
@@ -58,9 +58,18 @@ config ARCH_MSM8960
58 select GPIO_MSM_V2 58 select GPIO_MSM_V2
59 select MSM_SCM if SMP 59 select MSM_SCM if SMP
60 60
61config ARCH_MSM8974
62 bool "MSM8974"
63 select ARM_GIC
64 select CPU_V7
65 select HAVE_ARM_ARCH_TIMER
66 select HAVE_SMP
67 select MSM_SCM if SMP
68 select USE_OF
69
61config ARCH_MSM_DT 70config ARCH_MSM_DT
62 def_bool y 71 def_bool y
63 depends on (ARCH_MSM8X60 || ARCH_MSM8960) 72 depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
64 select SPARSE_IRQ 73 select SPARSE_IRQ
65 select USE_OF 74 select USE_OF
66 75