spi: cadence_qspi: use "cdns,qspi-nor" as compatible

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>
This commit is contained in:
Simon Goldschmidt 2018-11-02 11:54:51 +01:00 committed by Marek Vasut
parent 89f1fe5bd4
commit 2a3a99932b
6 changed files with 6 additions and 6 deletions

View file

@ -85,7 +85,7 @@
};
qspi: qspi@2940000 {
compatible = "cadence,qspi";
compatible = "cdns,qspi-nor";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x02940000 0x1000>,

View file

@ -646,7 +646,7 @@
};
qspi: spi@ff705000 {
compatible = "cadence,qspi";
compatible = "cdns,qspi-nor";
#address-cells = <1>;
#size-cells = <0>;
reg = <0xff705000 0x1000>,

View file

@ -748,7 +748,7 @@
};
qspi: spi@ff809000 {
compatible = "cdns,qspi-nor", "cadence,qspi";
compatible = "cdns,qspi-nor";
#address-cells = <1>;
#size-cells = <0>;
reg = <0xff809000 0x100>,

View file

@ -26,7 +26,7 @@
};
qspi: spi@80203000 {
compatible = "cadence,qspi";
compatible = "cdns,qspi-nor";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x80203000 0x100>,

View 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).

View 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" },
{ }
};