spi: cadence_qspi: use "cdns,qspi-nor" as compatible
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Fri, 2 Nov 2018 10:54:51 +0000 (11:54 +0100)
committerMarek Vasut <marex@denx.de>
Thu, 29 Nov 2018 11:45:15 +0000 (12:45 +0100)
Linux uses "cdns,qspi-nor" as compatible string for the cadence
qspi driver, so change driver, docs and all device trees.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
arch/arm/dts/keystone-k2g.dtsi
arch/arm/dts/socfpga.dtsi
arch/arm/dts/socfpga_arria10.dtsi
arch/arm/dts/stv0991.dts
doc/device-tree-bindings/spi/spi-cadence.txt
drivers/spi/cadence_qspi.c

index 9bcfea6d86377f7dbaffa97f6000b2d05b97e530..bbbb9874c87b359a29d3e64ee1d4fba51435bdd0 100644 (file)
@@ -85,7 +85,7 @@
                };
 
                qspi: qspi@2940000 {
-                       compatible =  "cadence,qspi";
+                       compatible =  "cdns,qspi-nor";
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <0x02940000 0x1000>,
index 314449478d0ba5c48762b26f571c9b9d1e7dd861..9d8c4ebd15a82069f68953c85061d8df2d59e1c7 100644 (file)
                };
 
                qspi: spi@ff705000 {
-                       compatible = "cadence,qspi";
+                       compatible = "cdns,qspi-nor";
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <0xff705000 0x1000>,
index 46f2fd4b69b5d5db7cc67d6df049cd7979901a83..2c5249c1eb4ff93f5e7aa0899ee68a46d39bb462 100644 (file)
                };
 
                qspi: spi@ff809000 {
-                       compatible = "cdns,qspi-nor", "cadence,qspi";
+                       compatible = "cdns,qspi-nor";
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <0xff809000 0x100>,
index bceac09154259f1dd86c0c67be9291ca53fd28a2..98bd5dfc70f237942f2d8d1d7d5fccc58b2ea592 100644 (file)
@@ -26,7 +26,7 @@
        };
 
        qspi: spi@80203000 {
-                       compatible = "cadence,qspi";
+                       compatible = "cdns,qspi-nor";
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <0x80203000 0x100>,
index 74c82080fc935806a78a844a23c44e9a34e0fd75..69e02c1c4b1fccbaa7d4e3c0b65d88dfcdbed4d8 100644 (file)
@@ -2,7 +2,7 @@ Cadence QSPI controller device tree bindings
 --------------------------------------------
 
 Required properties:
-- compatible           : should be "cadence,qspi".
+- compatible           : should be "cdns,qspi-nor"
 - reg                  : 1.Physical base address and size of SPI registers map.
                          2. Physical base address & size of NOR Flash.
 - clocks               : Clock phandles (see clock bindings for details).
index 29db6fa36844b78971a7755e4334a7092268f34f..11fce9c4fe5c73d22b68b884195a6dbe3b1f016a 100644 (file)
@@ -329,7 +329,7 @@ static const struct dm_spi_ops cadence_spi_ops = {
 };
 
 static const struct udevice_id cadence_spi_ids[] = {
-       { .compatible = "cadence,qspi" },
+       { .compatible = "cdns,qspi-nor" },
        { }
 };