Skip to contentSkip to conversation

Patch "ARM: at91/dt: sama5d3 xplained: add phy address for macb1" has been added to the 3.14-stable tree

PATCH [email protected] 1 participant 1 message May 2, 2015

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ARM: at91/dt: sama5d3 xplained: add phy address for macb1

to the 3.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
arm-at91-dt-sama5d3-xplained-add-phy-address-for-macb1.patch
and it can be found in the queue-3.14 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 98b80987c940956da48f0c703f60340128bb8521 Mon Sep 17 00:00:00 2001

From: Nicolas Ferre <[email protected]>
Date: Tue, 31 Mar 2015 10:56:10 +0200
Subject: ARM: at91/dt: sama5d3 xplained: add phy address for macb1

From: Nicolas Ferre <[email protected]>

commit 98b80987c940956da48f0c703f60340128bb8521 upstream.

After 57a38effa598 (net: phy: micrel: disable broadcast for KSZ8081/KSZ8091) the macb1 interface refuses to work properly because it tries
to cling to address 0 which isn't able to communicate in broadcast with the mac anymore. The micrel phy on the board is actually configured to show up at address 1.
Adding the phy node and its real address fixes the issue.

---
 arch/arm/boot/dts/at91-sama5d3_xplained.dts |    6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/boot/dts/at91-sama5d3_xplained.dts +6 -0
@@ -107,7 +107,13 @@
 
 			macb1: ethernet@f802c000 {
 				phy-mode = "rmii";
+				#address-cells = <1>;
+				#size-cells = <0>;
 				status = "okay";
+
+				ethernet-phy@1 {
+					reg = <0x1>;
+				};
 			};
 
 			dbgu: serial@ffffee00 {

Patches currently in stable-queue which might be from [email protected] are

queue-3.14/arm-at91-dt-sama5d3-xplained-add-phy-address-for-macb1.patch