From: "Lothar Waßmann" <LW@KARO-electronics.de>
To: Dan Williams <dan.j.williams@intel.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
Mark Rutland <mark.rutland@arm.com>,
Pawel Moll <pawel.moll@arm.com>, Rob Herring <robh+dt@kernel.org>,
Russell King <linux@arm.linux.org.uk>,
Sascha Hauer <kernel@pengutronix.de>,
Shawn Guo <shawnguo@kernel.org>,
Vinod Koul <vinod.koul@intel.com>,
devicetree@vger.kernel.org, dmaengine@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Cc: "Lothar Waßmann" <LW@KARO-electronics.de>
Subject: [PATCHv2 6/8] ARM: dts: imx6qdl-tx6: add mdio node for ethernet phy
Date: Tue, 8 Mar 2016 09:04:02 +0100 [thread overview]
Message-ID: <1457424244-14549-7-git-send-email-LW@KARO-electronics.de> (raw)
In-Reply-To: <1457424244-14549-1-git-send-email-LW@KARO-electronics.de>
Add mdio node and an appropriate PHY configuration to enable use of
the PHY interrupt for link status changes.
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
---
arch/arm/boot/dts/imx6qdl-tx6.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/imx6qdl-tx6.dtsi b/arch/arm/boot/dts/imx6qdl-tx6.dtsi
index dc813c2..a0d59ab 100644
--- a/arch/arm/boot/dts/imx6qdl-tx6.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-tx6.dtsi
@@ -249,8 +249,22 @@
clock-names = "ipg", "ahb", "ptp", "enet_out";
phy-mode = "rmii";
phy-reset-gpios = <&gpio7 6 GPIO_ACTIVE_HIGH>;
+ phy-handle = <&etnphy>;
phy-supply = <®_3v3_etn>;
status = "okay";
+
+ mdio {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ etnphy: ethernet-phy@0 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_enet_mdio>;
+ interrupts-extended = <&gpio7 1 IRQ_TYPE_EDGE_FALLING>;
+ };
+ };
};
&gpmi {
--
2.1.4
next prev parent reply other threads:[~2016-03-08 8:07 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-08 8:03 [PATCHv2 0/8] ARM: dts: update Ka-Ro i.MX6 module support Lothar Waßmann
2016-03-08 8:03 ` [PATCHv2 1/8] ARM: dts: imx6-tx6: Relicense the Ka-Ro DT files under GPLv2/X11 Lothar Waßmann
2016-03-08 8:03 ` [PATCHv2 2/8] ARM: dts: imx6-tx6: cleanup; no functional change Lothar Waßmann
2016-03-08 8:03 ` [PATCHv2 3/8] ARM: dts: imx6-tx6: remove regulator bus Lothar Waßmann
2016-03-31 6:00 ` Shawn Guo
2016-03-08 8:04 ` [PATCHv2 4/8] ARM: dts: imx6-tx6: disable the spi node by default Lothar Waßmann
2016-03-08 8:04 ` [PATCHv2 5/8] ARM: dts: imx6-tx6: remove container node around pinctrl nodes Lothar Waßmann
2016-03-08 8:04 ` Lothar Waßmann [this message]
2016-03-08 8:04 ` [PATCHv2 7/8] ARM: dts: imx6: add support for more Ka-Ro electronics modules Lothar Waßmann
2016-03-31 6:10 ` Shawn Guo
2016-03-31 6:29 ` Lothar Waßmann
2016-03-31 7:47 ` Shawn Guo
2016-03-08 8:04 ` [PATCHv2 8/8] ARM: dts: imx6: add support for the Ka-Ro electronics 'MB7' baseboard Lothar Waßmann
2016-03-31 6:14 ` [PATCHv2 0/8] ARM: dts: update Ka-Ro i.MX6 module support Shawn Guo
2016-03-31 12:33 ` [PATCHv3 0/5] " Lothar Waßmann
2016-03-31 12:33 ` [PATCHv3 1/5] ARM: dts: imx6-tx6: remove regulator bus Lothar Waßmann
2016-03-31 12:33 ` [PATCHv3 2/5] ARM: dts: imx6-tx6: remove LED pinctrl setting from hoggrp Lothar Waßmann
2016-03-31 12:33 ` [PATCHv3 3/5] ARM: dts: imx6-tx6: enable support for rtscts on UARTs Lothar Waßmann
2016-03-31 12:33 ` [PATCHv3 4/5] ARM: dts: imx6: add support for more Ka-Ro electronics modules Lothar Waßmann
2016-03-31 12:33 ` [PATCHv3 5/5] ARM: dts: imx6: add support for the Ka-Ro electronics 'MB7' baseboard Lothar Waßmann
2016-04-11 13:57 ` [PATCHv3 0/5] ARM: dts: update Ka-Ro i.MX6 module support 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=1457424244-14549-7-git-send-email-LW@KARO-electronics.de \
--to=lw@karo-electronics.de \
--cc=dan.j.williams@intel.com \
--cc=devicetree@vger.kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=shawnguo@kernel.org \
--cc=vinod.koul@intel.com \
/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
all inboxes | Powered by JetHome®