[PATCH 1/1] ARM: dts: socfpga: Add global timer node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Global timer node is missing from Altera ARM Cortex A9 based
SoCs DT.
It is thus impossible for drivers to make use of this timer on
Altera Arria and Cyclone boards.

Tested on the Altera Cyclone V Devkit and on the MitySoM
(Cyclone based) DevKit.

Signed-off-by: Alexandre Lopes <alexaraujolopes@xxxxxxxxx>
---
 arch/arm/boot/dts/socfpga.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
index 314e589..51d08d1 100644
--- a/arch/arm/boot/dts/socfpga.dtsi
+++ b/arch/arm/boot/dts/socfpga.dtsi
@@ -714,6 +714,13 @@
                        clocks = <&spi_m_clk>;
                        status = "disabled";
                };
+               /* Global Timer */
+               timer@fffec200 {
+                       compatible = "arm,cortex-a9-global-timer";
+                       reg = <0xfffec200 0x20>;
+                       interrupts = <1 11 0xf04>;
+                       clocks = <&mpu_periph_clk>;
+               };

                /* Local timer */
                timer@fffec600 {
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux