2022-11-11 15:51:29 +00:00
|
|
|
From b4a544e415e9be33b37d9bfa9d9f9f4d13f553d6 Mon Sep 17 00:00:00 2001
|
|
|
|
From: William Zhang <william.zhang@broadcom.com>
|
|
|
|
Date: Fri, 8 Jul 2022 11:25:06 -0700
|
|
|
|
Subject: [PATCH] arm64: dts: broadcom: bcm4908: Fix timer node for BCM4906 SoC
|
|
|
|
|
|
|
|
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: c8b404fb05dc ("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>
|
|
|
|
---
|
2023-05-12 16:33:18 +00:00
|
|
|
arch/arm64/boot/dts/broadcom/bcmbca/bcm4906.dtsi | 8 ++++++++
|
2022-11-11 15:51:29 +00:00
|
|
|
1 file changed, 8 insertions(+)
|
|
|
|
|
2023-05-12 16:33:18 +00:00
|
|
|
--- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906.dtsi
|
|
|
|
+++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4906.dtsi
|
2022-11-11 15:51:29 +00:00
|
|
|
@@ -17,6 +17,14 @@
|
|
|
|
<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>;
|
|
|
|
};
|
|
|
|
|
|
|
|
+ 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>,
|