From mboxrd@z Thu Jan 1 00:00:00 1970 From: sebastian.hesselbarth@gmail.com (Sebastian Hesselbarth) Date: Tue, 21 Oct 2014 10:53:45 +0200 Subject: [PATCH 7/9] ARM: berlin: Add BG2CD ethernet DT nodes In-Reply-To: <1413881627-21639-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1413881627-21639-1-git-send-email-sebastian.hesselbarth@gmail.com> Message-ID: <1413881627-21639-8-git-send-email-sebastian.hesselbarth@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Marvell BG2CD has two fast ethernet controllers with internal PHY, add the corresponding nodes to SoC dtsi. Tested-by: Antoine T?nart Signed-off-by: Sebastian Hesselbarth --- Cc: "David S. Miller" Cc: "Antoine T?nart" Cc: Florian Fainelli Cc: Eric Miao Cc: Haojian Zhuang Cc: linux-arm-kernel at lists.infradead.org Cc: netdev at vger.kernel.org Cc: devicetree at vger.kernel.org Cc: linux-kernel at vger.kernel.org --- arch/arm/boot/dts/berlin2cd.dtsi | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/berlin2cd.dtsi b/arch/arm/boot/dts/berlin2cd.dtsi index cc1df65da504..8ce73a0a23a3 100644 --- a/arch/arm/boot/dts/berlin2cd.dtsi +++ b/arch/arm/boot/dts/berlin2cd.dtsi @@ -66,6 +66,42 @@ clocks = <&chip CLKID_TWD>; }; + eth1: ethernet at b90000 { + compatible = "marvell,pxa168-eth"; + reg = <0xb90000 0x10000>; + clocks = <&chip CLKID_GETH1>; + interrupts = ; + /* set by bootloader */ + local-mac-address = [00 00 00 00 00 00]; + #address-cells = <1>; + #size-cells = <0>; + phy-handle = <ðphy1>; + status = "disabled"; + + ethphy1: ethernet-phy at 0 { + phy-connection-type = "mii"; + reg = <0>; + }; + }; + + eth0: ethernet at e50000 { + compatible = "marvell,pxa168-eth"; + reg = <0xe50000 0x10000>; + clocks = <&chip CLKID_GETH0>; + interrupts = ; + /* set by bootloader */ + local-mac-address = [00 00 00 00 00 00]; + #address-cells = <1>; + #size-cells = <0>; + phy-handle = <ðphy0>; + status = "disabled"; + + ethphy0: ethernet-phy at 0 { + phy-connection-type = "mii"; + reg = <0>; + }; + }; + apb at e80000 { compatible = "simple-bus"; #address-cells = <1>; -- 2.1.1