summaryrefslogtreecommitdiff
path: root/arch/arm/dts/imx8mp-evk-u-boot.dtsi
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2021-08-16 18:44:28 +0800
committerStefano Babic <sbabic@denx.de>2021-10-21 13:59:26 +0200
commita65b7fb2a5f5eeb465faf591045ef59d2c7a7150 (patch)
tree6c3ecb83907d393c8ae8b74ca124e22f190283d0 /arch/arm/dts/imx8mp-evk-u-boot.dtsi
parent5d3ba244d7f2dc3b96e52a662c9006a8ebddabc0 (diff)
arm: dts: imx8mp-evk: Enable the EQoS ethernet port
i.MX8MP EVK has two ethernet ports. Add relevant nodes and properties for EQoS port to the EVK DTS file. In -u-boot.dtsi, change the u-boot eqos compatible string, add PHY reset gpio and remove assigned clocks as not supported in CCF. Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'arch/arm/dts/imx8mp-evk-u-boot.dtsi')
-rw-r--r--arch/arm/dts/imx8mp-evk-u-boot.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/dts/imx8mp-evk-u-boot.dtsi b/arch/arm/dts/imx8mp-evk-u-boot.dtsi
index 2abcf1f03d..ab849ebaac 100644
--- a/arch/arm/dts/imx8mp-evk-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-evk-u-boot.dtsi
@@ -111,6 +111,19 @@
u-boot,dm-spl;
};
+&eqos {
+ compatible = "fsl,imx-eqos";
+ /delete-property/ assigned-clocks;
+ /delete-property/ assigned-clock-parents;
+ /delete-property/ assigned-clock-rates;
+};
+
+&ethphy0 {
+ reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
+ reset-delay-us = <15000>;
+ reset-post-delay-us = <100000>;
+};
+
&fec {
phy-reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
phy-reset-duration = <15>;