Skip to content

Commit

Permalink
ARM: dts: sun7i: Enable gmac on Wits Pro A20 DKT
Browse files Browse the repository at this point in the history
The Wits Pro A20 DKT has a gbit ethernet port, enable it.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  • Loading branch information
Hans de Goede authored and Maxime Ripard committed Dec 21, 2015
1 parent 8661d0c commit b3a9995
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,18 @@
status = "okay";
};

&gmac {
pinctrl-names = "default";
pinctrl-0 = <&gmac_pins_rgmii_a>;
phy = <&phy1>;
phy-mode = "rgmii";
status = "okay";

phy1: ethernet-phy@1 {
reg = <1>;
};
};

&i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins_a>;
Expand Down

0 comments on commit b3a9995

Please sign in to comment.