Skip to contentSkip to conversation

arm: dts: mediatek: mt6589: Add Arm Generic Timer node

PATCH Applied Akari Tsuyukusa 2 participants 2 messages Mar 25 – May 11

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: dts: mediatek: mt6589: Add Arm Generic Timer node

Add the Arm Generic Timer node to the MT6589 SoC. "arm,cpu-registers-not-fw-configured;" is required because the bootloader does not initialize the Arm Generic Timer.

---
 arch/arm/boot/dts/mediatek/mt6589.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm/boot/dts/mediatek/mt6589.dtsi +11 -0
index c6babc8ad2ba..46dea445742b 100644
@@ -42,6 +42,17 @@ cpu@3 {
 
 	};
 
+	timer {
+		compatible = "arm,armv7-timer";
+		interrupt-parent = <&gic>;
+		interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
+			     <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
+			     <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
+			     <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
+		clock-frequency = <13000000>;
+		arm,cpu-registers-not-fw-configured;
+	};
+
 	clocks {
 		#address-cells = <1>;
 		#size-cells = <1>;
Signature · 1 line
2.53.0
maintainer Applied
#1 lore raw
Quoted 5 lines · Akari Tsuyukusa

Add the Arm Generic Timer node to the MT6589 SoC. "arm,cpu-registers-not-fw-configured;" is required because the bootloader does not initialize the Arm Generic Timer.

Applied to v7.1-next/dts32, thanks!

[1/1] arm: dts: mediatek: mt6589: Add Arm Generic Timer node

      commit: 2a5d54507c68c2a8de9d6f6746f23771d38f4dbc

Cheers,
Angelo