devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sunxi: dts: Fix SPI NOR campatible on Orange Pi Zero
@ 2022-07-07 16:38 Michal Suchanek
  2022-07-07 16:48 ` Andre Przywara
  0 siblings, 1 reply; 8+ messages in thread
From: Michal Suchanek @ 2022-07-07 16:38 UTC (permalink / raw)
  To: linux-sunxi
  Cc: Michal Suchanek, Icenowy Zheng, Andre Przywara, Rob Herring,
	Krzysztof Kozlowski, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland,
	devicetree, linux-arm-kernel, linux-kernel

Without "jedec,spi-nor" compatible the flash memory cannot be probed by
u-boot.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
---
 arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
index f19ed981da9d..d114bbc5f441 100644
--- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
+++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts
@@ -169,7 +169,7 @@ &spi0 {
 	flash@0 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-		compatible = "mxicy,mx25l1606e", "winbond,w25q128";
+		compatible = "mxicy,mx25l1606e", "winbond,w25q128", "jedec,spi-nor";
 		reg = <0>;
 		spi-max-frequency = <40000000>;
 	};
-- 
2.35.3


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-07-08 18:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-07 16:38 [PATCH] sunxi: dts: Fix SPI NOR campatible on Orange Pi Zero Michal Suchanek
2022-07-07 16:48 ` Andre Przywara
2022-07-07 17:07   ` [PATCH v2] " Michal Suchanek
2022-07-08  4:53     ` Jernej Škrabec
2022-07-08  7:36     ` Samuel Holland
2022-07-08 14:13       ` Jernej Škrabec
2022-07-08 17:45         ` [PATCH v2] ARM: dts: sunxi: " Michal Suchanek
2022-07-08 18:31           ` Jernej Škrabec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).