Commit 901c5d2f authored by David Wu's avatar David Wu Committed by David S. Miller

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 db40f15b ("ARM: dts: rk3228-evb: Enable the integrated PHY for gmac")
Signed-off-by: default avatarDavid Wu <david.wu@rock-chips.com>
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ec15ecde
...@@ -76,7 +76,7 @@ &gmac { ...@@ -76,7 +76,7 @@ &gmac {
clock_in_out = "output"; clock_in_out = "output";
phy-supply = <&vcc_phy>; phy-supply = <&vcc_phy>;
phy-mode = "rmii"; phy-mode = "rmii";
phy-handle = <&phy0>; phy-handle = <&phy>;
status = "okay"; status = "okay";
mdio { mdio {
...@@ -84,7 +84,7 @@ mdio { ...@@ -84,7 +84,7 @@ mdio {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
phy@0 { phy: phy@0 {
compatible = "ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22"; compatible = "ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22";
reg = <0>; reg = <0>;
clocks = <&cru SCLK_MAC_PHY>; clocks = <&cru SCLK_MAC_PHY>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment