* [PATCH v2] arm64: dts: marvell: 8040-mcbin: Enable 1GB Ethernet
@ 2017-06-08 10:42 Marc Zyngier
2017-06-08 17:16 ` Gregory CLEMENT
0 siblings, 1 reply; 2+ messages in thread
From: Marc Zyngier @ 2017-06-08 10:42 UTC (permalink / raw)
To: linux-arm-kernel
Enable the 1GB Ethernet interface that lives on the slave CP110,
with its corresponding phy (that oddly lives on the master CP110).
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
---
* From v1:
- renamed phy0 -> ge_phy (rmk)
- Added lane number and connector location (rmk)
arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
index f7bb0cc03147..e7296b2d0f0f 100644
--- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
+++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
@@ -100,6 +100,12 @@
status = "okay";
};
+&cpm_mdio {
+ ge_phy: ethernet-phy at 0 {
+ reg = <0>;
+ };
+};
+
&cpm_sata0 {
/* CPM Lane 0 - U29 */
status = "okay";
@@ -115,6 +121,17 @@
status = "okay";
};
+&cps_ethernet {
+ status = "okay";
+};
+
+&cps_eth1 {
+ /* CPS Lane 0 - J5 (Gigabit RJ45) */
+ status = "okay";
+ phy = <&ge_phy>;
+ phy-mode = "sgmii";
+};
+
&cps_sata0 {
/* CPS Lane 1 - U32 */
/* CPS Lane 3 - U31 */
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* [PATCH v2] arm64: dts: marvell: 8040-mcbin: Enable 1GB Ethernet
2017-06-08 10:42 [PATCH v2] arm64: dts: marvell: 8040-mcbin: Enable 1GB Ethernet Marc Zyngier
@ 2017-06-08 17:16 ` Gregory CLEMENT
0 siblings, 0 replies; 2+ messages in thread
From: Gregory CLEMENT @ 2017-06-08 17:16 UTC (permalink / raw)
To: linux-arm-kernel
Hi Marc,
On jeu., juin 08 2017, Marc Zyngier <marc.zyngier@arm.com> wrote:
> Enable the 1GB Ethernet interface that lives on the slave CP110,
> with its corresponding phy (that oddly lives on the master CP110).
>
> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Applied on mvebu/dt64
Thanks,
Gregory
> ---
> * From v1:
> - renamed phy0 -> ge_phy (rmk)
> - Added lane number and connector location (rmk)
>
> arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts | 17 +++++++++++++++++
> 1 file changed, 17 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
> index f7bb0cc03147..e7296b2d0f0f 100644
> --- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts
> @@ -100,6 +100,12 @@
> status = "okay";
> };
>
> +&cpm_mdio {
> + ge_phy: ethernet-phy at 0 {
> + reg = <0>;
> + };
> +};
> +
> &cpm_sata0 {
> /* CPM Lane 0 - U29 */
> status = "okay";
> @@ -115,6 +121,17 @@
> status = "okay";
> };
>
> +&cps_ethernet {
> + status = "okay";
> +};
> +
> +&cps_eth1 {
> + /* CPS Lane 0 - J5 (Gigabit RJ45) */
> + status = "okay";
> + phy = <&ge_phy>;
> + phy-mode = "sgmii";
> +};
> +
> &cps_sata0 {
> /* CPS Lane 1 - U32 */
> /* CPS Lane 3 - U31 */
> --
> 2.11.0
>
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-06-08 17:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-08 10:42 [PATCH v2] arm64: dts: marvell: 8040-mcbin: Enable 1GB Ethernet Marc Zyngier
2017-06-08 17:16 ` Gregory CLEMENT
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.