From 719b57cbc125a7cf926f2ea8c3b0a1f114a8c0f2 Mon Sep 17 00:00:00 2001 From: Zoltan Herpai Date: Sat, 11 Jan 2014 21:58:29 +0000 Subject: sunxi: various changes - let LBDAF be set by generic config - add high-speed timer support - refresh sun5i USB patch Signed-off-by: Zoltan HERPAI SVN-Revision: 39223 --- .../patches-3.12/137-2-dt-sun5i-add-hstimer.patch | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 target/linux/sunxi/patches-3.12/137-2-dt-sun5i-add-hstimer.patch (limited to 'target/linux/sunxi/patches-3.12/137-2-dt-sun5i-add-hstimer.patch') diff --git a/target/linux/sunxi/patches-3.12/137-2-dt-sun5i-add-hstimer.patch b/target/linux/sunxi/patches-3.12/137-2-dt-sun5i-add-hstimer.patch new file mode 100644 index 0000000..b209b12 --- /dev/null +++ b/target/linux/sunxi/patches-3.12/137-2-dt-sun5i-add-hstimer.patch @@ -0,0 +1,38 @@ +From 22a3eff19679e0e592e061201690670a2f5fdba7 Mon Sep 17 00:00:00 2001 +From: Maxime Ripard +Date: Thu, 7 Nov 2013 12:01:48 +0100 +Subject: [PATCH] ARM: sun5i: a13: Add support for the High Speed Timers +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +The Allwinner A13 has support for two high speed timers. Now that we +have a driver to support it, we can enable them in the device tree. + +Signed-off-by: Maxime Ripard +Tested-by: Emilio López +Signed-off-by: Daniel Lezcano +--- + arch/arm/boot/dts/sun5i-a13.dtsi | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi +index ce8ef2a..1ccd75d 100644 +--- a/arch/arm/boot/dts/sun5i-a13.dtsi ++++ b/arch/arm/boot/dts/sun5i-a13.dtsi +@@ -273,5 +273,12 @@ + clock-frequency = <100000>; + status = "disabled"; + }; ++ ++ timer@01c60000 { ++ compatible = "allwinner,sun5i-a13-hstimer"; ++ reg = <0x01c60000 0x1000>; ++ interrupts = <82>, <83>; ++ clocks = <&ahb_gates 28>; ++ }; + }; + }; +-- +1.8.5.1 + -- cgit v1.1