sunxi: add initial 3.18 support
[openwrt/staging/chunkeey.git] / target / linux / sunxi / patches-3.18 / 102-dt-sun7i-add_mmc2_pins.patch
1 From f65624ca1b67c5683317b75da2c09ffadc22fa2e Mon Sep 17 00:00:00 2001
2 From: Hans de Goede <hdegoede@redhat.com>
3 Date: Wed, 1 Oct 2014 00:40:57 +0200
4 Subject: [PATCH] ARM: dts: sun7i: Add mmc2_pins_a pinctrl definition
5
6 Signed-off-by: Hans de Goede <hdegoede@redhat.com>
7 ---
8 arch/arm/boot/dts/sun7i-a20.dtsi | 7 +++++++
9 1 file changed, 7 insertions(+)
10
11 diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
12 index cecf32c..f0a75c6 100644
13 --- a/arch/arm/boot/dts/sun7i-a20.dtsi
14 +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
15 @@ -833,6 +833,13 @@
16 allwinner,pull = <1>;
17 };
18
19 + mmc2_pins_a: mmc2@0 {
20 + allwinner,pins = "PC6","PC7","PC8","PC9","PC10","PC11";
21 + allwinner,function = "mmc2";
22 + allwinner,drive = <2>;
23 + allwinner,pull = <1>;
24 + };
25 +
26 mmc3_pins_a: mmc3@0 {
27 allwinner,pins = "PI4","PI5","PI6","PI7","PI8","PI9";
28 allwinner,function = "mmc3";