ARM: msm: Add support for APQ8074 Dragonboard
authorRohit Vaswani <rvaswani@codeaurora.org>
Thu, 2 Jan 2014 18:17:31 +0000 (10:17 -0800)
committerOlof Johansson <olof@lixom.net>
Thu, 2 Jan 2014 19:24:44 +0000 (11:24 -0800)
This patch adds basic board support for APQ8074 Dragonboard
which belongs to the Snapdragon 800 family.
For now, just support a basic machine with device tree.

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 and board support in separate patches]
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/qcom-apq8074-dragonboard.dts [new file with mode: 0644]
arch/arm/mach-msm/board-dt.c

index d57c1a6..5b37694 100644 (file)
@@ -105,7 +105,8 @@ dtb-$(CONFIG_ARCH_KIRKWOOD) += kirkwood-cloudbox.dtb \
        kirkwood-ts219-6282.dtb
 dtb-$(CONFIG_ARCH_MARCO) += marco-evb.dtb
 dtb-$(CONFIG_ARCH_MSM) += qcom-msm8660-surf.dtb \
-       qcom-msm8960-cdp.dtb
+       qcom-msm8960-cdp.dtb \
+       qcom-apq8074-dragonboard.dtb
 dtb-$(CONFIG_ARCH_MVEBU) += armada-370-db.dtb \
        armada-370-mirabox.dtb \
        armada-370-netgear-rn102.dtb \
diff --git a/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts b/arch/arm/boot/dts/qcom-apq8074-dragonboard.dts
new file mode 100644 (file)
index 0000000..13ac3e2
--- /dev/null
@@ -0,0 +1,6 @@
+#include "qcom-msm8974.dtsi"
+
+/ {
+       model = "Qualcomm APQ8074 Dragonboard";
+       compatible = "qcom,apq8074-dragonboard", "qcom,apq8074";
+};
index 16e6183..1f11d93 100644 (file)
@@ -26,7 +26,16 @@ static const char * const msm_dt_match[] __initconst = {
        NULL
 };
 
+static const char * const apq8074_dt_match[] __initconst = {
+       "qcom,apq8074-dragonboard",
+       NULL
+};
+
 DT_MACHINE_START(MSM_DT, "Qualcomm MSM (Flattened Device Tree)")
        .smp = smp_ops(msm_smp_ops),
        .dt_compat = msm_dt_match,
 MACHINE_END
+
+DT_MACHINE_START(APQ_DT, "Qualcomm MSM (Flattened Device Tree)")
+       .dt_compat = apq8074_dt_match,
+MACHINE_END