From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> To: "David S. Miller" <davem@davemloft.net>, Lennert Buytenhek <kernel@wantstofly.org> Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jason Cooper <jason@lakedaemon.net>, Andrew Lunn <andrew@lunn.ch>, Gregory Clement <gregory.clement@free-electrons.com>, Lior Amsalem <alior@marvell.com>, Maen Suleiman <maen@marvell.com> Subject: [PATCH v2 3/4] arm: mvebu: add Ethernet controllers using mvneta driver for Armada 370/XP Date: Thu, 11 Oct 2012 17:28:01 +0200 [thread overview] Message-ID: <1349969282-12676-4-git-send-email-thomas.petazzoni@free-electrons.com> (raw) In-Reply-To: <1349969282-12676-1-git-send-email-thomas.petazzoni@free-electrons.com> The Armada 370 SoC has two network units, while the Armada XP has four network units. The first two network units are common to both the Armada XP and Armada 370, so they are added to armada-370-xp.dtsi, while the other two network units are specific to the Armada XP and therefore added to armada-xp.dtsi. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- arch/arm/boot/dts/armada-370-xp.dtsi | 16 ++++++++++++++++ arch/arm/boot/dts/armada-xp.dtsi | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi index 6b6b932..52af710 100644 --- a/arch/arm/boot/dts/armada-370-xp.dtsi +++ b/arch/arm/boot/dts/armada-370-xp.dtsi @@ -63,6 +63,22 @@ reg = <0xd0020300 0x30>; interrupts = <37>, <38>, <39>, <40>; }; + + eth@d0070000 { + compatible = "marvell,neta"; + reg = <0xd0070000 0x2500>; + interrupts = <8>; + device_type = "network"; + status = "disabled"; + }; + + eth@d0074000 { + compatible = "marvell,neta"; + reg = <0xd0074000 0x2500>; + interrupts = <10>; + device_type = "network"; + status = "disabled"; + }; }; }; diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi index 71d6b5d..59167dc 100644 --- a/arch/arm/boot/dts/armada-xp.dtsi +++ b/arch/arm/boot/dts/armada-xp.dtsi @@ -51,5 +51,21 @@ compatible = "marvell,armada-370-xp-system-controller"; reg = <0xd0018200 0x500>; }; + + eth@d0030000 { + compatible = "marvell,neta"; + reg = <0xd0030000 0x2500>; + interrupts = <12>; + device_type = "network"; + status = "disabled"; + }; + + eth@d0034000 { + compatible = "marvell,neta"; + reg = <0xd0034000 0x2500>; + interrupts = <14>; + device_type = "network"; + status = "disabled"; + }; }; }; -- 1.7.9.5
WARNING: multiple messages have this Message-ID (diff)
From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/4] arm: mvebu: add Ethernet controllers using mvneta driver for Armada 370/XP Date: Thu, 11 Oct 2012 17:28:01 +0200 [thread overview] Message-ID: <1349969282-12676-4-git-send-email-thomas.petazzoni@free-electrons.com> (raw) In-Reply-To: <1349969282-12676-1-git-send-email-thomas.petazzoni@free-electrons.com> The Armada 370 SoC has two network units, while the Armada XP has four network units. The first two network units are common to both the Armada XP and Armada 370, so they are added to armada-370-xp.dtsi, while the other two network units are specific to the Armada XP and therefore added to armada-xp.dtsi. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- arch/arm/boot/dts/armada-370-xp.dtsi | 16 ++++++++++++++++ arch/arm/boot/dts/armada-xp.dtsi | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi index 6b6b932..52af710 100644 --- a/arch/arm/boot/dts/armada-370-xp.dtsi +++ b/arch/arm/boot/dts/armada-370-xp.dtsi @@ -63,6 +63,22 @@ reg = <0xd0020300 0x30>; interrupts = <37>, <38>, <39>, <40>; }; + + eth at d0070000 { + compatible = "marvell,neta"; + reg = <0xd0070000 0x2500>; + interrupts = <8>; + device_type = "network"; + status = "disabled"; + }; + + eth at d0074000 { + compatible = "marvell,neta"; + reg = <0xd0074000 0x2500>; + interrupts = <10>; + device_type = "network"; + status = "disabled"; + }; }; }; diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi index 71d6b5d..59167dc 100644 --- a/arch/arm/boot/dts/armada-xp.dtsi +++ b/arch/arm/boot/dts/armada-xp.dtsi @@ -51,5 +51,21 @@ compatible = "marvell,armada-370-xp-system-controller"; reg = <0xd0018200 0x500>; }; + + eth at d0030000 { + compatible = "marvell,neta"; + reg = <0xd0030000 0x2500>; + interrupts = <12>; + device_type = "network"; + status = "disabled"; + }; + + eth at d0034000 { + compatible = "marvell,neta"; + reg = <0xd0034000 0x2500>; + interrupts = <14>; + device_type = "network"; + status = "disabled"; + }; }; }; -- 1.7.9.5
next prev parent reply other threads:[~2012-10-11 15:28 UTC|newest] Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-10-11 15:27 [PATCH v2] Network driver for the Armada 370 and Armada XP ARM Marvell SoCs Thomas Petazzoni 2012-10-11 15:27 ` Thomas Petazzoni 2012-10-11 15:27 ` [PATCH v2 1/4] net: mvneta: driver for Marvell Armada 370/XP network unit Thomas Petazzoni 2012-10-11 15:27 ` Thomas Petazzoni 2012-10-11 15:46 ` Rob Herring 2012-10-11 15:46 ` Rob Herring 2012-10-11 16:38 ` Thomas Petazzoni 2012-10-11 16:38 ` Thomas Petazzoni 2012-10-12 14:16 ` Thomas Petazzoni 2012-10-12 14:16 ` Thomas Petazzoni 2012-10-11 18:13 ` Baruch Siach 2012-10-11 18:13 ` Baruch Siach 2012-10-11 21:26 ` Francois Romieu 2012-10-11 21:26 ` Francois Romieu 2012-10-12 14:31 ` Jason Cooper 2012-10-12 14:31 ` Jason Cooper 2012-10-12 14:59 ` Thomas Petazzoni 2012-10-12 14:59 ` Thomas Petazzoni 2012-10-12 16:03 ` Jason Cooper 2012-10-12 16:03 ` Jason Cooper 2012-10-11 15:28 ` [PATCH v2 2/4] net: mvneta: update MAINTAINERS file for the mvneta maintainers Thomas Petazzoni 2012-10-11 15:28 ` Thomas Petazzoni 2012-10-11 15:28 ` Thomas Petazzoni [this message] 2012-10-11 15:28 ` [PATCH v2 3/4] arm: mvebu: add Ethernet controllers using mvneta driver for Armada 370/XP Thomas Petazzoni 2012-10-11 15:28 ` [PATCH v2 4/4] arm: mvebu: enable Ethernet controllers on Armada 370/XP eval boards Thomas Petazzoni 2012-10-11 15:28 ` Thomas Petazzoni
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1349969282-12676-4-git-send-email-thomas.petazzoni@free-electrons.com \ --to=thomas.petazzoni@free-electrons.com \ --cc=alior@marvell.com \ --cc=andrew@lunn.ch \ --cc=davem@davemloft.net \ --cc=gregory.clement@free-electrons.com \ --cc=jason@lakedaemon.net \ --cc=kernel@wantstofly.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=maen@marvell.com \ --cc=netdev@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.