1) Now that we're no longer overriding the caps set by mmc_of_parse we need
to set cd-inverted for our card detection to work.

2) Now that we no longer claim UHS modes support we will never use any DDR
modes, so drive-strength 2 is enough for the mmc data pins.

Signed-off-by: Hans de Goede <[email protected]>
---
 arch/arm/boot/dts/sun4i-a10.dtsi | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index 3b35789..96990d4 100644
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
+++ b/arch/arm/boot/dts/sun4i-a10.dtsi
@@ -354,6 +354,7 @@
                        clock-names = "ahb", "mod";
                        interrupts = <32>;
                        bus-width = <4>;
+                       cd-inverted;
                        status = "disabled";
                };
 
@@ -364,6 +365,7 @@
                        clock-names = "ahb", "mod";
                        interrupts = <33>;
                        bus-width = <4>;
+                       cd-inverted;
                        status = "disabled";
                };
 
@@ -374,6 +376,7 @@
                        clock-names = "ahb", "mod";
                        interrupts = <34>;
                        bus-width = <4>;
+                       cd-inverted;
                        status = "disabled";
                };
 
@@ -384,6 +387,7 @@
                        clock-names = "ahb", "mod";
                        interrupts = <35>;
                        bus-width = <4>;
+                       cd-inverted;
                        status = "disabled";
                };
 
@@ -520,7 +524,7 @@
                        mmc0_pins_a: mmc0@0 {
                                allwinner,pins = 
"PF0","PF1","PF2","PF3","PF4","PF5";
                                allwinner,function = "mmc0";
-                               allwinner,drive = <3>;
+                               allwinner,drive = <2>;
                                allwinner,pull = <0>;
                        };
 
-- 
1.8.5.3

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to