OSDN Git Service

ARM: dts: mvebu: fix SPI device node
authorArnd Bergmann <arnd@arndb.de>
Fri, 9 Apr 2021 07:29:39 +0000 (09:29 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 9 Apr 2021 07:31:19 +0000 (09:31 +0200)
dtc warns about a mismatched address:

arch/arm/boot/dts/armada-385-atl-x530.dts:171.14-199.4: Warning (spi_bus_reg): /soc/spi@10680/spi-flash@0: SPI bus unit address format error, expected "1"

I assume the "reg" property is correct here, so adjust the unit address
accordingly.

Fixes: c6dfc019c239 ("ARM: dts: mvebu: Add device tree for ATL-x530 Board")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Reported-by: kernelci.org bot <bot@kernelci.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/armada-385-atl-x530.dts

index 2041bf0..ed3f41c 100644 (file)
        pinctrl-0 = <&spi1_pins>;
        status = "okay";
 
-       spi-flash@0 {
+       spi-flash@1 {
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "jedec,spi-nor";