From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [PATCH] ARM: imx: imx8mn-ddr4-evk: Add ethernet support
Date: Tue, 2 Mar 2021 09:12:51 +0100 [thread overview]
Message-ID: <44259dff-8f4d-9e71-e39e-20003fbc97de@denx.de> (raw)
In-Reply-To: <CAMty3ZAqo8fFxxL44OeeSPBZsNeq_NDSAacd1=xgzgpOGm+a_Q@mail.gmail.com>
On 3/2/21 8:53 AM, Jagan Teki wrote:
> On Sat, Feb 27, 2021 at 6:21 PM Marek Vasut <marex@denx.de> wrote:
>>
>> On 2/27/21 8:54 AM, Jagan Teki wrote:
>>> Hi Marek,
>>>
>>> On Sat, Feb 27, 2021 at 3:44 AM Marek Vasut <marex@denx.de> wrote:
>>>>
>>>> Add support for ethernet on the imx8mn-ddr4-evk.
>>>>
>>>> Signed-off-by: Marek Vasut <marex@denx.de>
>>>> Cc: Fabio Estevam <festevam@gmail.com>
>>>> Cc: Peng Fan <peng.fan@nxp.com>
>>>> Cc: Stefano Babic <sbabic@denx.de>
>>>> ---
>>>> arch/arm/dts/imx8mn-evk.dtsi | 1 +
>>>> board/freescale/imx8mn_evk/imx8mn_evk.c | 41 +++++++++++++++++++++++--
>>>> configs/imx8mn_ddr4_evk_defconfig | 8 +++++
>>>> 3 files changed, 47 insertions(+), 3 deletions(-)
>>>>
>>>> diff --git a/arch/arm/dts/imx8mn-evk.dtsi b/arch/arm/dts/imx8mn-evk.dtsi
>>>> index 76d042a4cf0..416fadb22b1 100644
>>>> --- a/arch/arm/dts/imx8mn-evk.dtsi
>>>> +++ b/arch/arm/dts/imx8mn-evk.dtsi
>>>> @@ -53,6 +53,7 @@
>>>> pinctrl-0 = <&pinctrl_fec1>;
>>>> phy-mode = "rgmii-id";
>>>> phy-handle = <ðphy0>;
>>>> + phy-reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
>>>
>>> I believe this is phy reset-gpio to be part of mdio child node. any
>>> idea why it added in fec1 node?
>>
>> Try $ git grep phy-reset drivers/net/ , that should clarify it all.
>> In short, FEC in U-Boot still uses legacy bindings.
>
> True. I think it's better to add this property on -u-boot.dtsi which
> helps to maintain Linux bindings.
The reset GPIO is not specific to U-Boot in any way, so no.
Instead, the Linux DT bindings should be updated too, but that's a
separate topic.
next prev parent reply other threads:[~2021-03-02 8:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-26 22:14 [PATCH] ARM: imx: imx8mn-ddr4-evk: Add ethernet support Marek Vasut
2021-02-27 7:54 ` Jagan Teki
2021-02-27 12:51 ` Marek Vasut
2021-03-02 7:53 ` Jagan Teki
2021-03-02 8:12 ` Marek Vasut [this message]
2021-03-02 8:21 ` Michael Nazzareno Trimarchi
2021-03-02 8:40 ` Marek Vasut
2021-03-02 9:16 ` Michael Nazzareno Trimarchi
2021-03-02 14:52 ` Marek Vasut
2021-03-02 15:24 ` Tom Rini
2021-03-02 16:11 ` Marek Vasut
2021-03-02 16:43 ` Tom Rini
2021-03-02 16:48 ` Stefano Babic
2021-03-02 21:28 ` Tom Rini
2021-04-08 20:58 ` sbabic at denx.de
2021-04-08 21:31 ` Stefano Babic
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=44259dff-8f4d-9e71-e39e-20003fbc97de@denx.de \
--to=marex@denx.de \
--cc=u-boot@lists.denx.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.