summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx6qdl-tx6.dtsi
diff options
context:
space:
mode:
authorLothar Waßmann <LW@KARO-electronics.de>2016-03-08 09:04:02 +0100
committerShawn Guo <shawnguo@kernel.org>2016-04-13 11:45:00 +0200
commit9cbda37b8730c91c5960f333db9ea1bc9813d46d (patch)
treea5eb8c7979ebaa82731a995756b87f75b742cd5a /arch/arm/boot/dts/imx6qdl-tx6.dtsi
parentARM: dts: imx6-tx6: remove container node around pinctrl nodes (diff)
downloadlinux-9cbda37b8730c91c5960f333db9ea1bc9813d46d.tar.xz
linux-9cbda37b8730c91c5960f333db9ea1bc9813d46d.zip
ARM: dts: imx6qdl-tx6: add mdio node for ethernet phy
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> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-tx6.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6qdl-tx6.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-tx6.dtsi b/arch/arm/boot/dts/imx6qdl-tx6.dtsi
index 1b1c39ebfe54..5988889cee45 100644
--- a/arch/arm/boot/dts/imx6qdl-tx6.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-tx6.dtsi
@@ -265,8 +265,22 @@
clock-names = "ipg", "ahb", "ptp", "enet_out";
phy-mode = "rmii";
phy-reset-gpios = <&gpio7 6 GPIO_ACTIVE_HIGH>;
+ phy-handle = <&etnphy>;
phy-supply = <&reg_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 {