diff options
author | Lothar Waßmann <LW@KARO-electronics.de> | 2016-03-08 08:04:02 (GMT) |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2016-04-13 09:45:00 (GMT) |
commit | 9cbda37b8730c91c5960f333db9ea1bc9813d46d (patch) | |
tree | a5eb8c7979ebaa82731a995756b87f75b742cd5a /arch/arm/boot/dts | |
parent | c4aca663aebf2d1de3e7b6ab15680bf67ad0d678 (diff) | |
download | linux-9cbda37b8730c91c5960f333db9ea1bc9813d46d.tar.xz |
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')
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-tx6.dtsi | 14 |
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 1b1c39eb..5988889 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 = <®_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 { |