]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
lantiq: AVM Fritz 736x: fix PCIe reset GPIO 21641/head
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 22 Jan 2026 22:14:21 +0000 (23:14 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 24 Jan 2026 00:40:11 +0000 (01:40 +0100)
The vr9.dtsi configures the GPIO 38 as reset GPIO. Also the fon LED is
configured on GPIO 38. This conflicts and makes the probing of the PCIe
controller fail in OpenWrt 25.12.

The AVM GPL source code configured GPIO 21 as PCIe reset.

Fixes: https://github.com/openwrt/openwrt/issues/21562
Link: https://github.com/openwrt/openwrt/pull/21641
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi

index 9adc6313699628170ef8ee4a51ff4fec6858b21e..795585bc0741fcf2b01e674433f6b0923c1de9c7 100644 (file)
 
 &pcie0 {
        status = "okay";
+       gpio-reset = <&gpio 21 GPIO_ACTIVE_LOW>;
 
        pcie@0 {
                reg = <0 0 0 0 0>;