OSDN Git Service

ARM: sun4i: Add muxing options for the ethernet controller
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 30 May 2013 03:49:22 +0000 (03:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jun 2013 00:23:07 +0000 (17:23 -0700)
The EMAC only has one pinset available for muxing, so hopefully, we
cover all cases.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Tested-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/boot/dts/sun4i-a10.dtsi

index e7ef619..ff1f41f 100644 (file)
                                allwinner,drive = <0>;
                                allwinner,pull = <0>;
                        };
+
+                       emac_pins_a: emac0@0 {
+                               allwinner,pins = "PA0", "PA1", "PA2",
+                                               "PA3", "PA4", "PA5", "PA6",
+                                               "PA7", "PA8", "PA9", "PA10",
+                                               "PA11", "PA12", "PA13", "PA14",
+                                               "PA15", "PA16";
+                               allwinner,function = "emac";
+                               allwinner,drive = <0>;
+                               allwinner,pull = <0>;
+                       };
                };
 
                timer@01c20c00 {