[PATCH] arm64: zynqmp: Setup default si570 frequency to 156.25MHz

Michal Simek michal.simek at amd.com
Fri Sep 1 08:32:03 CEST 2023



On 8/25/23 09:11, Michal Simek wrote:
> All si570 mgt chips have factory default 156.25MHz but DT changed it to
> 148.5MHz. After tracking it is pretty much c&p fault taken from Zynq
> zc702/zc706 boards where 148.5MHz was setup as default because it was
> requirement for AD7511 chip available on these boards.
> ZynqMP board don't contain this chip that's why factory default frequency
> can be used.
> 
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
> 
>   arch/arm/dts/zynqmp-zcu102-revA.dts | 2 +-
>   arch/arm/dts/zynqmp-zcu106-revA.dts | 2 +-
>   arch/arm/dts/zynqmp-zcu208-revA.dts | 2 +-
>   arch/arm/dts/zynqmp-zcu216-revA.dts | 2 +-
>   4 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/dts/zynqmp-zcu102-revA.dts b/arch/arm/dts/zynqmp-zcu102-revA.dts
> index 79d67c495dee..0f7230b9526e 100644
> --- a/arch/arm/dts/zynqmp-zcu102-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu102-revA.dts
> @@ -602,7 +602,7 @@
>   				reg = <0x5d>;
>   				temperature-stability = <50>; /* copy from zc702 */
>   				factory-fout = <156250000>;
> -				clock-frequency = <148500000>;
> +				clock-frequency = <156250000>;
>   				clock-output-names = "si570_mgt";
>   			};
>   		};
> diff --git a/arch/arm/dts/zynqmp-zcu106-revA.dts b/arch/arm/dts/zynqmp-zcu106-revA.dts
> index 7a8094a16b79..f8019c592a7f 100644
> --- a/arch/arm/dts/zynqmp-zcu106-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu106-revA.dts
> @@ -592,7 +592,7 @@
>   				reg = <0x5d>;
>   				temperature-stability = <50>; /* copy from zc702 */
>   				factory-fout = <156250000>;
> -				clock-frequency = <148500000>;
> +				clock-frequency = <156250000>;
>   				clock-output-names = "si570_mgt";
>   			};
>   		};
> diff --git a/arch/arm/dts/zynqmp-zcu208-revA.dts b/arch/arm/dts/zynqmp-zcu208-revA.dts
> index 9b3ae67bff12..0c1f50943ac0 100644
> --- a/arch/arm/dts/zynqmp-zcu208-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu208-revA.dts
> @@ -489,7 +489,7 @@
>   				reg = <0x5d>;
>   				temperature-stability = <50>;
>   				factory-fout = <156250000>;
> -				clock-frequency = <148500000>;
> +				clock-frequency = <156250000>;
>   				clock-output-names = "si570_mgt";
>   			};
>   		};
> diff --git a/arch/arm/dts/zynqmp-zcu216-revA.dts b/arch/arm/dts/zynqmp-zcu216-revA.dts
> index 43eeaec5b15b..8ca01f01a3ab 100644
> --- a/arch/arm/dts/zynqmp-zcu216-revA.dts
> +++ b/arch/arm/dts/zynqmp-zcu216-revA.dts
> @@ -499,7 +499,7 @@
>   				reg = <0x5d>;
>   				temperature-stability = <50>;
>   				factory-fout = <156250000>;
> -				clock-frequency = <148500000>;
> +				clock-frequency = <156250000>;
>   				clock-output-names = "si570_mgt";
>   			};
>   		};

Applied.
M


More information about the U-Boot mailing list