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

Commit 33de5fab authored by Mitchel Humpherys's avatar Mitchel Humpherys
Browse files

ARM: dts: msm: Use macro definitions for interrupts for coresight



There are some preprocessor macros that represent the supported values
for the `interrupts' property.  Currently we're just hard-coding the
numerical values, which is hard to understand.  Fix this by using the
macros.

Change-Id: I83abc8e80ab4d65c8faac62006577af42991bc12
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent f5d3db32
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -10,13 +10,15 @@
 * GNU General Public License for more details.
 */

#include <dt-bindings/interrupt-controller/arm-gic.h>

&soc {
	tmc_etr: tmc@3028000 {
		compatible = "arm,coresight-tmc";
		reg = <0x3028000 0x1000>,
		      <0x3084000 0x15000>;
		reg-names = "tmc-base", "bam-base";
		interrupts = <0 270 0>;
		interrupts = <GIC_SPI 270 IRQ_TYPE_EDGE_RISING>;
		interrupt-names = "byte-cntr-irq";

		qcom,memory-size = <0x400000>;