openwrt-mirror/target/linux/generic
Christian Marangi f31ab2abef 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>
(cherry picked from commit 676dcb1b2c)
2025-01-19 11:01:13 +01:00
..
backport-6.6 ipq4019: patch initialization of Lantiq DSL on FritzBox 7530. 2025-01-19 11:01:13 +01:00
files treewide: remove THIS_MODULE assignment 2024-11-28 18:46:45 +00:00
hack-6.6 kernel: bump 6.6 to 6.6.70 2025-01-12 21:43:35 +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 23:53:06 +01:00
config-6.6 generic: add missing CONFIG_LEDS_KTD202X symbol 2025-01-01 23:14:31 +01:00
config-filter kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
PATCHES