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

Commit 4cf0931e authored by Raghavendra Kakarla's avatar Raghavendra Kakarla
Browse files

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



Add mpm interrupt controller node to program the wakeup
capable interrupts to RPM MSG RAM memory.

Change-Id: I25fe5b812751f8c6e7c211b332f4f0b764ec9640
Signed-off-by: default avatarRaghavendra Kakarla <rkakarla@codeaurora.org>
parent 08d4c1e9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ Properties:
		"qcom,mpm-gic-trinket"
		"qcom,mpm-gic-mdm9607"
		"qcom,mpm-gic-sdm660"
		"qcom,mpm-gic-sdm429"

- interrupts:
	Usage: required
@@ -85,6 +86,7 @@ properties:
		"qcom,mpm-gpio-trinket",
		"qcom,mpm-gpio-mdm9607"
		"qcom,mpm-gpio-sdm660"
		"qcom,mpm-gpio-sdm429"

- interrupt-parent:
	Usage: required
+2 −0
Original line number Diff line number Diff line
@@ -16,9 +16,11 @@
		compatible = "qcom,sdm429w-pinctrl";
		reg = <0x1000000 0x300000>;
		reg-names = "pinctrl";
		interrupts-extended = <&wakegic GIC_SPI 208 IRQ_TYPE_NONE>;
		gpio-controller;
		#gpio-cells = <2>;
		interrupt-controller;
		interrupt-parent = <&wakegpio>;
		#interrupt-cells = <2>;

		pmx-uartconsole {
+21 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
	model = "Qualcomm Technologies, Inc. SDM429";
	compatible = "qcom,sdm429";
	qcom,msm-id = <416 0x0>;
	interrupt-parent = <&intc>;
	interrupt-parent = <&wakegic>;

	chosen {
		bootargs = "sched_enable_hmp=1 kpti=0";
@@ -170,6 +170,26 @@
		      <0x0b002000 0x1000>;
	};

	wakegic: wake-gic {
		compatible = "qcom,mpm-gic-sdm429", "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";
		qcom,num-mpm-irqs = <64>;
		interrupt-controller;
		interrupt-parent = <&intc>;
		#interrupt-cells = <3>;
	};

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


	timer {
		compatible = "arm,armv8-timer";
		interrupts = <1 2 0xff08>,