summaryrefslogtreecommitdiff
path: root/target/linux/sunxi/patches-3.18/102-dt-sun7i-add_mmc2_pins.patch
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2014-11-21 18:42:43 +0000
committerZoltan Herpai <wigyori@uid0.hu>2014-11-21 18:42:43 +0000
commit9c54f7f312c189c4cfaec68675589a666d37306c (patch)
tree16d9f9beb213e24e138cf9cf941aecc40d3e059a /target/linux/sunxi/patches-3.18/102-dt-sun7i-add_mmc2_pins.patch
parentc84fe94b0df1f3f98a128e929e79d63ab7f4de54 (diff)
downloadmtk-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/102-dt-sun7i-add_mmc2_pins.patch')
-rw-r--r--target/linux/sunxi/patches-3.18/102-dt-sun7i-add_mmc2_pins.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/sunxi/patches-3.18/102-dt-sun7i-add_mmc2_pins.patch b/target/linux/sunxi/patches-3.18/102-dt-sun7i-add_mmc2_pins.patch
new file mode 100644
index 0000000..6a5878e
--- /dev/null
+++ b/target/linux/sunxi/patches-3.18/102-dt-sun7i-add_mmc2_pins.patch
@@ -0,0 +1,28 @@
+From f65624ca1b67c5683317b75da2c09ffadc22fa2e Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede@redhat.com>
+Date: Wed, 1 Oct 2014 00:40:57 +0200
+Subject: [PATCH] ARM: dts: sun7i: Add mmc2_pins_a pinctrl definition
+
+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 cecf32c..f0a75c6 100644
+--- a/arch/arm/boot/dts/sun7i-a20.dtsi
++++ b/arch/arm/boot/dts/sun7i-a20.dtsi
+@@ -833,6 +833,13 @@
+ allwinner,pull = <1>;
+ };
+
++ mmc2_pins_a: mmc2@0 {
++ allwinner,pins = "PC6","PC7","PC8","PC9","PC10","PC11";
++ allwinner,function = "mmc2";
++ allwinner,drive = <2>;
++ allwinner,pull = <1>;
++ };
++
+ mmc3_pins_a: mmc3@0 {
+ allwinner,pins = "PI4","PI5","PI6","PI7","PI8","PI9";
+ allwinner,function = "mmc3";