瀏覽代碼

ARM: dts: keystone-k2g: add timer1 as clocksource

Add timer1 node as the clocksource.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Keerthy 7 年之前
父節點
當前提交
a6073c6c00
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      arch/arm/boot/dts/keystone-k2g.dtsi

+ 8 - 0
arch/arm/boot/dts/keystone-k2g.dtsi

@@ -283,6 +283,14 @@
 			};
 		};
 
+		clock_event: timer@2210000 {
+			compatible = "ti,keystone-timer";
+			reg = <0x02210000 0x50>;
+			interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH
+					GIC_SPI 18 IRQ_TYPE_LEVEL_LOW>;
+			clocks = <&k2g_clks 0x1e 0>;
+		};
+
 		gpio0: gpio@2603000 {
 			compatible = "ti,k2g-gpio", "ti,keystone-gpio";
 			reg = <0x02603000 0x100>;