ipq40xx: disable SPI DMA for Fritzbox 4040
authorRouven Czerwinski <rouven@czerwinskis.de>
Wed, 17 Jul 2024 19:28:11 +0000 (21:28 +0200)
committerJohn Crispin <john@phrozen.org>
Thu, 12 Dec 2024 10:01:56 +0000 (11:01 +0100)
We have seen hung devices and failures during SPI transactions on
Fritzbox devices with a gluon based freifunk network. We have narrowed
down that disabling DMA for spi fixes the problem, so disable dma for
the SPI controller on the Fritzbox 4040.

Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
Link: https://github.com/openwrt/openwrt/pull/15966
Signed-off-by: John Crispin <john@phrozen.org>
target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-fritzbox-4040.dts

index b3617eb45eeed042ac2c8c564904f4ee766d66de..bcb3b24232c9665631c389b6f7b9f6bd005397b4 100644 (file)
        pinctrl-0 = <&spi_0_pins>;
        pinctrl-names = "default";
        status = "okay";
+       /delete-property/ dmas;
+       /delete-property/ dma-names;
        cs-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
 
        flash@0 {