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@
V4: Move DT change to arch/arm/dts/r8a779g3-sparrow-hawk-u-boot.dtsi
    until the same fix lands in mainline Linux
---
 arch/arm/dts/r8a779g3-sparrow-hawk-u-boot.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/dts/r8a779g3-sparrow-hawk-u-boot.dtsi 
b/arch/arm/dts/r8a779g3-sparrow-hawk-u-boot.dtsi
index c9f302799f1..3210360ebe2 100644
--- a/arch/arm/dts/r8a779g3-sparrow-hawk-u-boot.dtsi
+++ b/arch/arm/dts/r8a779g3-sparrow-hawk-u-boot.dtsi
@@ -44,6 +44,11 @@
 
 &rpc {
        flash@0 {
+               /*
+                * EVTA1 is populated with Spansion S25FS512S
+                * EVTB1 is populated with Winbond W77Q51NW
+                */
+               compatible = "jedec,spi-nor";
                spi-tx-bus-width = <1>;
                spi-rx-bus-width = <1>;
        };
-- 
2.47.2

Reply via email to