All of lore.kernel.org
 help / color / mirror / Atom feed
From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/8] ARM: kirkwood: DT: Add address to ethernet-phy unit name
Date: Sun,  3 Apr 2016 04:03:46 +0200	[thread overview]
Message-ID: <1459649030-21886-5-git-send-email-andrew@lunn.ch> (raw)
In-Reply-To: <1459649030-21886-1-git-send-email-andrew@lunn.ch>

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>
---
 arch/arm/boot/dts/kirkwood-ns2-common.dtsi | 2 +-
 arch/arm/boot/dts/kirkwood-t5325.dts       | 2 +-
 arch/arm/boot/dts/kirkwood-ts219.dtsi      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/kirkwood-ns2-common.dtsi b/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
index b4d59261eddc..282605f4c92c 100644
--- a/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
+++ b/arch/arm/boot/dts/kirkwood-ns2-common.dtsi
@@ -83,7 +83,7 @@
 &mdio {
 	status = "okay";
 
-	ethphy0: ethernet-phy {
+	ethphy0: ethernet-phy at X {
                 /* overwrite reg property in board file */
 	};
 };
diff --git a/arch/arm/boot/dts/kirkwood-t5325.dts b/arch/arm/boot/dts/kirkwood-t5325.dts
index af5ce85b2c38..860c6d778d47 100644
--- a/arch/arm/boot/dts/kirkwood-t5325.dts
+++ b/arch/arm/boot/dts/kirkwood-t5325.dts
@@ -217,7 +217,7 @@
 &mdio {
 	status = "okay";
 
-	ethphy0: ethernet-phy {
+	ethphy0: ethernet-phy at 8 {
 		device_type = "ethernet-phy";
 		reg = <8>;
 	};
diff --git a/arch/arm/boot/dts/kirkwood-ts219.dtsi b/arch/arm/boot/dts/kirkwood-ts219.dtsi
index 0e46560551f4..b3f75382cb06 100644
--- a/arch/arm/boot/dts/kirkwood-ts219.dtsi
+++ b/arch/arm/boot/dts/kirkwood-ts219.dtsi
@@ -94,7 +94,7 @@
 &mdio {
 	status = "okay";
 
-	ethphy0: ethernet-phy {
+	ethphy0: ethernet-phy at X {
                 /* overwrite reg property in board file */
 	};
 };
-- 
2.7.0

  parent reply	other threads:[~2016-04-03  2:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-03  2:03 [PATCH 0/8] Various Kirkwood DT warning fixup Andrew Lunn
2016-04-03  2:03 ` [PATCH 1/8] ARM: kirkwood: DT: Remove button address and fixup names Andrew Lunn
2016-04-03  2:03 ` [PATCH 2/8] ARM: kirkwood: DT: Remove node address from leds Andrew Lunn
2016-04-03  2:03 ` [PATCH 3/8] ARM: kirkwood: DT: Remove address from dsa unit name Andrew Lunn
2016-04-03  2:03 ` Andrew Lunn [this message]
2016-04-03  2:03 ` [PATCH 5/8] ARM: kirkwood: DT: Fixup pcie DT warnings Andrew Lunn
2016-04-03  2:03 ` [PATCH 6/8] ARM: kirkwood: DT: Remove address from gpio-i2c unit name Andrew Lunn
2016-04-03  2:03 ` [PATCH 7/8] ARM: kirkwood: DT: Add address to mbus " Andrew Lunn
2016-04-03  2:03 ` [PATCH 8/8] ARM: kirkwood: DT: Add address go regulator " Andrew Lunn
2016-04-03 12:02 ` [PATCH 0/8] Various Kirkwood DT warning fixup Gregory CLEMENT
2016-04-03 12:16   ` Gregory CLEMENT
2016-04-03 14:05   ` Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1459649030-21886-5-git-send-email-andrew@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.