Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

David Wu and committed by
David S. Miller
901c5d2f ec15ecde

+2 -2
+2 -2
arch/arm/boot/dts/rk3228-evb.dts
··· 76 76 clock_in_out = "output"; 77 77 phy-supply = <&vcc_phy>; 78 78 phy-mode = "rmii"; 79 - phy-handle = <&phy0>; 79 + phy-handle = <&phy>; 80 80 status = "okay"; 81 81 82 82 mdio { ··· 84 84 #address-cells = <1>; 85 85 #size-cells = <0>; 86 86 87 - phy@0 { 87 + phy: phy@0 { 88 88 compatible = "ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22"; 89 89 reg = <0>; 90 90 clocks = <&cru SCLK_MAC_PHY>;