From 3bd0bbba0fe27ba6827687f39c69058f910d8060 Mon Sep 17 00:00:00 2001 From: Josh Marshall Date: Tue, 11 Oct 2016 12:41:32 +1100 Subject: [PATCH] lime2-emmc: remove faulty emmc-reset IO pin --- .../lime2-emmc-remove-powerseq.patch | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 patch/kernel/sunxi-next/lime2-emmc-remove-powerseq.patch diff --git a/patch/kernel/sunxi-next/lime2-emmc-remove-powerseq.patch b/patch/kernel/sunxi-next/lime2-emmc-remove-powerseq.patch new file mode 100644 index 0000000000..b0679d6f5f --- /dev/null +++ b/patch/kernel/sunxi-next/lime2-emmc-remove-powerseq.patch @@ -0,0 +1,35 @@ +diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2-emmc.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2-emmc.dts +index 5ea4915..7e6b703 100644 +--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2-emmc.dts ++++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2-emmc.dts +@@ -46,22 +46,6 @@ + / { + model = "Olimex A20-OLinuXino-LIME2-eMMC"; + compatible = "olimex,a20-olinuxino-lime2-emmc", "allwinner,sun7i-a20"; +- +- mmc2_pwrseq: pwrseq { +- pinctrl-0 = <&mmc2_pins_nrst>; +- pinctrl-names = "default"; +- compatible = "mmc-pwrseq-emmc"; +- reset-gpios = <&pio 2 16 GPIO_ACTIVE_LOW>; +- }; +-}; +- +-&pio { +- mmc2_pins_nrst: mmc2@0 { +- allwinner,pins = "PC16"; +- allwinner,function = "gpio_out"; +- allwinner,drive = ; +- allwinner,pull = ; +- }; + }; + + &mmc2 { +@@ -71,7 +55,6 @@ + vqmmc-supply = <®_vcc3v3>; + bus-width = <4>; + non-removable; +- mmc-pwrseq = <&mmc2_pwrseq>; + status = "okay"; + + emmc: emmc@0 {