diff options
author | Zoltan Herpai <wigyori@uid0.hu> | 2014-11-21 18:42:43 +0000 |
---|---|---|
committer | Zoltan Herpai <wigyori@uid0.hu> | 2014-11-21 18:42:43 +0000 |
commit | 9c54f7f312c189c4cfaec68675589a666d37306c (patch) | |
tree | 16d9f9beb213e24e138cf9cf941aecc40d3e059a /target/linux/sunxi/patches-3.18/101-dt-sun7i-add-uart3_pins.patch | |
parent | c84fe94b0df1f3f98a128e929e79d63ab7f4de54 (diff) | |
download | mtk-20170518-9c54f7f312c189c4cfaec68675589a666d37306c.zip mtk-20170518-9c54f7f312c189c4cfaec68675589a666d37306c.tar.gz mtk-20170518-9c54f7f312c189c4cfaec68675589a666d37306c.tar.bz2 |
sunxi: add initial 3.18 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 43337
Diffstat (limited to 'target/linux/sunxi/patches-3.18/101-dt-sun7i-add-uart3_pins.patch')
-rw-r--r-- | target/linux/sunxi/patches-3.18/101-dt-sun7i-add-uart3_pins.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/sunxi/patches-3.18/101-dt-sun7i-add-uart3_pins.patch b/target/linux/sunxi/patches-3.18/101-dt-sun7i-add-uart3_pins.patch new file mode 100644 index 0000000..8f9c0e8 --- /dev/null +++ b/target/linux/sunxi/patches-3.18/101-dt-sun7i-add-uart3_pins.patch @@ -0,0 +1,31 @@ +From e37ccbcd4587b7a2b943e23a9943b8917010b336 Mon Sep 17 00:00:00 2001 +From: Hans de Goede <hdegoede@redhat.com> +Date: Wed, 1 Oct 2014 08:39:58 +0200 +Subject: [PATCH] ARM: dts: sun7i: Add uart3_pins_b pinctrl setting + +The uart3_pins_a multiplexes the uart3 pins to port G, add a pinctrl entry +for mapping them to port H (as used on the Bananapi). + +Signed-off-by: Hans de Goede <hdegoede@redhat.com> +--- + arch/arm/boot/dts/sun7i-a20.dtsi | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi +index 4fb8930..cecf32c 100644 +--- a/arch/arm/boot/dts/sun7i-a20.dtsi ++++ b/arch/arm/boot/dts/sun7i-a20.dtsi +@@ -677,6 +677,13 @@ + allwinner,pull = <0>; + }; + ++ uart3_pins_b: uart3@1 { ++ allwinner,pins = "PH0", "PH1"; ++ allwinner,function = "uart3"; ++ allwinner,drive = <0>; ++ allwinner,pull = <0>; ++ }; ++ + uart4_pins_a: uart4@0 { + allwinner,pins = "PG10", "PG11"; + allwinner,function = "uart4"; |