From: Philip Oberfichtner <pro@denx.de>
To: u-boot@lists.denx.de
Cc: Stefano Babic <sbabic@denx.de>,
Christoph Niedermaier <cniedermaier@dh-electronics.com>,
Peng Fan <peng.fan@nxp.com>, Fabio Estevam <festevam@denx.de>,
Marek Vasut <marex@denx.de>, Philip Oberfichtner <pro@denx.de>,
Fabio Estevam <festevam@gmail.com>,
"NXP i.MX U-Boot Team" <uboot-imx@nxp.com>,
Tom Rini <trini@konsulko.com>
Subject: [PATCH v2 5/8] ARM: dts: imx: Simplify fec node for iMX6QDL DHCOM boards
Date: Fri, 20 May 2022 10:46:23 +0200 [thread overview]
Message-ID: <20220520084626.656293-6-pro@denx.de> (raw)
In-Reply-To: <20220520084626.656293-1-pro@denx.de>
Firstly the FEC can now use the regulator reg_eth_vio from
imx6qdl-dhcom-som.dtsi instead of defining its own.
Secondly the &fec node is moved to the more generic SoM device tree
file, because it can be used by multiple boards.
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Philip Oberfichtner <pro@denx.de>
---
Changes in v2:
- Reviewed-by Marek
arch/arm/dts/imx6qdl-dhcom-pdk2-u-boot.dtsi | 13 -------------
arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi | 7 +++++++
2 files changed, 7 insertions(+), 13 deletions(-)
diff --git a/arch/arm/dts/imx6qdl-dhcom-pdk2-u-boot.dtsi b/arch/arm/dts/imx6qdl-dhcom-pdk2-u-boot.dtsi
index a1ffb1d6fc..0673c21e3c 100644
--- a/arch/arm/dts/imx6qdl-dhcom-pdk2-u-boot.dtsi
+++ b/arch/arm/dts/imx6qdl-dhcom-pdk2-u-boot.dtsi
@@ -5,19 +5,6 @@
#include "imx6qdl-dhcom-u-boot.dtsi"
-/ {
- fec_vio: regulator-fec {
- compatible = "regulator-fixed";
-
- regulator-name = "fec-vio";
- gpio = <&gpio1 7 GPIO_ACTIVE_LOW>;
- };
-};
-
&fec {
phy-reset-gpios = <&gpio3 29 GPIO_ACTIVE_LOW>;
- phy-reset-duration = <1>;
- phy-reset-post-delay = <10>;
-
- phy-supply = <&fec_vio>;
};
diff --git a/arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi b/arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi
index 91545ab6e9..190567ab7b 100644
--- a/arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi
+++ b/arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: (GPL-2.0+)
/*
* Copyright (C) 2020 Harald Seiler <hws@denx.de>
+ * Copyright (C) 2022 Philip Oberfichtner <pro@denx.de>
*/
/ {
@@ -9,6 +10,12 @@
};
};
+&fec {
+ phy-reset-duration = <1>;
+ phy-reset-post-delay = <10>;
+ phy-supply = <®_eth_vio>;
+};
+
&i2c3 {
eeprom0: eeprom@50 {
};
--
2.34.1
next prev parent reply other threads:[~2022-05-20 8:47 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-20 8:46 [PATCH v2 0/8] ARM: imx: Add support for iMX6QDL DHCOM DRC02 and DH picoITX Philip Oberfichtner
2022-05-20 8:46 ` [PATCH v2 1/8] ARM: imx6: Fix broken DT path in DH board file Philip Oberfichtner
2022-05-20 13:41 ` sbabic
2022-05-20 8:46 ` [PATCH v2 2/8] ARM: dts: imx: Migrate iMX6QDL DRC02 DTs from Linux Philip Oberfichtner
2022-05-20 13:44 ` sbabic
2022-05-20 8:46 ` [PATCH v2 3/8] ARM: dts: imx: Migrate iMX6QDL picoITX " Philip Oberfichtner
2022-05-20 13:43 ` sbabic
2022-05-20 8:46 ` [PATCH v2 4/8] ARM: imx6: Remove CONFIG_FEC_MXC_PHYADDR from DH header Philip Oberfichtner
2022-05-20 13:40 ` sbabic
2022-05-20 8:46 ` Philip Oberfichtner [this message]
2022-05-20 13:43 ` [PATCH v2 5/8] ARM: dts: imx: Simplify fec node for iMX6QDL DHCOM boards sbabic
2022-05-20 8:46 ` [PATCH v2 6/8] ARM: dts: imx: Configure FEC for iMX6QDL picoITX Philip Oberfichtner
2022-05-20 13:40 ` sbabic
2022-05-20 8:46 ` [PATCH v2 7/8] ARM: dts: imx: Configure FEC for iMX6QDL DRC02 Philip Oberfichtner
2022-05-20 13:42 ` sbabic
2022-05-20 8:46 ` [PATCH v2 8/8] ARM: imx6: Adapt device tree selection in DH board file Philip Oberfichtner
2022-05-20 10:57 ` Marek Vasut
2022-05-20 13:43 ` sbabic
2022-05-20 11:33 ` [PATCH v2 0/8] ARM: imx: Add support for iMX6QDL DHCOM DRC02 and DH picoITX Fabio Estevam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220520084626.656293-6-pro@denx.de \
--to=pro@denx.de \
--cc=cniedermaier@dh-electronics.com \
--cc=festevam@denx.de \
--cc=festevam@gmail.com \
--cc=marex@denx.de \
--cc=peng.fan@nxp.com \
--cc=sbabic@denx.de \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=uboot-imx@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox