ARM: dts: imx6dl-icore-rqs: Fix invalid PHY address assignment for ethernet
authorShyam Saini <shyam@amarulasolutions.com>
Tue, 27 Feb 2018 15:59:03 +0000 (21:29 +0530)
committerShawn Guo <shawnguo@kernel.org>
Wed, 28 Feb 2018 06:35:30 +0000 (14:35 +0800)
Add "reg" property for ethernet to fix this issue.

Errors in boot logs:
mdio_bus 2188000.ethernet-1:
/soc/aips-bus@02100000/ethernet@02188000/mdio/ethernet-phy
has invalid PHY address

mdio_bus 2188000.ethernet-1: scan phy ethernet-phy at address 0
mdio_bus 2188000.ethernet-1: scan phy ethernet-phy at address 1
mdio_bus 2188000.ethernet-1: scan phy ethernet-phy at address 2
mdio_bus 2188000.ethernet-1: scan phy ethernet-phy at address 3

Reported-by: Shyam Saini <shyam@amarulasolutions.com>
Suggested-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Shyam Saini <shyam@amarulasolutions.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi

index 49daa2b..acc3b11 100644 (file)
        status = "okay";
 
        mdio {
-               eth_phy: ethernet-phy {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               eth_phy: ethernet-phy@0 {
+                       reg = <0x0>;
                        rxc-skew-ps = <1140>;
                        txc-skew-ps = <1140>;
                        txen-skew-ps = <600>;