summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Majewski <[email protected]>2025-06-25 16:41:30 +0200
committerFabio Estevam <[email protected]>2025-06-29 10:07:23 -0300
commitecf8169ef80a8efcfb18584a0a6ccf46fad26aa4 (patch)
treeefb190ea9ee1b4d5520967b2eac846fe42da60ea
parent6b5ba626505b8f8b5c9b87d103794ced002b4922 (diff)
dts: pcm052: bk4: Use proper compatible for QSPI SPI-NOR memory
In the contemporary U-Boot the "spi-flash" compatible is used only when CONFIG_$(PHASE_)SPI_FLASH_TINY is defined so spi-nor-tiny.c is compiled. As vf610 devices are not using SPL at all, the SPI_FLASH_TINY is not defined and no QSPI flash child nodes are considered as valid ones. The result is that the 'sf probe' command fails and SPI NOR memory is not accessible on e.g. BK4 device. The fix is to use proper compatible - in this case "jedec,spi-nor". Signed-off-by: Lukasz Majewski <[email protected]>
-rw-r--r--arch/arm/dts/vf610-pcm052.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/dts/vf610-pcm052.dtsi b/arch/arm/dts/vf610-pcm052.dtsi
index ccdc0f57e2b..2b82b7313dd 100644
--- a/arch/arm/dts/vf610-pcm052.dtsi
+++ b/arch/arm/dts/vf610-pcm052.dtsi
@@ -244,7 +244,7 @@
qflash0: spi_flash@0 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <108000000>;
reg = <0>;
};
@@ -252,7 +252,7 @@
qflash1: spi_flash@1 {
#address-cells = <1>;
#size-cells = <1>;
- compatible = "spi-flash";
+ compatible = "jedec,spi-nor";
spi-max-frequency = <66000000>;
reg = <1>;
};