1
0
Fork 0
forked from mirror/openwrt
openwrt/target/linux/generic
Christian Marangi 676dcb1b2c ipq4019: patch initialization of Lantiq DSL on FritzBox 7530.
Some VRX518 modems fail to initialize properly with the error message
"dc_ep_clk_on failed". As a result, the DSL data path doesn't work.

This hack, which is based on code from the FRITZ!Box 7530 GPL archive,
fixes the issue. It changes the PCIe vendor/device ID to values matching
a Lantiq SoC. It also appears to emulate a Lantiq CPU ID register for
connected PCIe devices, by remapping the matching address area to a
specially crafted buffer using the address translation unit.

A dedicated compatible is created to activate this in
the device tree, so this shouldn't affect any devices other than
FRITZ!Box 7530/7520.

Original investigation was done in 59f5212517 which used the "avm,host_magic" property to enabled the patch.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Florian Maurer <f.maurer@outlook.de>
Link: https://github.com/openwrt/openwrt/pull/17622
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-01-18 18:50:51 +01:00
..
backport-6.6 ipq4019: patch initialization of Lantiq DSL on FritzBox 7530. 2025-01-18 18:50:51 +01:00
files Revert "kernel: remove custom ath9k_platform.h" 2025-01-01 11:22:39 +01:00
hack-6.6 kernel: bump 6.6 to 6.6.70 2025-01-10 13:41:30 +01:00
image target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
other-files initramfs: switch to tmpfs to fix ujail 2020-11-27 01:23:43 +00:00
pending-6.6 generic: backport pending Realtek PHY patches 2025-01-17 13:51:49 +00:00
config-6.6 generic: add missing CONFIG_LEDS_KTD202X symbol 2024-12-27 20:18:02 +01:00
config-filter kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
PATCHES