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

Commit 3e4c9580 authored by Raja Mallik's avatar Raja Mallik Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add MPM interrupt controller for msm8909



Add MPM interrupt controller gic & gpio data , as a parent
interuppt controller for soc and a child of intc for msm8909.

Also add msmgpio as a child of mpm gpio interrupt controller.

Change-Id: I3e502b3d50abec9e3f5e69bc50d15701e3937de2
Signed-off-by: default avatarChinkit Kumar,Kirti Kumar Parmar <parma@codeaurora.org>
parent 452ce8cb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -15,9 +15,11 @@
		compatible = "qcom,msm8909-pinctrl";
		reg = <0x1000000 0x300000>;
		interrupts = <0 208 0>;
		interrupts-extended = <&wakegic GIC_SPI 208 IRQ_TYPE_NONE>;
		gpio-controller;
		#gpio-cells = <2>;
		interrupt-controller;
		interrupt-parent = <&wakegpio>;
		#interrupt-cells = <2>;

		/* sensors */
+20 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
			<258 0>,
			<265 0>,
			<275 0>;
	interrupt-parent = <&intc>;
	interrupt-parent = <&wakegic>;

	aliases {
		/* smdtty devices */
@@ -251,11 +251,30 @@
	intc: interrupt-controller@b000000 {
		compatible = "qcom,msm-qgic2";
		interrupt-controller;
		interrupt-parent = <&intc>;
		#interrupt-cells = <3>;
		reg = <0x0b000000 0x1000>,
		<0x0b002000 0x1000>;
	};

	wakegic: wake-gic@601d0 {
		compatible = "qcom,mpm-gic-msm8909", "qcom,mpm-gic";
		interrupts = <GIC_SPI 171 IRQ_TYPE_EDGE_RISING>;
		reg = <0x601d0 0x1000>,
			<0xb011008 0x4>;  /* MSM_APCS_GCC_BASE 4K */
		reg-names = "vmpm", "ipc";
		interrupt-controller;
		interrupt-parent = <&intc>;
		#interrupt-cells = <3>;
	};

	wakegpio: wake-gpio {
		compatible = "qcom,mpm-gpio-msm8909", "qcom,mpm-gpio";
		interrupt-controller;
		interrupt-parent = <&intc>;
		#interrupt-cells = <2>;
	};

	restart@4ab000 {
		compatible = "qcom,pshold";
		reg =	<0x4ab000 0x4>,