1 From a492fdffa3c86f6b8420b6433a2ce07271597324 Mon Sep 17 00:00:00 2001
2 From: Luis Araneda <luaraneda@gmail.com>
3 Date: Fri, 27 Jul 2018 04:43:42 -0400
4 Subject: [PATCH] arm: zynq: dts: add spi flash node to zedboard
6 Add a flash node to fix the detection of the memory IC.
7 With the changes introduced with commit 8fee8845e754
8 ("enf_sf: reuse setup_flash_device instead of open coding it")
9 the SPI speed is now read from device-tree or a default value
10 is applied. This replaced the old behavior of setting the
11 SPI speed to CONFIG_ENV_SPI_MAX_HZ.
13 As this board didn't have a flash node, the default value
14 was applied to the SPI speed, producing an error when probing
15 the flash memory (speed too slow).
17 Signed-off-by: Luis Araneda <luaraneda@gmail.com>
18 Signed-off-by: Michal Simek <michal.simek@xilinx.com>
20 arch/arm/dts/zynq-zed.dts | 7 +++++++
21 1 file changed, 7 insertions(+)
23 --- a/arch/arm/dts/zynq-zed.dts
24 +++ b/arch/arm/dts/zynq-zed.dts
31 + compatible = "spansion,s25fl256s", "spi-flash";
33 + spi-max-frequency = <30000000>;