summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx6qdl-apf6.dtsi
diff options
context:
space:
mode:
authorSébastien Szymanski <sebastien.szymanski@armadeus.com>2019-10-22 15:16:49 +0200
committerShawn Guo <shawnguo@kernel.org>2019-10-28 07:48:38 +0100
commitc916c944bcf980d531a416780013990be7c1cb16 (patch)
treea6f3fea38c48fffd5cc4032c783ef32123fb56a9 /arch/arm/boot/dts/imx6qdl-apf6.dtsi
parentARM: dts: imx6qdl-{apf6, apf6dev}: remove container node around pinctrl nodes (diff)
downloadlinux-c916c944bcf980d531a416780013990be7c1cb16.tar.xz
linux-c916c944bcf980d531a416780013990be7c1cb16.zip
ARM: dts: imx6qdl-apf6: add phy to fec
Add the mdio bus and the phy to the fec-node. Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6qdl-apf6.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6qdl-apf6.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-apf6.dtsi b/arch/arm/boot/dts/imx6qdl-apf6.dtsi
index 29d5bedc576e..9f00eba5c258 100644
--- a/arch/arm/boot/dts/imx6qdl-apf6.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-apf6.dtsi
@@ -11,7 +11,21 @@
phy-mode = "rgmii-id";
phy-reset-duration = <10>;
phy-reset-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
+ phy-handle = <&ethphy1>;
status = "okay";
+
+ mdio {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ethphy1: ethernet-phy@1 {
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <1>;
+ interrupt-parent = <&gpio1>;
+ interrupts = <28 IRQ_TYPE_LEVEL_LOW>;
+ status = "okay";
+ };
+ };
};
/* Bluetooth */