From patchwork Mon May 15 23:28:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 9728211 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9C3D260386 for ; Mon, 15 May 2017 23:31:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9619228472 for ; Mon, 15 May 2017 23:31:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A12C289BA; Mon, 15 May 2017 23:31:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 25B5728472 for ; Mon, 15 May 2017 23:31:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=53p/7guiCSKK39j6EPhKiPuphCwzwJnHWpwurRS9sBM=; b=CcYWUClkGPpPPGi2dlwVXNNkiQ gvZ6pEjDBq2c+xJu4cBHGHI3vgaFS3Vvg0O70lWj5wT4/HJ3EIT9wLpzVrxA/3lOfs/yK35XzUQWc 0ogCWuigHtgcykESBwqnAQqX+fA3/6ywEjjHHuNYxF5sLNs8CisqXoP9CNFdOj6m84leKX8TABRUO dqEuUONENtfWp5u9RrulIFwwWaIbxpeLRW6AUw88I17mfaLQfyxNGLl+r1/kIrcGopXRQroxGlQTG 8sY+K2ualRn/0+iXTDm9L1iTGH087Zfw8jJ+3g5hFlq/lMwBxuhyNjuCvx+z/d1yCYel2EsxanUgT Jzfq5hwA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dAPSP-0001Fr-6D; Mon, 15 May 2017 23:31:17 +0000 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dAPHo-0003tB-D8 for linux-arm-kernel@lists.infradead.org; Mon, 15 May 2017 23:20:22 +0000 Received: by mail-wm0-x22a.google.com with SMTP id v15so67142997wmv.1 for ; Mon, 15 May 2017 16:19:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2M9x4qCV3lcMfIK3mK0qof8P783qE7y7UNUiqvGXIZc=; b=i91ehrQ5tny2faDTK7sbfEt8qEvRe9GHV42UEg+yIV3wT9seAbagePNLqIiLVvw2Ss 5OMfzttm+/Npaa9SqZlPK+ytoPtEmRN4Oayl9OW0v69vY3jx0tKz2upiod1C+BUarPe/ tYFDF2w8cTJ6vm+gRV2o5wtcKqDaWJSZ/kQA39AjwTU26fzM1OSgCmjhd7hiRmbFP2/e wxqrIpK18jLgRSX78WLOkhcPIMWIFxNuG8hGxQMz/lPwJ5zOYEbNDm0jJZR8tuL9sv8a 6oEVzF0wIYkafYKpvJES+R5E23VyWF4j57U4/fwain/ryKEB0p2DH6X0Qt3UW3L1kMt6 5GdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2M9x4qCV3lcMfIK3mK0qof8P783qE7y7UNUiqvGXIZc=; b=OFz9ICBcIdLmLz3S8rroUc8wOepTwbc3kz1T6BcUo5WjRDjmMibOUb0WXGeiKOUlYo HVQATvB2DRJeGVTInkVs2D6l75V48JaZiR/C0u93KB1jg5/ClLktN3IH/OlB57TnQwkL tRF1siYQed6cjLrTftKE5LA8LlNmJktlXNmWtK5Pqvzqxlw+eMTExhMwYDsfQTrlel5s 1HZWSI9qG/eRAP2fSujtE7FRzEhlx9MOE1ON9X1t21JDtvZHvDDb2G4xFuGRXaeWH4oR Ccgkg6e4mUlm77AEy15A61I9nAX38qdSWezUEZLxARtwqFSYRk7JkXkxN5MxQWy5NlEp vWBQ== X-Gm-Message-State: AODbwcDU8iURT5S5zX86V1bnKg85QOeMF3i4d2tkMryEwD9u0z+MI8PA nwO2ym4+HpB5Ww== X-Received: by 10.46.1.79 with SMTP id 76mr2476759ljb.109.1494890398248; Mon, 15 May 2017 16:19:58 -0700 (PDT) Received: from enkidu.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id h67sm2416569lfh.24.2017.05.15.16.19.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 May 2017 16:19:57 -0700 (PDT) From: Marcin Wojtas To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] arm64: marvell: dts: add second 1G port on the Armada 8040 DB Date: Tue, 16 May 2017 01:28:33 +0200 Message-Id: <1494890913-8360-3-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1494890913-8360-1-git-send-email-mw@semihalf.com> References: <1494890913-8360-1-git-send-email-mw@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170515_162020_667076_8551AE69 X-CRM114-Status: UNSURE ( 8.67 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thomas.petazzoni@free-electrons.com, andrew@lunn.ch, jason@lakedaemon.net, jaz@semihalf.com, will.deacon@arm.com, nadavh@marvell.com, robh+dt@kernel.org, neta@marvell.com, tn@semihalf.com, gregory.clement@free-electrons.com, mark.rutland@arm.com, mw@semihalf.com, sebastian.hesselbarth@gmail.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Armada 8040 DB is equipped with 4 (2x 10G SFI + 2x 1G RGMII) ethernet ports of which only one was hitherto enabled. Because currently mvpp2 driver is capable of supporting only 1G RGMII/SGMII, enable second port from CP slave HW block. Signed-off-by: Marcin Wojtas --- arch/arm64/boot/dts/marvell/armada-8040-db.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts b/arch/arm64/boot/dts/marvell/armada-8040-db.dts index dc0d084..3cde649 100644 --- a/arch/arm64/boot/dts/marvell/armada-8040-db.dts +++ b/arch/arm64/boot/dts/marvell/armada-8040-db.dts @@ -169,6 +169,22 @@ status = "okay"; }; +&cps_mdio { + phy0: ethernet-phy@0 { + reg = <0>; + }; +}; + +&cps_ethernet { + status = "okay"; +}; + +&cps_eth1 { + status = "okay"; + phy = <&phy0>; + phy-mode = "rgmii-id"; +}; + &ap_sdhci0 { status = "okay"; bus-width = <4>;