Received: by 10.213.65.68 with SMTP id h4csp300319imn; Fri, 16 Mar 2018 03:38:42 -0700 (PDT) X-Google-Smtp-Source: AG47ELtJpbqz+G/2t8xKmdx8jCkoA9QzDtKuyjNi2Vzmo6YbSJvwIZweVhjK0rCISkaJ1szSxTBi X-Received: by 10.99.158.9 with SMTP id s9mr1097739pgd.64.1521196722492; Fri, 16 Mar 2018 03:38:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521196722; cv=none; d=google.com; s=arc-20160816; b=XQia/NTHW6ZVCuFu3oyJfrs7jZH2PTTGq3VMLIfN0cCT0zfQOtdiMgQLI/MAtpMkZg eu1Ld2p5O2GxqNM6HuA2DDqpygEgeoixJgTQ/W7HJ10dACfF4l8fDIBTjdtvMwm00FhV Gp84H2GxR0N6gdNfpEWacEERYMiePuQgDj9aG1ZY2X4Iod+R3gZtM33xZzmpjHbmtW3u 1BdSuYLm69Fv6vb/sXEHbwxsTkbzLknKmcw1+42tjrKDbfxXsPn7uhUgRnjMz2cO6KBk Bbkt/HEJLejCWJoGoSWQAQul8ot6HgJGsQJRC3cKzb36UEumdFVBQxrV3hxZyA6xoKXM tbjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=vqJEWp+Znsa5ULHd8JF+QcTiCkTWgztTl0rTNDccrQU=; b=QnQSjVMGHft4Baqz1mQWo9dmpHaNyUOhzHv+3FHBrgHF8xxWZRLXWU5/hUJmlP2wr6 aOJE2Wn/uukjoEOJsFyNFOZgpn+g3W/9IGXdRUgOfPpAht0EdbL/wIM0sqe9TJ1G9MDe Mx1Zj8ZY10mup0H53DCrZc1Q3q71Bek4Yq0lRp1SE4WMwpRSwaM7QbuigpA2Y74vKydE u7mf04Xjl+nTbUCtzelz2NjmLvP0ILYBYTPYIwTqKlEd1NMo0LLa+V0ORJ2cQUXV39OX rl9yFi5poMfcxQtA6JqFqDqzxkXS/n88fa3SpxXdlsLeJeUkm7kA4RCoewXPaK4LxnqG 3i5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u8-v6si6269222plr.50.2018.03.16.03.38.28; Fri, 16 Mar 2018 03:38:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753572AbeCPKfx (ORCPT + 99 others); Fri, 16 Mar 2018 06:35:53 -0400 Received: from mail.bootlin.com ([62.4.15.54]:35077 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753400AbeCPKfu (ORCPT ); Fri, 16 Mar 2018 06:35:50 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 46EC8208B3; Fri, 16 Mar 2018 11:35:48 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.bootlin.com (Postfix) with ESMTPSA id E9B98208C4; Fri, 16 Mar 2018 11:35:05 +0100 (CET) From: Antoine Tenart To: davem@davemloft.net, kishon@ti.com, linux@armlinux.org.uk, gregory.clement@bootlin.com, andrew@lunn.ch, jason@lakedaemon.net, sebastian.hesselbarth@gmail.com Cc: Antoine Tenart , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, maxime.chevallier@bootlin.com, miquel.raynal@bootlin.com, nadavh@marvell.com, stefanc@marvell.com, ymarkman@marvell.com, mw@semihalf.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH net-next 10/10] arm64: dts: marvell: mcbin: enable the fourth network interface Date: Fri, 16 Mar 2018 11:33:51 +0100 Message-Id: <20180316103351.16616-11-antoine.tenart@bootlin.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180316103351.16616-1-antoine.tenart@bootlin.com> References: <20180316103351.16616-1-antoine.tenart@bootlin.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch enables the fourth network interface on the Marvell Macchiatobin. It is configured in the 2500Base-X PHY mode. Signed-off-by: Antoine Tenart --- arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts index 626e9d0462c3..1ce31bfe6197 100644 --- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts +++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts @@ -66,6 +66,7 @@ ethernet0 = &cp0_eth0; ethernet1 = &cp1_eth0; ethernet2 = &cp1_eth1; + ethernet3 = &cp1_eth2; }; /* Regulator labels correspond with schematics */ @@ -285,6 +286,16 @@ phys = <&cp1_comphy0 1>; }; +&cp1_eth2 { + /* CPS Lane 5 */ + status = "okay"; + /* Network PHY */ + phy-mode = "2500base-x"; + managed = "in-band-status"; + /* Generic PHY, providing serdes lanes */ + phys = <&cp1_comphy5 2>; +}; + &cp1_pinctrl { cp1_spi1_pins: spi1-pins { marvell,pins = "mpp12", "mpp13", "mpp14", "mpp15", "mpp16"; -- 2.14.3