[PATCH] ARM: dts: rk3228-evb: Fix the compiling error

Subsystems: the rest

STALE3335d

5 messages, 3 authors, 2017-08-28 · open the first message on its own page

[PATCH] ARM: dts: rk3228-evb: Fix the compiling error

From: David Wu <hidden>
Date: 2017-08-22 09:19:40

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 <redacted>
---
 arch/arm/boot/dts/rk3228-evb.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/rk3228-evb.dts b/arch/arm/boot/dts/rk3228-evb.dts
index 456ddf7..1be9daa 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>;
-- 
1.9.1

Re: [PATCH] ARM: dts: rk3228-evb: Fix the compiling error

From: Stephen Rothwell <hidden>
Date: 2017-08-22 11:52:54

Hi David,

Thanks.

On Tue, 22 Aug 2017 17:24:25 +0800 David Wu [off-list ref] wrote:
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 <redacted>
Reported-by: Stephen Rothwell <redacted>

-- 
Cheers,
Stephen Rothwell

Re: [PATCH] ARM: dts: rk3228-evb: Fix the compiling error

From: Stephen Rothwell <hidden>
Date: 2017-08-27 22:32:57

Hi Dave (Miller),

On Tue, 22 Aug 2017 21:52:51 +1000 Stephen Rothwell [off-list ref] wrote:
Thanks.

On Tue, 22 Aug 2017 17:24:25 +0800 David Wu [off-list ref] wrote:
quoted
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 <redacted>  
Reported-by: Stephen Rothwell <redacted>
Ping?

-- 
Cheers,
Stephen Rothwell

Re: [PATCH] ARM: dts: rk3228-evb: Fix the compiling error

From: David Miller <davem@davemloft.net>
Date: 2017-08-27 23:59:48

From: Stephen Rothwell <redacted>
Date: Mon, 28 Aug 2017 08:32:54 +1000
Hi Dave (Miller),

On Tue, 22 Aug 2017 21:52:51 +1000 Stephen Rothwell [off-list ref] wrote:
quoted
Thanks.

On Tue, 22 Aug 2017 17:24:25 +0800 David Wu [off-list ref] wrote:
quoted
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 <redacted>  
Reported-by: Stephen Rothwell <redacted>
Ping?
Sorry, I wasn't aware that this should go via my tree, I'll take care of
this soon.

Re: [PATCH] ARM: dts: rk3228-evb: Fix the compiling error

From: Stephen Rothwell <hidden>
Date: 2017-08-28 00:10:05

Hi Dave,

On Sun, 27 Aug 2017 16:59:43 -0700 (PDT) David Miller [off-list ref] wrote:
Sorry, I wasn't aware that this should go via my tree, I'll take care of
this soon.
Thanks.

-- 
Cheers,
Stephen Rothwell
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help