ARM: mvebu: Add proper pin muxing on Netgear ReadyNAS 102
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Mon, 11 Aug 2014 12:14:39 +0000 (09:14 -0300)
committerJason Cooper <jason@lakedaemon.net>
Sun, 17 Aug 2014 18:40:47 +0000 (18:40 +0000)
This commit adds the required pin muxing for the network interfaces and
the MDIO interface to be properly initialized. For instance, this makes
it possible for a bootloader to initialize and access the network interfaces

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lkml.kernel.org/r/1407759281-11513-5-git-send-email-ezequiel.garcia@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-370-netgear-rn102.dts

index d6d572e5af321482b20aa1fd08baed1f445a37eb..03f917e9b65a820bb2bb4e44256dd791f393f507 100644 (file)
                        };
 
                        mdio {
+                               pinctrl-0 = <&mdio_pins>;
+                               pinctrl-names = "default";
                                phy0: ethernet-phy@0 { /* Marvell 88E1318 */
                                        reg = <0>;
                                };
                        };
 
                        ethernet@74000 {
+                               pinctrl-0 = <&ge1_rgmii_pins>;
+                               pinctrl-names = "default";
                                status = "okay";
                                phy = <&phy0>;
                                phy-mode = "rgmii-id";