arm64: dts: mediatek: mt6795: Add CPUX system timer node
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Fri, 29 Jul 2022 09:35:36 +0000 (11:35 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 15 Sep 2022 16:18:53 +0000 (18:18 +0200)
Add a node for mt6795-systimer: this is necessary to start the
System Timer(s) for all cores, finally making CNTVCT_EL0 usable.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220729093536.27623-1-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt6795.dtsi

index d4842b4..46f0e54 100644 (file)
                        reg = <0 0x10200620 0 0x20>;
                };
 
+               systimer: timer@10200670 {
+                       compatible = "mediatek,mt6795-systimer";
+                       reg = <0 0x10200670 0 0x10>;
+                       interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&system_clk>;
+                       clock-names = "clk13m";
+               };
+
                gic: interrupt-controller@10221000 {
                        compatible = "arm,gic-400";
                        #interrupt-cells = <3>;