aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2014-08-11 08:14:41 -0400
committerJason Cooper <jason@lakedaemon.net>2014-08-17 14:41:04 -0400
commit9dfb5c417c3210fe84a74b4cd30549e06962bd06 (patch)
tree32e0b2ae86ca594be4cab8923976bbb516036974 /arch
parenta1451ab2f024be656fc1b5e560e5854b9d7e70fe (diff)
ARM: mvebu: Add proper pin muxing on Armada 370 RD board
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 Only the second network interface is pin muxed. The first network interface is connected to the PHY using SGMII, which uses a dedicated SerDes lane. 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-7-git-send-email-ezequiel.garcia@free-electrons.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/armada-370-rd.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-370-rd.dts b/arch/arm/boot/dts/armada-370-rd.dts
index 4169f4096ea3..ca13d9c8c5f8 100644
--- a/arch/arm/boot/dts/armada-370-rd.dts
+++ b/arch/arm/boot/dts/armada-370-rd.dts
@@ -59,6 +59,8 @@
59 }; 59 };
60 60
61 mdio { 61 mdio {
62 pinctrl-0 = <&mdio_pins>;
63 pinctrl-names = "default";
62 phy0: ethernet-phy@0 { 64 phy0: ethernet-phy@0 {
63 reg = <0>; 65 reg = <0>;
64 }; 66 };
@@ -74,6 +76,8 @@
74 phy-mode = "sgmii"; 76 phy-mode = "sgmii";
75 }; 77 };
76 ethernet@74000 { 78 ethernet@74000 {
79 pinctrl-0 = <&ge1_rgmii_pins>;
80 pinctrl-names = "default";
77 status = "okay"; 81 status = "okay";
78 phy = <&phy1>; 82 phy = <&phy1>;
79 phy-mode = "rgmii-id"; 83 phy-mode = "rgmii-id";