From e88024b34b5f583273610e8190d570c66ebd3907 Mon Sep 17 00:00:00 2001 From: Dinesh Maniyam Date: Thu, 10 Jul 2025 12:39:24 +0800 Subject: [PATCH] arch: arm: dts: agilex5: Set spi-max-freq to 50Mhz 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 Reviewed-by: Tien Fong Chee --- 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.47.2