]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARC: HSDK: wireup perf irq
authorVineet Gupta <vgupta@synopsys.com>
Fri, 10 Jul 2020 02:52:32 +0000 (19:52 -0700)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 17 Aug 2020 04:36:15 +0000 (21:36 -0700)
Newer version of HSDK aka HSDK-4xD (with dual issue HS48x4 CPU) wired up
the perf interrupt, so enable that in DT.
This is OK for old HSDK where this irq is ignored because pct irq is not
wired up in hardware.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/boot/dts/hsdk.dts

index 9acbeba832c0b532ca1c4a2623f215335edcd481..5d64a5a940ee63316c6b24cf0fadba38a6c99876 100644 (file)
@@ -88,6 +88,8 @@
 
        arcpct: pct {
                compatible = "snps,archs-pct";
+               interrupt-parent = <&cpu_intc>;
+               interrupts = <20>;
        };
 
        /* TIMER0 with interrupt for clockevent */