From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Hesselbarth Subject: [PATCH 6/9] ARM: berlin: Add BG2 ethernet DT nodes Date: Tue, 21 Oct 2014 10:53:44 +0200 Message-ID: <1413881627-21639-7-git-send-email-sebastian.hesselbarth@gmail.com> References: <1413881627-21639-1-git-send-email-sebastian.hesselbarth@gmail.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1413881627-21639-1-git-send-email-sebastian.hesselbarth@gmail.com> Sender: netdev-owner@vger.kernel.org To: Sebastian Hesselbarth Cc: "David S. Miller" , =?UTF-8?q?Antoine=20T=C3=A9nart?= , Florian Fainelli , Eric Miao , Haojian Zhuang , linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org Marvell BG2 has two fast ethernet controllers with internal PHY, add the corresponding nodes to SoC dtsi. Tested-by: Antoine T=C3=A9nart Signed-off-by: Sebastian Hesselbarth --- Cc: "David S. Miller" Cc: "Antoine T=C3=A9nart" Cc: Florian Fainelli Cc: Eric Miao Cc: Haojian Zhuang Cc: linux-arm-kernel@lists.infradead.org Cc: netdev@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- arch/arm/boot/dts/berlin2.dtsi | 36 ++++++++++++++++++++++++++++++++++= ++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/berlin2.dtsi b/arch/arm/boot/dts/berlin2= =2Edtsi index 9d7c810ebd0b..31d5922263d7 100644 --- a/arch/arm/boot/dts/berlin2.dtsi +++ b/arch/arm/boot/dts/berlin2.dtsi @@ -79,11 +79,47 @@ clocks =3D <&chip CLKID_TWD>; }; =20 + eth1: ethernet@b90000 { + compatible =3D "marvell,pxa168-eth"; + reg =3D <0xb90000 0x10000>; + clocks =3D <&chip CLKID_GETH1>; + interrupts =3D ; + /* set by bootloader */ + local-mac-address =3D [00 00 00 00 00 00]; + #address-cells =3D <1>; + #size-cells =3D <0>; + phy-handle =3D <ðphy1>; + status =3D "disabled"; + + ethphy1: ethernet-phy@0 { + phy-connection-type =3D "mii"; + reg =3D <0>; + }; + }; + cpu-ctrl@dd0000 { compatible =3D "marvell,berlin-cpu-ctrl"; reg =3D <0xdd0000 0x10000>; }; =20 + eth0: ethernet@e50000 { + compatible =3D "marvell,pxa168-eth"; + reg =3D <0xe50000 0x10000>; + clocks =3D <&chip CLKID_GETH0>; + interrupts =3D ; + /* set by bootloader */ + local-mac-address =3D [00 00 00 00 00 00]; + #address-cells =3D <1>; + #size-cells =3D <0>; + phy-handle =3D <ðphy0>; + status =3D "disabled"; + + ethphy0: ethernet-phy@0 { + phy-connection-type =3D "mii"; + reg =3D <0>; + }; + }; + apb@e80000 { compatible =3D "simple-bus"; #address-cells =3D <1>; --=20 2.1.1