From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/5] ARM: dts: imx6: RDU2: Add Micrel PHY to FEC
Date: Mon, 17 Jul 2017 22:25:00 +0200 [thread overview]
Message-ID: <1500323104-11583-2-git-send-email-andrew@lunn.ch> (raw)
In-Reply-To: <1500323104-11583-1-git-send-email-andrew@lunn.ch>
The FEC has a Micrel PHY connected to it. This PHY is managed using
the bit-banging MDIO bus. Add this to the device tree.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
---
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
index 5d94b5ee6aa0..d7328e9166e9 100644
--- a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
@@ -59,6 +59,10 @@
pinctrl-0 = <&pinctrl_mdio1>;
gpios = <&gpio6 5 GPIO_ACTIVE_HIGH
&gpio6 4 GPIO_ACTIVE_HIGH>;
+
+ phy: ethernet-phy at 0 {
+ reg = <0>;
+ };
};
reg_28p0v: regulator-28p0v {
@@ -615,15 +619,11 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet>;
phy-mode = "rmii";
+ phy-handle = <&phy>;
phy-reset-gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
phy-reset-duration = <100>;
phy-supply = <®_3p3v>;
status = "okay";
-
- fixed-link {
- speed = <100>;
- full-duplex;
- };
};
&usbh1 {
--
2.13.2
next prev parent reply other threads:[~2017-07-17 20:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-17 20:24 [PATCH 0/5] ARM: dts: imx6: RDU2: Ethernet switch and PHYs Andrew Lunn
2017-07-17 20:25 ` Andrew Lunn [this message]
2017-07-17 20:25 ` [PATCH 2/5] ARM: dts: imx6: RDU2: Add DSA support for the Marvell 88E6352 Andrew Lunn
2017-07-17 20:25 ` [PATCH 3/5] ARM: dts: imx6: RDU2: Add Switch EEPROM Andrew Lunn
2017-07-17 20:25 ` [PATCH 4/5] ARM: dts: imx6: RDU2: Add Switch interrupts Andrew Lunn
2017-07-17 20:25 ` [PATCH 5/5] ARM: dts: imx6: RDU2: Add Micrel PHY interrupt Andrew Lunn
2017-07-18 0:42 ` [PATCH 0/5] ARM: dts: imx6: RDU2: Ethernet switch and PHYs Chris Healy
2017-07-24 15:26 ` Fabio Estevam
2017-07-25 9:07 ` Shawn Guo
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=1500323104-11583-2-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).