arm64: dts: marvell: explicitly enable the mdio nodes for 7k/8k DB
Subsystems (2)
PATCH 1/2 arm64: dts: marvell: explicitly enable the mdio nodes for 7k/8k DB
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.
--- 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(+)
arch/arm64/boot/dts/marvell/armada-7040-db.dts +2 -0
@@ -162,6 +162,8 @@ }; &cpm_mdio { + status = "okay"; + phy0: ethernet-phy at 0 { reg = <0>; };
arch/arm64/boot/dts/marvell/armada-8040-db.dts +4 -0
@@ -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>; };
Signature · 1 line
2.9.4
PATCH 2/2 arm64: dts: marvell: disable the mdio nodes by default
Disable the mdio nodes by default in the cp110 slave and master dtsi as they're not wired on every board.
--- arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 1 + arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 1 + 2 files changed, 2 insertions(+)
arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi +1 -0
@@ -94,6 +94,7 @@ #size-cells = <0>; compatible = "marvell,orion-mdio"; reg = <0x12a200 0x10>; + status = "disabled"; }; cpm_syscon0: system-controller at 440000 {
arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi +1 -0
@@ -101,6 +101,7 @@ #size-cells = <0>; compatible = "marvell,orion-mdio"; reg = <0x12a200 0x10>; + status = "disabled"; }; cps_syscon0: system-controller at 440000 {
Signature · 1 line
2.9.4
PATCH 2/2 arm64: dts: marvell: disable the mdio nodes by default
Hi Antoine,
Quoted 4 lines · Antoine Tenart
Disable the mdio nodes by default in the cp110 slave and master dtsi as they're not wired on every board.
Signed-off-by Antoine Tenart <[email protected]>
Applied on mvebu/dt64
Thanks,
Gregory
Quoted 32 lines
--- arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 1 + arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 1 + 2 files changed, 2 insertions(+)arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi +1
-0@@ -94,6 +94,7 @@ #size-cells = <0>; compatible = "marvell,orion-mdio"; reg = <0x12a200 0x10>; + status = "disabled"; }; cpm_syscon0: system-controller at 440000 {arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi +1
-0@@ -101,6 +101,7 @@ #size-cells = <0>; compatible = "marvell,orion-mdio"; reg = <0x12a200 0x10>; + status = "disabled"; }; cps_syscon0: system-controller at 440000 {Signature · 1 line
2.9.4
Signature · 4 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH 1/2 arm64: dts: marvell: explicitly enable the mdio nodes for 7k/8k DB
In reply to Antoine TenartHi Antoine,
Quoted 5 lines · Antoine Tenart
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 <[email protected]>
Applied on mvebu/dt64
Thanks,
Gregory
Quoted 43 lines
--- 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(+)arch/arm64/boot/dts/marvell/armada-7040-db.dts +2
-0@@ -162,6 +162,8 @@ }; &cpm_mdio { + status = "okay"; + phy0: ethernet-phy at 0 { reg = <0>; };arch/arm64/boot/dts/marvell/armada-8040-db.dts +4
-0@@ -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>; };Signature · 1 line
2.9.4
Signature · 4 lines
Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com