Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2aec37c6 authored by Rohit Vaswani's avatar Rohit Vaswani Committed by Olof Johansson
Browse files

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: default avatarRohit Vaswani <rvaswani@codeaurora.org>
Acked-by: default avatarKumar Gala <galak@codeaurora.org>
Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
[olof: split off SoC support in separate patch]
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent c4b4ecbd
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
/dts-v1/;

#include "skeleton.dtsi"

/ {
	model = "Qualcomm MSM8974";
	compatible = "qcom,msm8974";
	interrupt-parent = <&intc>;

	soc: soc {
		#address-cells = <1>;
		#size-cells = <1>;
		ranges;
		compatible = "simple-bus";

		intc: interrupt-controller@f9000000 {
			compatible = "qcom,msm-qgic2";
			interrupt-controller;
			#interrupt-cells = <3>;
			reg = <0xf9000000 0x1000>,
			      <0xf9002000 0x1000>;
		};

		timer {
			compatible = "arm,armv7-timer";
			interrupts = <1 2 0xf08>,
				     <1 3 0xf08>,
				     <1 4 0xf08>,
				     <1 1 0xf08>;
			clock-frequency = <19200000>;
		};
	};
};
+10 −1
Original line number Diff line number Diff line
@@ -58,9 +58,18 @@ config ARCH_MSM8960
	select GPIO_MSM_V2
	select MSM_SCM if SMP

config ARCH_MSM8974
	bool "MSM8974"
	select ARM_GIC
	select CPU_V7
	select HAVE_ARM_ARCH_TIMER
	select HAVE_SMP
	select MSM_SCM if SMP
	select USE_OF

config ARCH_MSM_DT
	def_bool y
	depends on (ARCH_MSM8X60 || ARCH_MSM8960)
	depends on (ARCH_MSM8X60 || ARCH_MSM8960 || ARCH_MSM8974)
	select SPARSE_IRQ
	select USE_OF