ARM: dts: kirkwood: Add address to ethernet-phy unit name
authorAndrew Lunn <andrew@lunn.ch>
Sun, 3 Apr 2016 02:03:46 +0000 (04:03 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 14 Apr 2016 17:06:01 +0000 (19:06 +0200)
PHYs have an address on the mdio bus. So the unit name should contain
an address. This is complicated in that some .dtsi files contain the
node, but the reg is set in the .dts file. In this case, use the
abstract address X.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/boot/dts/kirkwood-ns2-common.dtsi
arch/arm/boot/dts/kirkwood-t5325.dts
arch/arm/boot/dts/kirkwood-ts219.dtsi

index b4d59261eddcf8aee3b9973be7bcb70142a061a3..282605f4c92c5163fabd46c155707104a55bd6ac 100644 (file)
@@ -83,7 +83,7 @@
 &mdio {
        status = "okay";
 
-       ethphy0: ethernet-phy {
+       ethphy0: ethernet-phy@X {
                 /* overwrite reg property in board file */
        };
 };
index af5ce85b2c38522c64c5d53281c84a9afa792079..860c6d778d4703d5e2f33471e8a295223a77b535 100644 (file)
 &mdio {
        status = "okay";
 
-       ethphy0: ethernet-phy {
+       ethphy0: ethernet-phy@8 {
                device_type = "ethernet-phy";
                reg = <8>;
        };
index 0e46560551f44b5d5dba4a01dcd74d9eb91ec5b2..b3f75382cb061b104b1396dc9abce1ced83a7158 100644 (file)
@@ -94,7 +94,7 @@
 &mdio {
        status = "okay";
 
-       ethphy0: ethernet-phy {
+       ethphy0: ethernet-phy@X {
                 /* overwrite reg property in board file */
        };
 };
This page took 0.068412 seconds and 5 git commands to generate.