[PATCH] m68k: dts: stmark2: set correct compatible field for spi nor

Angelo Dureghello angelo.dureghello at timesys.com
Thu Feb 16 00:02:49 CET 2023


From: Angelo Durgehello <angelo at kernel-space.org>

Fix error:

Invalid chip select 0:1 (err=-19)

update spi nor "compatible" property with "jedec,spi-nor"
to have spi nor properly bound as a child device.

Signed-off-by: Angelo Durgehello <angelo at kernel-space.org>
---
 arch/m68k/dts/stmark2.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/m68k/dts/stmark2.dts b/arch/m68k/dts/stmark2.dts
index 306b56d679..3688651e59 100644
--- a/arch/m68k/dts/stmark2.dts
+++ b/arch/m68k/dts/stmark2.dts
@@ -27,7 +27,7 @@
 	flash: is25lp128 at 1 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "spi-flash";
+		compatible = "jedec,spi-nor";
 		spi-max-frequency = <60000000>;
 		reg = <1>;
 	};
-- 
2.39.1



More information about the U-Boot mailing list