Skip to contentSkip to conversation

ARM: dts: mvebu: fix SPI device node

PATCH New Arnd Bergmann 1 participant 1 message Apr 9, 2021 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: mvebu: fix SPI device node

From: Arnd Bergmann <[email protected]>

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")

---
I applied this fixup to the arm/dt branch on top of the new file, this will be part of linux-next and the v5.13 pull request

 arch/arm/boot/dts/armada-385-atl-x530.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/armada-385-atl-x530.dts +1 -1
index 2041bf09c578..ed3f41c7df71 100644
@@ -168,7 +168,7 @@ &spi1 {
 	pinctrl-0 = <&spi1_pins>;
 	status = "okay";
 
-	spi-flash@0 {
+	spi-flash@1 {
 		#address-cells = <1>;
 		#size-cells = <1>;
 		compatible = "jedec,spi-nor";
Signature · 1 line
2.29.2