[next 5/5] clk: ast2600: Revise MII interface delay
Ramon Fried
rfried.dev at gmail.com
Sat Dec 11 00:10:53 CET 2021
On Thu, Dec 9, 2021 at 4:12 AM Dylan Hung <dylan_hung at aspeedtech.com> wrote:
>
> The clock delay of the RMII/RGMII interface is controlled by SCU340~35C.
> These values are obtained by measurement and experiments so we simply
> use macro to define them.
>
> Signed-off-by: Dylan Hung <dylan_hung at aspeedtech.com>
> ---
> drivers/clk/aspeed/clk_ast2600.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/clk/aspeed/clk_ast2600.c b/drivers/clk/aspeed/clk_ast2600.c
> index 3a92739f5cf5..6441fcbbbd4c 100644
> --- a/drivers/clk/aspeed/clk_ast2600.c
> +++ b/drivers/clk/aspeed/clk_ast2600.c
> @@ -19,11 +19,11 @@ DECLARE_GLOBAL_DATA_PTR;
> #define CLKIN_25M 25000000UL
>
> /* MAC Clock Delay settings */
> -#define MAC12_DEF_DELAY_1G 0x0041b75d
> -#define MAC12_DEF_DELAY_100M 0x00417410
> -#define MAC12_DEF_DELAY_10M 0x00417410
> -#define MAC34_DEF_DELAY_1G 0x0010438a
> -#define MAC34_DEF_DELAY_100M 0x00104208
> +#define MAC12_DEF_DELAY_1G 0x0028a410
> +#define MAC12_DEF_DELAY_100M 0x00410410
> +#define MAC12_DEF_DELAY_10M 0x00410410
> +#define MAC34_DEF_DELAY_1G 0x00104208
> +#define MAC34_DEF_DELAY_100M 0x00104208
> #define MAC34_DEF_DELAY_10M 0x00104208
>
> /*
> --
> 2.25.1
>
Reviewed-by: Ramon Fried <rfried.dev at gmail.com>
More information about the U-Boot
mailing list