From: Marek Vasut Date: Wed, 31 Dec 2014 19:14:55 +0000 (+0100) Subject: dt: socfpga: Rename snps, dw-spi-mmio to snps, dw-apb-ssi X-Git-Tag: v2015.01~19^2~7 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=741148625359ef92ad078b1096e3352cdb36dd0d;p=u-boot dt: socfpga: Rename snps, dw-spi-mmio to snps, dw-apb-ssi Linux now also contains SPI driver, yet the name is 'snps,dw-apb-ssi'. Fix the naming before we have to support both names. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Pavel Machek Cc: Stefan Roese Cc: Vince Bridgers Reviewed-by: Stefan Roese Acked-by: Pavel Machek Reviewed-by: Jagannadha Sutradharudu Teki --- diff --git a/arch/arm/dts/socfpga.dtsi b/arch/arm/dts/socfpga.dtsi index 969e5ad751..93d3776766 100644 --- a/arch/arm/dts/socfpga.dtsi +++ b/arch/arm/dts/socfpga.dtsi @@ -644,7 +644,7 @@ }; spi0: spi@fff00000 { - compatible = "snps,dw-spi-mmio"; + compatible = "snps,dw-apb-ssi"; #address-cells = <1>; #size-cells = <0>; reg = <0xfff00000 0x1000>; @@ -658,7 +658,7 @@ }; spi1: spi@fff01000 { - compatible = "snps,dw-spi-mmio"; + compatible = "snps,dw-apb-ssi"; #address-cells = <1>; #size-cells = <0>; reg = <0xfff01000 0x1000>; diff --git a/drivers/spi/designware_spi.c b/drivers/spi/designware_spi.c index 0210667854..700f616ad7 100644 --- a/drivers/spi/designware_spi.c +++ b/drivers/spi/designware_spi.c @@ -409,7 +409,7 @@ static const struct dm_spi_ops dw_spi_ops = { }; static const struct udevice_id dw_spi_ids[] = { - { .compatible = "snps,dw-spi-mmio" }, + { .compatible = "snps,dw-apb-ssi" }, { } };