[openwrt/openwrt] ipq40xx: disable SPI DMA for Fritzbox 4040

LEDE Commits lede-commits at lists.infradead.org
Thu Dec 12 03:17:30 PST 2024


blogic pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/d67963943b52bd996368f829d8dea5432de55292

commit d67963943b52bd996368f829d8dea5432de55292
Author: Rouven Czerwinski <rouven at czerwinskis.de>
AuthorDate: Wed Jul 17 21:28:11 2024 +0200

    ipq40xx: disable SPI DMA for Fritzbox 4040
    
    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 at czerwinskis.de>
    
    Link: https://github.com/openwrt/openwrt/pull/15966
    Signed-off-by: John Crispin <john at phrozen.org>
---
 .../files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-fritzbox-4040.dts     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-fritzbox-4040.dts b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-fritzbox-4040.dts
index b3617eb45e..bcb3b24232 100644
--- a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-fritzbox-4040.dts
+++ b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4018-fritzbox-4040.dts
@@ -151,6 +151,8 @@
 	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 at 0 {




More information about the lede-commits mailing list