Messages in this thread Patch in this message | | | From | Antoine Tenart <> | Subject | [PATCH 4/5] ARM: dts: berlin: add ethernet and mdio nodes | Date | Fri, 29 Aug 2014 15:51:02 +0200 |
| |
This patch adds the mdio and the Ethernet nodes, enabling the network unit on Berlin BG2Q SoCs.
The mac address is set to 00:00:00:00:00:00 so that the one set by the bootloader is used. The PHY nodes are in the board device tree.
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com> --- arch/arm/boot/dts/berlin2q.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi index 400c40fceccc..bb84a3d3740f 100644 --- a/arch/arm/boot/dts/berlin2q.dtsi +++ b/arch/arm/boot/dts/berlin2q.dtsi @@ -114,6 +114,25 @@ #interrupt-cells = <3>; }; + eth0: ethernet@b90000 { + compatible = "marvell,berlin-eth"; + reg = <0xb90000 0x10000>; + clocks = <&chip CLKID_GETH0>; + interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; + /* set by bootloader */ + local-mac-address = [00 00 00 00 00 00]; + status = "disabled"; + }; + + mdio: mdio-bus@b90010 { + compatible = "marvell,orion-mdio"; + reg = <0xb90010 0x84>; + clocks = <&chip CLKID_GETH0>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + cpu-ctrl@dd0000 { compatible = "marvell,berlin-cpu-ctrl"; reg = <0xdd0000 0x10000>; -- 1.9.1
| |