ARM: at91/dt: sama5d3 xplained: add phy address for macb1
authorNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 31 Mar 2015 08:56:10 +0000 (10:56 +0200)
committerOlof Johansson <olof@lixom.net>
Fri, 3 Apr 2015 21:55:44 +0000 (14:55 -0700)
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 <nicolas.ferre@atmel.com>
Cc: Johan Hovold <johan@kernel.org>
Cc: <stable@vger.kernel.org> #3.19
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/at91-sama5d3_xplained.dts

index fec1fca..6c4bc53 100644 (file)
 
                        macb1: ethernet@f802c000 {
                                phy-mode = "rmii";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
                                status = "okay";
+
+                               ethernet-phy@1 {
+                                       reg = <0x1>;
+                               };
                        };
 
                        dbgu: serial@ffffee00 {