From: Marcin Wojtas <mw@semihalf.com>
To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Cc: sebastian.hesselbarth@gmail.com, andrew@lunn.ch,
jason@lakedaemon.net, thomas.petazzoni@free-electrons.com,
gregory.clement@free-electrons.com, will.deacon@arm.com,
robh+dt@kernel.org, mark.rutland@arm.com, nadavh@marvell.com,
neta@marvell.com, mw@semihalf.com, jaz@semihalf.com,
tn@semihalf.com
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 [thread overview]
Message-ID: <1494890913-8360-3-git-send-email-mw@semihalf.com> (raw)
In-Reply-To: <1494890913-8360-1-git-send-email-mw@semihalf.com>
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 <mw@semihalf.com>
---
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>;
--
1.8.3.1
next prev parent reply other threads:[~2017-05-15 23:20 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-15 23:28 [PATCH 0/2] Armada 8040 MachiatoBin and DB improvements Marcin Wojtas
2017-05-15 23:28 ` [PATCH 1/2] arm64: marvell: dts: fill MachiatoBin board description Marcin Wojtas
2017-05-15 23:28 ` Russell King - ARM Linux
2017-05-16 9:27 ` Marcin Wojtas
2017-05-16 9:50 ` Russell King - ARM Linux
2017-05-16 9:55 ` Thomas Petazzoni
2017-05-16 10:02 ` Russell King - ARM Linux
2017-05-16 11:52 ` Thomas Petazzoni
2017-05-16 12:13 ` Russell King - ARM Linux
2017-05-16 12:44 ` Marcin Wojtas
2017-05-16 13:45 ` Russell King - ARM Linux
2017-05-16 11:16 ` Russell King - ARM Linux
2017-05-16 11:33 ` Marcin Wojtas
2017-05-16 11:14 ` Russell King - ARM Linux
2017-05-16 12:34 ` Thomas Petazzoni
2017-05-16 12:40 ` Russell King - ARM Linux
2017-05-15 23:28 ` Marcin Wojtas [this message]
2017-05-23 14:24 ` [PATCH 2/2] arm64: marvell: dts: add second 1G port on the Armada 8040 DB Gregory CLEMENT
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=1494890913-8360-3-git-send-email-mw@semihalf.com \
--to=mw@semihalf.com \
--cc=andrew@lunn.ch \
--cc=gregory.clement@free-electrons.com \
--cc=jason@lakedaemon.net \
--cc=jaz@semihalf.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=nadavh@marvell.com \
--cc=neta@marvell.com \
--cc=robh+dt@kernel.org \
--cc=sebastian.hesselbarth@gmail.com \
--cc=thomas.petazzoni@free-electrons.com \
--cc=tn@semihalf.com \
--cc=will.deacon@arm.com \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox