diff options
author | Zoltan Herpai <wigyori@uid0.hu> | 2014-02-05 08:42:28 +0000 |
---|---|---|
committer | Zoltan Herpai <wigyori@uid0.hu> | 2014-02-05 08:42:28 +0000 |
commit | c957af0a0f6a2c45b9b3c84f45f4a3aa44d293c6 (patch) | |
tree | f8e3bda571dab7f80fdd240541ed8bd1d39b179e /target/linux/sunxi/patches-3.13/213-dt-sun7i-add-external-clk-outputs.patch | |
parent | 66543935db1d7eab23fc43b381e56dbd4424b499 (diff) | |
download | mtk-20170518-c957af0a0f6a2c45b9b3c84f45f4a3aa44d293c6.zip mtk-20170518-c957af0a0f6a2c45b9b3c84f45f4a3aa44d293c6.tar.gz mtk-20170518-c957af0a0f6a2c45b9b3c84f45f4a3aa44d293c6.tar.bz2 |
sunxi: initial 3.13 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 39471
Diffstat (limited to 'target/linux/sunxi/patches-3.13/213-dt-sun7i-add-external-clk-outputs.patch')
-rw-r--r-- | target/linux/sunxi/patches-3.13/213-dt-sun7i-add-external-clk-outputs.patch | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/target/linux/sunxi/patches-3.13/213-dt-sun7i-add-external-clk-outputs.patch b/target/linux/sunxi/patches-3.13/213-dt-sun7i-add-external-clk-outputs.patch new file mode 100644 index 0000000..bc9694b --- /dev/null +++ b/target/linux/sunxi/patches-3.13/213-dt-sun7i-add-external-clk-outputs.patch @@ -0,0 +1,43 @@ +From f3a50c26f33a4627e5d3e35f80db3f22a5375237 Mon Sep 17 00:00:00 2001 +From: Chen-Yu Tsai <wens@csie.org> +Date: Tue, 24 Dec 2013 21:26:20 +0800 +Subject: [PATCH] ARM: dts: sun7i: Add pin muxing options for clock outputs + +This patch adds the clock output pin options on the A20. +The 2 pins can output a configurable clock to be used by +external modules. This is used on the CubieTruck, to supply +a 32768 Hz low power clock to the onboard Wifi+BT module. + +Signed-off-by: Chen-Yu Tsai <wens@csie.org> +--- + arch/arm/boot/dts/sun7i-a20.dtsi | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi +index 858e0710..bd52041 100644 +--- a/arch/arm/boot/dts/sun7i-a20.dtsi ++++ b/arch/arm/boot/dts/sun7i-a20.dtsi +@@ -483,6 +483,20 @@ + allwinner,drive = <3>; + allwinner,pull = <0>; + }; ++ ++ clk_out_a_pins: clk_out_a@0 { ++ allwinner,pins = "PI12"; ++ allwinner,function = "clk_out_a"; ++ allwinner,drive = <0>; ++ allwinner,pull = <0>; ++ }; ++ ++ clk_out_b_pins: clk_out_b@0 { ++ allwinner,pins = "PI13"; ++ allwinner,function = "clk_out_b"; ++ allwinner,drive = <0>; ++ allwinner,pull = <0>; ++ }; + }; + + sata: ahci@01c18000 { +-- +1.8.5.1 + |