Thread (17 messages) 17 messages, 3 authors, 2016-12-01

[PATCH v5 net-next 7/7] ARM64: dts: marvell: Add network support for Armada 3700

From: Marcin Wojtas <hidden>
Date: 2016-12-01 16:05:32
Also in: lkml, netdev

Hi Gregory,

2016-11-30 22:42 GMT+01:00 Gregory CLEMENT [off-list ref]:
quoted hunk ↗ jump to hunk
Add neta nodes for network support both in device tree for the SoC and
the board.

Signed-off-by: Gregory CLEMENT <redacted>
---
 arch/arm64/boot/dts/marvell/armada-3720-db.dts | 23 +++++++++++++++++++-
 arch/arm64/boot/dts/marvell/armada-37xx.dtsi   | 23 +++++++++++++++++++-
 2 files changed, 46 insertions(+), 0 deletions(-)
diff --git a/arch/arm64/boot/dts/marvell/armada-3720-db.dts b/arch/arm64/boot/dts/marvell/armada-3720-db.dts
index 1372e9a6aaa4..c8b82e4145de 100644
--- a/arch/arm64/boot/dts/marvell/armada-3720-db.dts
+++ b/arch/arm64/boot/dts/marvell/armada-3720-db.dts
@@ -81,3 +81,26 @@
 &pcie0 {
        status = "okay";
 };
+
+&mdio {
+       status = "okay";
+       phy0: ethernet-phy at 0 {
+               reg = <0>;
+       };
+
+       phy1: ethernet-phy at 1 {
+               reg = <1>;
+       };
+};
+
+&eth0 {
+       phy-mode = "rgmii-id";
+       phy = <&phy0>;
+       status = "okay";
+};
+
+&eth1 {
+       phy-mode = "rgmii-id";
Should be "sgmii".

Best regards,
Marcin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help