1 From e39d51b2236ab17628fe5d110296cd33a9c4427e Mon Sep 17 00:00:00 2001
2 From: Chen-Yu Tsai <wens@csie.org>
3 Date: Sat, 7 Dec 2013 01:29:42 +0800
4 Subject: [PATCH] ARM: dts: sun7i: olinuxino-micro: Enable GMAC instead of EMAC
6 GMAC has better performance and fewer hardware issues.
7 Use the GMAC in MII mode for ethernet instead of the EMAC.
9 Signed-off-by: Chen-Yu Tsai <wens@csie.org>
11 arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 23 ++++++++---------------
12 1 file changed, 8 insertions(+), 15 deletions(-)
14 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
15 +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts
17 compatible = "olimex,a20-olinuxino-micro", "allwinner,sun7i-a20";
20 - emac: ethernet@01c0b000 {
21 - pinctrl-names = "default";
22 - pinctrl-0 = <&emac_pins_a>;
30 - phy1: ethernet-phy@1 {
36 pinctrl-names = "default";
37 pinctrl-0 = <&mmc0_pins_a>;
39 vbus-supply = <®_usb2_vbus>;
43 + gmac: ethernet@01c50000 {
44 + pinctrl-names = "default";
45 + pinctrl-0 = <&gmac_pins_mii>;
46 + snps,phy-addr = <1>;