Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1352713
| From | Lothar Waßmann <LW@KARO-electronics.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCHv2 6/8] ARM: dts: imx6qdl-tx6: add mdio node for ethernet phy |
| Date | 2016-03-08 09:10 +0100 |
| Message-ID | <rakSm-6EA-19@gated-at.bofh.it> (permalink) |
| References | <rakSl-6EA-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCHv2 6/8] ARM: dts: imx6qdl-tx6: add mdio node for ethernet phy Lothar Waßmann <LW@KARO-electronics.de> - 2016-03-08 09:10 +0100
csiph-web