summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/marvell/armada-3720-db.dts
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@free-electrons.com>2016-12-01 18:03:10 +0100
committerDavid S. Miller <davem@davemloft.net>2016-12-02 13:52:01 -0500
commitea7ae8854a3565a2da84fa91adf2e310c51c6e99 (patch)
tree3f536d5097d363cc96d32bd2016acbd9c3b157cd /arch/arm64/boot/dts/marvell/armada-3720-db.dts
parent2636ac3cc2b47e189894300602043aefbe699521 (diff)
downloadop-kernel-dev-ea7ae8854a3565a2da84fa91adf2e310c51c6e99.zip
op-kernel-dev-ea7ae8854a3565a2da84fa91adf2e310c51c6e99.tar.gz
ARM64: dts: marvell: Add network support for Armada 3700
Add neta nodes for network support both in device tree for the SoC and the board. Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm64/boot/dts/marvell/armada-3720-db.dts')
-rw-r--r--arch/arm64/boot/dts/marvell/armada-3720-db.dts23
1 files changed, 23 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 1372e9a6..a59d36c 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@0 {
+ reg = <0>;
+ };
+
+ phy1: ethernet-phy@1 {
+ reg = <1>;
+ };
+};
+
+&eth0 {
+ phy-mode = "rgmii-id";
+ phy = <&phy0>;
+ status = "okay";
+};
+
+&eth1 {
+ phy-mode = "sgmii";
+ phy = <&phy1>;
+ status = "okay";
+};
OpenPOWER on IntegriCloud