ARM: dts: imx6sx: correct i.MX6sx sdb board enet phy address
authorNimrod Andy <B38611@freescale.com>
Tue, 20 Jan 2015 08:48:17 +0000 (16:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jan 2015 05:54:59 +0000 (21:54 -0800)
The commit (3d125f9c91c5) cause i.MX6SX sdb enet cannot work. The cause is
the commit add mdio node with un-correct phy address.

The patch just correct i.MX6sx sdb board enet phy address.

V2:
* As Shawn's suggestion that unit-address should match 'reg' property, so
  update ethernet-phy unit-address.

Acked-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Fugang Duan <B38611@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm/boot/dts/imx6sx-sdb.dts

index 8c1febd..c108bb4 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
 
-               ethphy1: ethernet-phy@0 {
-                       reg = <0>;
+               ethphy1: ethernet-phy@1 {
+                       reg = <1>;
                };
 
-               ethphy2: ethernet-phy@1 {
-                       reg = <1>;
+               ethphy2: ethernet-phy@2 {
+                       reg = <2>;
                };
        };
 };