diff mbox

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

Message ID 20170608100455.15769-1-antoine.tenart@free-electrons.com (mailing list archive)
State New, archived
Headers show

Commit Message

Antoine Tenart June 8, 2017, 10:04 a.m. UTC
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 <antoine.tenart@free-electrons.com>
---
 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(+)

Comments

Gregory CLEMENT June 13, 2017, 8:41 a.m. UTC | #1
Hi Antoine,
 
 On jeu., juin 08 2017, Antoine Tenart <antoine.tenart@free-electrons.com> 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 <antoine.tenart@free-electrons.com>

Applied on mvebu/dt64

Thanks,

Gregory

> ---
>  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@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@1 {
>  		reg = <1>;
>  	};
> @@ -170,6 +172,8 @@
>  };
>  
>  &cps_mdio {
> +	status = "okay";
> +
>  	phy0: ethernet-phy@0 {
>  		reg = <0>;
>  	};
> -- 
> 2.9.4
>
diff mbox

Patch

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@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@1 {
 		reg = <1>;
 	};
@@ -170,6 +172,8 @@ 
 };
 
 &cps_mdio {
+	status = "okay";
+
 	phy0: ethernet-phy@0 {
 		reg = <0>;
 	};