Thread (1 message) 1 message, 1 author, 2017-06-13
DORMANTno replies

[PATCH 1/2] arm64: dts: marvell: explicitly enable the mdio nodes for 7k/8k DB

From: Gregory CLEMENT <hidden>
Date: 2017-06-13 08:41:02

Hi Antoine,
 
 On jeu., juin 08 2017, Antoine Tenart [off-list ref] wrote:
Explicitly enable the MDIO nodes in the Marvell Armada 7k DB and Marvell
Armada 8k DB. This is needed as the MDIO nodes will be disabled in the
CP 110 slave and master dtsi by a following up patch.

Signed-off-by: Antoine Tenart <redacted>
Applied on mvebu/dt64

Thanks,

Gregory
quoted hunk
---
 arch/arm64/boot/dts/marvell/armada-7040-db.dts | 2 ++
 arch/arm64/boot/dts/marvell/armada-8040-db.dts | 4 ++++
 2 files changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/marvell/armada-7040-db.dts b/arch/arm64/boot/dts/marvell/armada-7040-db.dts
index 12442329b80f..771311051421 100644
--- a/arch/arm64/boot/dts/marvell/armada-7040-db.dts
+++ b/arch/arm64/boot/dts/marvell/armada-7040-db.dts
@@ -162,6 +162,8 @@
 };
 
 &cpm_mdio {
+	status = "okay";
+
 	phy0: ethernet-phy at 0 {
 		reg = <0>;
 	};
diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts b/arch/arm64/boot/dts/marvell/armada-8040-db.dts
index 3cde649f96e4..6af3c39bbb99 100644
--- a/arch/arm64/boot/dts/marvell/armada-8040-db.dts
+++ b/arch/arm64/boot/dts/marvell/armada-8040-db.dts
@@ -125,6 +125,8 @@
 };
 
 &cpm_mdio {
+	status = "okay";
+
 	phy1: ethernet-phy at 1 {
 		reg = <1>;
 	};
@@ -170,6 +172,8 @@
 };
 
 &cps_mdio {
+	status = "okay";
+
 	phy0: ethernet-phy at 0 {
 		reg = <0>;
 	};
-- 
2.9.4
-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help