]> git.baikalelectronics.ru Git - kernel.git/commitdiff
arm64: dts: broadcom: bcm4908: Fix timer node for BCM4906 SoC
authorWilliam Zhang <william.zhang@broadcom.com>
Fri, 8 Jul 2022 18:25:06 +0000 (11:25 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Fri, 8 Jul 2022 19:47:06 +0000 (12:47 -0700)
The cpu mask value in interrupt property inherits from bcm4908.dtsi
which sets to four cpus. Correct the value to two cpus for dual core
BCM4906 SoC.

Fixes: e811fd9669e7 ("arm64: dts: broadcom: bcm4908: add BCM4906 Netgear R8000P DTS files")
Signed-off-by: William Zhang <william.zhang@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm64/boot/dts/broadcom/bcm4908/bcm4906.dtsi

index 66023d5535247df0dff768c09cbbfe1b48ab42cd..d084c33d5ca82317c5d861ab997b4c90aa10b3d5 100644 (file)
@@ -9,6 +9,14 @@
                /delete-node/ cpu@3;
        };
 
+       timer {
+               compatible = "arm,armv8-timer";
+               interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
+                            <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
+                            <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>,
+                            <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
+       };
+
        pmu {
                compatible = "arm,cortex-a53-pmu";
                interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,