Skip to content

Commit

Permalink
ARM: dts: armada-xp-rn2120: add pinmuxing for ethernet
Browse files Browse the repository at this point in the history
Up to now working ethernet depended on the bootloader to configure the
pinmuxing. Make it explicit.

As a side effect this change makes ethernet work in barebox.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
  • Loading branch information
Uwe Kleine-König authored and Gregory CLEMENT committed Oct 17, 2016
1 parent fcfd3da commit ae6f002
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm/boot/dts/armada-xp-netgear-rn2120.dts
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,18 @@
};

ethernet@70000 {
pinctrl-0 = <&ge0_rgmii_pins>;
pinctrl-names = "default";

status = "okay";
phy = <&phy0>;
phy-mode = "rgmii-id";
};

ethernet@74000 {
pinctrl-0 = <&ge1_rgmii_pins>;
pinctrl-names = "default";

status = "okay";
phy = <&phy1>;
phy-mode = "rgmii-id";
Expand Down

0 comments on commit ae6f002

Please sign in to comment.