diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2014-07-10 15:52:15 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-07-13 17:51:30 -0400 |
commit | 9495898ffd2075d0fd42b573cb40c23eaea7b18e (patch) | |
tree | 1d65118d951432af3970f142e7ccbd0e2108cce3 | |
parent | ff10e2cda1072b85713c95fddd87da41adec9e7f (diff) |
ARM: mvebu: Enable the network controller in Armada 375 DB board
This commit enables the network controller in the Armada 375 DB board,
and configures the two available ethernet interfaces.
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Link: https://lkml.kernel.org/r/1405021936-28658-4-git-send-email-ezequiel.garcia@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
-rw-r--r-- | arch/arm/boot/dts/armada-375-db.dts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-375-db.dts b/arch/arm/boot/dts/armada-375-db.dts index 772fec2d26ce..cfab2170d518 100644 --- a/arch/arm/boot/dts/armada-375-db.dts +++ b/arch/arm/boot/dts/armada-375-db.dts | |||
@@ -121,6 +121,32 @@ | |||
121 | cd-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>; | 121 | cd-gpios = <&gpio1 12 GPIO_ACTIVE_HIGH>; |
122 | wp-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; | 122 | wp-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; |
123 | }; | 123 | }; |
124 | |||
125 | mdio { | ||
126 | phy0: ethernet-phy@0 { | ||
127 | reg = <0>; | ||
128 | }; | ||
129 | |||
130 | phy3: ethernet-phy@3 { | ||
131 | reg = <3>; | ||
132 | }; | ||
133 | }; | ||
134 | |||
135 | ethernet@f0000 { | ||
136 | status = "okay"; | ||
137 | |||
138 | eth0@c4000 { | ||
139 | status = "okay"; | ||
140 | phy = <&phy0>; | ||
141 | phy-mode = "rgmii-id"; | ||
142 | }; | ||
143 | |||
144 | eth1@c5000 { | ||
145 | status = "okay"; | ||
146 | phy = <&phy3>; | ||
147 | phy-mode = "gmii"; | ||
148 | }; | ||
149 | }; | ||
124 | }; | 150 | }; |
125 | 151 | ||
126 | pcie-controller { | 152 | pcie-controller { |