From mboxrd@z Thu Jan 1 00:00:00 1970 From: nicolas.ferre@atmel.com (Nicolas Ferre) Date: Fri, 3 Apr 2015 10:43:40 +0200 Subject: [PATCH] ARM: at91/dt: sama5d3 xplained: add phy address for macb1 In-Reply-To: <1427792170-13162-1-git-send-email-nicolas.ferre@atmel.com> References: <1427792170-13162-1-git-send-email-nicolas.ferre@atmel.com> Message-ID: <551E52BC.3040702@atmel.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Le 31/03/2015 10:56, Nicolas Ferre a ?crit : > 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. > > Signed-off-by: Nicolas Ferre > Cc: Johan Hovold > Cc: #3.19 > --- Arnd, Olof, Kevin, It seems late but, is it possible to queue this patch as a 4.0 fixes? Without it, the 10/100 Ethernet on sama5d3 doesn't work if it's not used by u-boot previously. Bye, > arch/arm/boot/dts/at91-sama5d3_xplained.dts | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplained.dts > index fec1fca2ad66..6c4bc53cbf4e 100644 > --- a/arch/arm/boot/dts/at91-sama5d3_xplained.dts > +++ b/arch/arm/boot/dts/at91-sama5d3_xplained.dts > @@ -167,7 +167,13 @@ > > macb1: ethernet at f802c000 { > phy-mode = "rmii"; > + #address-cells = <1>; > + #size-cells = <0>; > status = "okay"; > + > + ethernet-phy at 1 { > + reg = <0x1>; > + }; > }; > > dbgu: serial at ffffee00 { > -- Nicolas Ferre