From patchwork Thu Oct 11 15:28:02 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 1582381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 0467D3FD9C for ; Thu, 11 Oct 2012 15:31:20 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TMKhF-00013B-SF; Thu, 11 Oct 2012 15:29:13 +0000 Received: from mail.free-electrons.com ([88.190.12.23]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TMKgq-0000vk-T6 for linux-arm-kernel@lists.infradead.org; Thu, 11 Oct 2012 15:28:50 +0000 Received: by mail.free-electrons.com (Postfix, from userid 106) id DE7A31AF; Thu, 11 Oct 2012 17:27:35 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham version=3.3.1 Received: from localhost (humanoidz.org [82.247.183.72]) by mail.free-electrons.com (Postfix) with ESMTPSA id 2B1721B3; Thu, 11 Oct 2012 17:27:16 +0200 (CEST) From: Thomas Petazzoni To: "David S. Miller" , Lennert Buytenhek Subject: [PATCH v2 4/4] arm: mvebu: enable Ethernet controllers on Armada 370/XP eval boards Date: Thu, 11 Oct 2012 17:28:02 +0200 Message-Id: <1349969282-12676-5-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1349969282-12676-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1349969282-12676-1-git-send-email-thomas.petazzoni@free-electrons.com> X-Spam-Note: CRM114 invocation failed X-Spam-Score: -4.0 (----) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-4.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -2.1 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Lior Amsalem , Andrew Lunn , Jason Cooper , netdev@vger.kernel.org, Maen Suleiman , Gregory Clement , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patch enables the two network interfaces of the Armada 370 official Marvell evaluation platform, and the four network interfaces of the Armada XP official Marvell evaluation platform. Signed-off-by: Thomas Petazzoni --- arch/arm/boot/dts/armada-370-db.dts | 12 ++++++++++++ arch/arm/boot/dts/armada-xp-db.dts | 24 ++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/armada-370-db.dts b/arch/arm/boot/dts/armada-370-db.dts index fffd5c2..bb18b0d 100644 --- a/arch/arm/boot/dts/armada-370-db.dts +++ b/arch/arm/boot/dts/armada-370-db.dts @@ -38,5 +38,17 @@ clock-frequency = <600000000>; status = "okay"; }; + eth@d0070000 { + clock-frequency = <200000000>; + status = "okay"; + phy-mode = "rgmii"; + phy-addr = <0>; + }; + eth@d0074000 { + clock-frequency = <200000000>; + status = "okay"; + phy-mode = "rgmii"; + phy-addr = <1>; + }; }; }; diff --git a/arch/arm/boot/dts/armada-xp-db.dts b/arch/arm/boot/dts/armada-xp-db.dts index f97040d..d1a4173 100644 --- a/arch/arm/boot/dts/armada-xp-db.dts +++ b/arch/arm/boot/dts/armada-xp-db.dts @@ -46,5 +46,29 @@ clock-frequency = <250000000>; status = "okay"; }; + eth@d0070000 { + clock-frequency = <250000000>; + status = "okay"; + phy-mode = "rgmii"; + phy-addr = <0>; + }; + eth@d0074000 { + clock-frequency = <250000000>; + status = "okay"; + phy-mode = "rgmii"; + phy-addr = <1>; + }; + eth@d0030000 { + clock-frequency = <250000000>; + status = "okay"; + phy-mode = "sgmii"; + phy-addr = <25>; + }; + eth@d0034000 { + clock-frequency = <250000000>; + status = "okay"; + phy-mode = "sgmii"; + phy-addr = <27>; + }; }; };