ARM: dts: armada-xp-rn2120: add pinmuxing for ethernet
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 29 Sep 2016 19:00:10 +0000 (21:00 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 17 Oct 2016 15:08:35 +0000 (17:08 +0200)
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>
arch/arm/boot/dts/armada-xp-netgear-rn2120.dts

index 3e930fdbaabc2a295440160d0b7895d80ab825cb..b6bf5344fbbe36ad405385549611365e7a5ac409 100644 (file)
                        };
 
                        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";