summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Wu <david.wu@rock-chips.com>2017-08-22 17:24:25 +0800
committerDavid S. Miller <davem@davemloft.net>2017-08-27 17:04:23 -0700
commit901c5d2fbfcdc5d1d49a7a835b9ce9be5eee6393 (patch)
treeccd219a7e85a786ea1dc6d94e69f4a90022ae98d
parentec15ecdee5eb9e33a565e1e8eaef39fd4de565cb (diff)
ARM: dts: rk3228-evb: Fix the compiling error
This patch solves the following error: arch/arm/boot/dts/rk3228-evb.dtb: ERROR (phandle_references): Reference to non-existent node or label "phy0" Fixess db40f15b53e4 ("ARM: dts: rk3228-evb: Enable the integrated PHY for gmac") Signed-off-by: David Wu <david.wu@rock-chips.com> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--arch/arm/boot/dts/rk3228-evb.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/rk3228-evb.dts b/arch/arm/boot/dts/rk3228-evb.dts
index 456ddf7f11bb..1be9daacc4f9 100644
--- a/arch/arm/boot/dts/rk3228-evb.dts
+++ b/arch/arm/boot/dts/rk3228-evb.dts
@@ -76,7 +76,7 @@
clock_in_out = "output";
phy-supply = <&vcc_phy>;
phy-mode = "rmii";
- phy-handle = <&phy0>;
+ phy-handle = <&phy>;
status = "okay";
mdio {
@@ -84,7 +84,7 @@
#address-cells = <1>;
#size-cells = <0>;
- phy@0 {
+ phy: phy@0 {
compatible = "ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22";
reg = <0>;
clocks = <&cru SCLK_MAC_PHY>;