> -----Original Message-----
> From: Maniyam, Dinesh <[email protected]>
> Sent: Thursday, July 10, 2025 12:39 PM
> To: [email protected]
> Cc: Marek <[email protected]>; Simon <[email protected]>;
> Simon Glass <[email protected]>; Tom Rini <[email protected]>; Chee,
> Tien Fong <[email protected]>; Hea, Kok Kiang
> <[email protected]>; Maniyam, Dinesh
> <[email protected]>; Ng, Boon Khai <[email protected]>;
> Yuslaimi, Alif Zakuan <[email protected]>; Lim, Jit Loon
> <[email protected]>; Dinesh Maniyam <[email protected]>
> Subject: [PATCH] arch: arm: dts: agilex5: Set spi-max-freq to 50Mhz
>
> From: Dinesh Maniyam <[email protected]>
>
> This patch is to set spi-max-freq to 50Mhz. This will add support to the
> driver
> to set the operation speed according to the slave device up to 50Mhz.
> Without this node, the driver just can adjust the operation speed to the
> default speed which is far below the best operation speed of the SPI slave
> device.
>
> Signed-off-by: Dinesh Maniyam <[email protected]>
> ---
> arch/arm/dts/socfpga_agilex5.dtsi | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/dts/socfpga_agilex5.dtsi
> b/arch/arm/dts/socfpga_agilex5.dtsi
> index 86322d7b0ce..9bc3864022b 100644
> --- a/arch/arm/dts/socfpga_agilex5.dtsi
> +++ b/arch/arm/dts/socfpga_agilex5.dtsi
> @@ -388,6 +388,7 @@
> reg-io-width = <4>;
> num-cs = <4>;
> clocks = <&clkmgr AGILEX5_L4_MAIN_CLK>;
> + spi-max-frequency = <50000000>;
> status = "disabled";
> };
>
> @@ -402,6 +403,7 @@
> reg-io-width = <4>;
> num-cs = <4>;
> clocks = <&clkmgr AGILEX5_L4_MAIN_CLK>;
> + spi-max-frequency = <50000000>;
> status = "disabled";
> };
>
> --
> 2.35.3
Reviewed-by: Tien Fong Chee <[email protected]>
Best regards,
Tien Fong