spi: Use 'flash' node name instead of 'spi-flash' in example
authorApurva Nandan <a-nandan@ti.com>
Mon, 20 Sep 2021 14:27:13 +0000 (19:57 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 21 Sep 2021 14:25:10 +0000 (15:25 +0100)
Change the nodename in the example with spi-nand from 'spi-flash@1'
to 'flash@1' to make the schema uniform with both spi-nand and spi-nor
flashes. jedec,spi-nor.yaml uses 'flash@' nodename for spi-nor flashes,
so make the spi-nand examples in dt-bindings use it too for uniformity.

Signed-off-by: Apurva Nandan <a-nandan@ti.com>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210920142713.129295-3-a-nandan@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml

index ca91201a99269750e80e497eb147979f42942fd3..d7e08b03e204f91dadb383b7ad5e7610c7f866a7 100644 (file)
@@ -171,7 +171,7 @@ examples:
       cs-gpios = <&gpio0 13 0>,
                  <&gpio0 14 0>;
       rx-sample-delay-ns = <3>;
-      spi-flash@1 {
+      flash@1 {
         compatible = "spi-nand";
         reg = <1>;
         rx-sample-delay-ns = <7>;