arch: arm: dts: agilex5: Set spi-max-freq to 50Mhz
authorDinesh Maniyam <dinesh.maniyam@intel.com>
Thu, 10 Jul 2025 04:39:24 +0000 (12:39 +0800)
committerTien Fong Chee <tien.fong.chee@intel.com>
Wed, 30 Jul 2025 09:45:28 +0000 (17:45 +0800)
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 <dinesh.maniyam@intel.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
arch/arm/dts/socfpga_agilex5.dtsi

index 86322d7..9bc3864 100644 (file)
                        reg-io-width = <4>;
                        num-cs = <4>;
                        clocks = <&clkmgr AGILEX5_L4_MAIN_CLK>;
+                       spi-max-frequency = <50000000>;
                        status = "disabled";
                };
 
                        reg-io-width = <4>;
                        num-cs = <4>;
                        clocks = <&clkmgr AGILEX5_L4_MAIN_CLK>;
+                       spi-max-frequency = <50000000>;
                        status = "disabled";
                };