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

Signed-off-by: Marek Vasut <[email protected]>
---
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: [email protected]
---
 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 b109095a0d8..a0fda441320 100644
--- a/dts/upstream/src/arm64/renesas/r8a779g3-sparrow-hawk.dts
+++ b/dts/upstream/src/arm64/renesas/r8a779g3-sparrow-hawk.dts
@@ -623,7 +623,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