aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorIgor Opaniuk <igor.opaniuk@toradex.com>2019-11-04 11:11:59 +0100
committerStefano Babic <sbabic@denx.de>2020-01-07 10:26:56 +0100
commitfbcd88095d202a1c96022596d348ec79c7a30fc4 (patch)
tree27eb035ce0e214f759f08f9c63ab341d2de360bd /arch
parent2788063f51b27c6205b3d45664ccf40dbd8b0a6b (diff)
downloadu-boot-fbcd88095d202a1c96022596d348ec79c7a30fc4.zip
u-boot-fbcd88095d202a1c96022596d348ec79c7a30fc4.tar.gz
u-boot-fbcd88095d202a1c96022596d348ec79c7a30fc4.tar.bz2
ARM: dts: imx6_colibri: 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')
-rw-r--r--arch/arm/dts/imx6-colibri.dts20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6-colibri.dts b/arch/arm/dts/imx6-colibri.dts
index 5c9f1f0..387d6d5 100644
--- a/arch/arm/dts/imx6-colibri.dts
+++ b/arch/arm/dts/imx6-colibri.dts
@@ -21,6 +21,7 @@
mmc0 = &usdhc3;
mmc1 = &usdhc1;
usb0 = &usbotg; /* required for ums */
+ ethernet0 = &fec;
};
chosen {
@@ -46,6 +47,25 @@
};
};
+&fec {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_enet>;
+ phy-mode = "rmii";
+ phy-handle = <&ethphy>;
+ status = "okay";
+
+ mdio {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ethphy: ethernet-phy@0 {
+ reg = <0>;
+ micrel,led-mode = <0>;
+ status = "okay";
+ };
+ };
+};
+
/*
* PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and
* touch screen controller