[PATCH 4/4] Add arch count timer node in dts for Allwinner A20(sunxi 7i).

Fan Rong cinifr at gmail.com
Thu Sep 12 02:51:27 EDT 2013


Signed-off-by: Fan Rong <cinifr at gmail.com>
---
 arch/arm/boot/dts/sun7i-a20.dtsi |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index bfedcb2..ce138f7 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -312,5 +312,14 @@
 			#interrupt-cells = <3>;
 			interrupts = <1 9 0xf04>;
 		};
+
+		timer {
+			compatible ="arm,armv7-timer";
+			interrupts = <1 13 0x308>,
+				     <1 14 0x308>,
+				     <1 11 0x308>,
+				     <1 10 0x308>;
+			clock-frequency = <24000000>;
+		};
 	};
 };
-- 
1.7.9.5




More information about the linux-arm-kernel mailing list