Re: [PATCH 10/10] arm64: dts: imx8qm-mek: add fec2 support
From: Francesco Dolcini
Date: Tue Apr 16 2024 - 02:52:49 EST
On Mon, Apr 15, 2024 at 03:46:46PM -0400, Frank Li wrote:
> Add fec2 support.
>
> Signed-off-by: Frank Li <Frank.Li@xxxxxxx>
> ---
> arch/arm64/boot/dts/freescale/imx8qm-mek.dts | 40 ++++++++++++++++++++++++++++
> 1 file changed, 40 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts
> index da17161055179..84372c060e200 100644
> --- a/arch/arm64/boot/dts/freescale/imx8qm-mek.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8qm-mek.dts
> @@ -382,6 +391,19 @@ ethphy1: ethernet-phy@1 {
> };
> };
>
> +&fec2 {
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_fec2>;
> + phy-mode = "rgmii-txid";
> + phy-handle = <ðphy1>;
> + phy-supply = <®_fec2_supply>;
> + fsl,magic-packet;
this is supposed to be just before status, as per DT style guidelines.
> + nvmem-cells = <&fec_mac1>;
> + nvmem-cell-names = "mac-address";
> + rx-internal-delay-ps = <2000>;
> + status = "okay";
> +};
Francesco