ARM: dts: BCM5301X: Correct GIC_PPI interrupt flags
authorJon Mason <jon.mason@broadcom.com>
Fri, 3 Mar 2017 00:21:32 +0000 (19:21 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jul 2017 12:37:16 +0000 (14:37 +0200)
commit 0c2bf9f95983fe30aa2f6463cb761cd42c2d521a upstream.

GIC_PPI flags were misconfigured for the timers, resulting in errors
like:
[    0.000000] GIC: PPI11 is secure or misconfigured

Changing them to being edge triggered corrects the issue

Suggested-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Jon Mason <jon.mason@broadcom.com>
Fixes: d27509f1 ("ARM: BCM5301X: add dts files for BCM4708 SoC")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
[AmitP: Resolved minor cherry-pick conflict]
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/bcm5301x.dtsi

index 6f50f672efbdf754f200f67b9f4e1518d91f6a26..de8ac998604ded57b0e149bea64dae9fd3ec869c 100644 (file)
                timer@0200 {
                        compatible = "arm,cortex-a9-global-timer";
                        reg = <0x0200 0x100>;
-                       interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupts = <GIC_PPI 11 IRQ_TYPE_EDGE_RISING>;
                        clocks = <&clk_periph>;
                };
 
                local-timer@0600 {
                        compatible = "arm,cortex-a9-twd-timer";
                        reg = <0x0600 0x100>;
-                       interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupts = <GIC_PPI 13 IRQ_TYPE_EDGE_RISING>;
                        clocks = <&clk_periph>;
                };