aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorIgor Opaniuk <igor.opaniuk@toradex.com>2019-11-04 11:12:01 +0100
committerStefano Babic <sbabic@denx.de>2020-01-07 10:26:56 +0100
commitf9be62a6081c086ab14b2c247ea88a2601112af9 (patch)
tree8a75915d94307513fa33066a77fc7e8b749604a4 /arch/arm/dts
parent431cd76dd8032a0df3afa9a3e82b67500841d4cb (diff)
downloadu-boot-f9be62a6081c086ab14b2c247ea88a2601112af9.zip
u-boot-f9be62a6081c086ab14b2c247ea88a2601112af9.tar.gz
u-boot-f9be62a6081c086ab14b2c247ea88a2601112af9.tar.bz2
ARM: dts: imx6_apalis: introduce fec node
Sync DTS with the mainline Linux and introduce fec node. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r--arch/arm/dts/imx6-apalis.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6-apalis.dts b/arch/arm/dts/imx6-apalis.dts
index b2fdfa1..72f7439 100644
--- a/arch/arm/dts/imx6-apalis.dts
+++ b/arch/arm/dts/imx6-apalis.dts
@@ -22,6 +22,7 @@
mmc1 = &usdhc1;
mmc2 = &usdhc2;
usb0 = &usbotg; /* required for ums */
+ ethernet0 = &fec;
};
chosen {
@@ -197,6 +198,27 @@
status = "okay";
};
+&fec {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_enet>;
+ phy-mode = "rgmii";
+ phy-handle = <&ethphy>;
+ phy-reset-duration = <10>;
+ phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
+ status = "okay";
+
+ mdio {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ethphy: ethernet-phy@7 {
+ interrupt-parent = <&gpio1>;
+ interrupts = <30 IRQ_TYPE_LEVEL_LOW>;
+ reg = <7>;
+ };
+ };
+};
+
/* Apalis Serial ATA */
&sata {
status = "okay";