mmc2 is available on port C. Add a pinmux setting for usual 4 bit
wide bus, as well as one with the 4 extra pins for 8 bit wide bus.

Signed-off-by: Chen-Yu Tsai <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
---
 arch/arm/boot/dts/sun9i-a80.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi
index f5b5645..fc866d8 100644
--- a/arch/arm/boot/dts/sun9i-a80.dtsi
+++ b/arch/arm/boot/dts/sun9i-a80.dtsi
@@ -466,6 +466,21 @@
                                allwinner,pull = <0>;
                        };
 
+                       mmc2_pins: mmc2 {
+                               allwinner,pins = "PC6","PC7","PC8","PC9",
+                                                "PC10","PC11";
+                               allwinner,function = "mmc2";
+                               allwinner,drive = <2>;
+                               allwinner,pull = <1>;
+                       };
+
+                       mmc2_8bit_pins: mmc2_8bit {
+                               allwinner,pins = "PC12","PC13","PC14","PC15";
+                               allwinner,function = "mmc2";
+                               allwinner,drive = <2>;
+                               allwinner,pull = <1>;
+                       };
+
                        uart0_pins_a: uart0@0 {
                                allwinner,pins = "PH12", "PH13";
                                allwinner,function = "uart0";
-- 
2.1.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/d/optout.

Reply via email to