[PATCH 6/7] ARM: dts: at91: gurnard: fix SPI bus unit address

Eugen Hristev eugen.hristev at microchip.com
Sun Oct 25 19:56:24 CET 2020


w+arch/arm/dts/.at91sam9g45-gurnard.dtb.pre.tmp:118.21-122.7: Warning (spi_bus_reg): /ahb/apb/spi at fffa4000/mtd_dataflash at 0: SPI bus unit address format error, expected "1"

Signed-off-by: Eugen Hristev <eugen.hristev at microchip.com>
---
 arch/arm/dts/at91sam9g45-gurnard.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/dts/at91sam9g45-gurnard.dts b/arch/arm/dts/at91sam9g45-gurnard.dts
index 75c1e99274..2bc55f01a9 100644
--- a/arch/arm/dts/at91sam9g45-gurnard.dts
+++ b/arch/arm/dts/at91sam9g45-gurnard.dts
@@ -115,7 +115,7 @@
 
 			spi0: spi at fffa4000 {
 				cs-gpios = <0>, <&pioC 11 0>, <0>, <0>;
-				mtd_dataflash at 0 {
+				mtd_dataflash at 1 {
 					compatible = "atmel,at45", "atmel,dataflash";
 					spi-max-frequency = <50000000>;
 					reg = <1>;
-- 
2.25.1



More information about the U-Boot mailing list