[PATCH 2/2] ARM: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins

Ramon Fried rfried.dev at gmail.com
Sun Aug 7 02:01:37 CEST 2022


On Wed, Jul 13, 2022 at 4:59 AM Kunihiko Hayashi
<hayashi.kunihiko at socionext.com> wrote:
>
> UniPhier LD20, PXs2 and PXs3 boards have ethernet phy that has RX/TX delays
> of RGMII interface using pull-ups on the RXDLY and TXDLY pins.
>
> So should set the phy-mode to "rgmii-id" to show that RX/TX delays are
> enabled.
>
> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko at socionext.com>
> ---
>  arch/arm/dts/uniphier-ld20.dtsi | 2 +-
>  arch/arm/dts/uniphier-pxs2.dtsi | 2 +-
>  arch/arm/dts/uniphier-pxs3.dtsi | 4 ++--
>  3 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/dts/uniphier-ld20.dtsi b/arch/arm/dts/uniphier-ld20.dtsi
> index 5e7143ed012f..4549935c421b 100644
> --- a/arch/arm/dts/uniphier-ld20.dtsi
> +++ b/arch/arm/dts/uniphier-ld20.dtsi
> @@ -734,7 +734,7 @@
>                         clocks = <&sys_clk 6>;
>                         reset-names = "ether";
>                         resets = <&sys_rst 6>;
> -                       phy-mode = "rgmii";
> +                       phy-mode = "rgmii-id";
>                         local-mac-address = [00 00 00 00 00 00];
>                         socionext,syscon-phy-mode = <&soc_glue 0>;
>
> diff --git a/arch/arm/dts/uniphier-pxs2.dtsi b/arch/arm/dts/uniphier-pxs2.dtsi
> index 899ff379c9b8..7a8b6c10f4dc 100644
> --- a/arch/arm/dts/uniphier-pxs2.dtsi
> +++ b/arch/arm/dts/uniphier-pxs2.dtsi
> @@ -583,7 +583,7 @@
>                         clocks = <&sys_clk 6>;
>                         reset-names = "ether";
>                         resets = <&sys_rst 6>;
> -                       phy-mode = "rgmii";
> +                       phy-mode = "rgmii-id";
>                         local-mac-address = [00 00 00 00 00 00];
>                         socionext,syscon-phy-mode = <&soc_glue 0>;
>
> diff --git a/arch/arm/dts/uniphier-pxs3.dtsi b/arch/arm/dts/uniphier-pxs3.dtsi
> index c4344926d95d..004656c992b7 100644
> --- a/arch/arm/dts/uniphier-pxs3.dtsi
> +++ b/arch/arm/dts/uniphier-pxs3.dtsi
> @@ -564,7 +564,7 @@
>                         clocks = <&sys_clk 6>;
>                         reset-names = "ether";
>                         resets = <&sys_rst 6>;
> -                       phy-mode = "rgmii";
> +                       phy-mode = "rgmii-id";
>                         local-mac-address = [00 00 00 00 00 00];
>                         socionext,syscon-phy-mode = <&soc_glue 0>;
>
> @@ -585,7 +585,7 @@
>                         clocks = <&sys_clk 7>;
>                         reset-names = "ether";
>                         resets = <&sys_rst 7>;
> -                       phy-mode = "rgmii";
> +                       phy-mode = "rgmii-id";
>                         local-mac-address = [00 00 00 00 00 00];
>                         socionext,syscon-phy-mode = <&soc_glue 1>;
>
> --
> 2.7.4
>
Reviewed-by: Ramon  Fried <rfried.dev at gmail.com>


More information about the U-Boot mailing list