Retronix R-Car V4H Sparrow Hawk EVTA1 is populated with Spansion S25FS512S,
EVTB1 is populated with Winbond W77Q51NW. Describe the SPI NOR using generic
"jedec,spi-nor" compatible, because both flashes can be auto-detected based
on their built-in IDs.

Signed-off-by: Marek Vasut <marek.vasut+rene...@mailbox.org>
---
Cc: Nobuhiro Iwamatsu <iwama...@nigauri.org>
Cc: Tom Rini <tr...@konsulko.com>
Cc: u-boot@lists.denx.de
---
V2: Update commit message, s@spi-flash@jedec,spi-nor@
V3: Use capital F in the comment, s@fS@FS@
---
 dts/upstream/src/arm64/renesas/r8a779g3-sparrow-hawk.dts | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dts/upstream/src/arm64/renesas/r8a779g3-sparrow-hawk.dts 
b/dts/upstream/src/arm64/renesas/r8a779g3-sparrow-hawk.dts
index 6955eafd8d6..a9ecef67d5d 100644
--- a/dts/upstream/src/arm64/renesas/r8a779g3-sparrow-hawk.dts
+++ b/dts/upstream/src/arm64/renesas/r8a779g3-sparrow-hawk.dts
@@ -729,7 +729,11 @@
        status = "okay";
 
        flash@0 {
-               compatible = "spansion,s25fs512s", "jedec,spi-nor";
+               /*
+                * EVTA1 is populated with Spansion S25FS512S
+                * EVTB1 is populated with Winbond W77Q51NW
+                */
+               compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <40000000>;
                spi-rx-bus-width = <4>;
-- 
2.47.2

Reply via email to