diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2013-07-02 07:00:18 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-07-25 16:53:57 -0400 |
commit | 4c3f6b868c1525f750ed78d164302ec411d4d790 (patch) | |
tree | 2e5c2b7d228b7f76385f9fbb121dd7c09af8503c /arch/arm/boot/dts/dove.dtsi | |
parent | 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b (diff) |
ARM: dove: add gigabit ethernet and mvmdio device tree nodes
This patch adds orion-eth and mvmdio device tree nodes for DT enabled
Dove boards. As there is only one ethernet controller on Dove, a default
phy node is also added with a note to set its reg property on a per-board
basis.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/dove.dtsi')
-rw-r--r-- | arch/arm/boot/dts/dove.dtsi | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi index 6cab46849cdb..8612658ec3c1 100644 --- a/arch/arm/boot/dts/dove.dtsi +++ b/arch/arm/boot/dts/dove.dtsi | |||
@@ -258,5 +258,40 @@ | |||
258 | dmacap,xor; | 258 | dmacap,xor; |
259 | }; | 259 | }; |
260 | }; | 260 | }; |
261 | |||
262 | mdio: mdio-bus@72004 { | ||
263 | compatible = "marvell,orion-mdio"; | ||
264 | #address-cells = <1>; | ||
265 | #size-cells = <0>; | ||
266 | reg = <0x72004 0x84>; | ||
267 | interrupts = <30>; | ||
268 | clocks = <&gate_clk 2>; | ||
269 | status = "disabled"; | ||
270 | |||
271 | ethphy: ethernet-phy { | ||
272 | device-type = "ethernet-phy"; | ||
273 | /* set phy address in board file */ | ||
274 | }; | ||
275 | }; | ||
276 | |||
277 | eth: ethernet-controller@72000 { | ||
278 | compatible = "marvell,orion-eth"; | ||
279 | #address-cells = <1>; | ||
280 | #size-cells = <0>; | ||
281 | reg = <0x72000 0x4000>; | ||
282 | clocks = <&gate_clk 2>; | ||
283 | marvell,tx-checksum-limit = <1600>; | ||
284 | status = "disabled"; | ||
285 | |||
286 | ethernet-port@0 { | ||
287 | device_type = "network"; | ||
288 | compatible = "marvell,orion-eth-port"; | ||
289 | reg = <0>; | ||
290 | interrupts = <29>; | ||
291 | /* overwrite MAC address in bootloader */ | ||
292 | local-mac-address = [00 00 00 00 00 00]; | ||
293 | phy-handle = <ðphy>; | ||
294 | }; | ||
295 | }; | ||
261 | }; | 296 | }; |
262 | }; | 297 | }; |