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/sun7i-a20.dtsi | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 9831617..5f5f121 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -416,6 +416,7 @@
                        clock-names = "ahb", "mod";
                        interrupts = <0 32 4>;
                        bus-width = <4>;
+                       cd-inverted;
                        status = "disabled";
                };
 
@@ -426,6 +427,7 @@
                        clock-names = "ahb", "mod";
                        interrupts = <0 33 4>;
                        bus-width = <4>;
+                       cd-inverted;
                        status = "disabled";
                };
 
@@ -436,6 +438,7 @@
                        clock-names = "ahb", "mod";
                        interrupts = <0 34 4>;
                        bus-width = <4>;
+                       cd-inverted;
                        status = "disabled";
                };
 
@@ -446,6 +449,7 @@
                        clock-names = "ahb", "mod";
                        interrupts = <0 35 4>;
                        bus-width = <4>;
+                       cd-inverted;
                        status = "disabled";
                };
 
@@ -622,7 +626,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>;
                        };
 
@@ -636,7 +640,7 @@
                        mmc3_pins_a: mmc3@0 {
                                allwinner,pins = 
"PI4","PI5","PI6","PI7","PI8","PI9";
                                allwinner,function = "mmc3";
-                               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