generic: 6.6: add backported btsdio patch for cyw437
Add a backport of a btsdio patch for the cyw437 bluetooth controller.
Signed-off-by: Tim Harvey <tharvey@gateworks.com> Link: https://github.com/openwrt/openwrt/pull/17717 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: c9f1152)
imx: 6.6: add some backported kernel patches for Gateworks Venice
Add several dt backports for the Gateworks Venice product family.
Signed-off-by: Tim Harvey <tharvey@gateworks.com> Link: https://github.com/openwrt/openwrt/pull/17717 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 1ce87cf)
imx: 6.6: add a patch to work around a PCI init hang on IMX8M{M,P}
The act of attempting link at gen1 then trying to link at higher speeds causes a hang with the specific PCIe switch used on the Gateworks Venice boards. Work around this by linking at the highest speed first as is common with all other PCI controller drivers.
Signed-off-by: Tim Harvey <tharvey@gateworks.com> Link: https://github.com/openwrt/openwrt/pull/17717 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 23a18a5)
imx: coretexa53: add network configuration for gw82xx-2x
The GW82xx-2x has two network ports. By convention, the first port (eth0) should be the WAN port and the second port (eth1) should be the LAN port.
Signed-off-by: Tim Harvey <tharvey@gateworks.com> Link: https://github.com/openwrt/openwrt/pull/17717 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: d2eaaa9)
ramips: restore full switch performance for USW-Flex
Since commit f1c9afd80138 ("ramips: mt7621-dts: mux phy0/4 to gmac1") the USW-Flex lan1 port has been attached directly to the CPU. This improves routing performance but hinders switching.
This is a generally accepted trade-off in that commit but for USW-Flex it is a questionable choice. This switch is designed to deliver PoE to remote places and using it as a router is unlikely. Meanwhile, the lan1 port is also PoE-in and will often be the uplink, carrying most of the traffic.
Reverting f1c9afd80138 for USW-Flex restores full 1 Gbps switching performance on all ports.
Signed-off-by: Anders Melchiorsen <amelchio@nogoto.net> Link: https://github.com/openwrt/openwrt/pull/17703 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 62872f8)
airoha: an7581: replace eMMC support with upstream version
Replace eMMC support with upstream version where we declare dummy clock and dummy regulator instead of a specific compatible. Also drop the downstream patch for it.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> (commit: b7edf88)
ST1202 controller was added recently, but it was not disabled in the generic config, so lets avoid individual target configs disabling it and just disable it in generic config.
Link: https://github.com/openwrt/openwrt/pull/17746 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 8ffeeae)
The STM32MP135F-DK board uses the LAN8742 PHY. Enable CONFIG_SMSC_PHY to have full PHY support.
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com> Link: https://github.com/openwrt/openwrt/pull/17745 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: d981f28)
The definition for the netgear_wndr4700 had two different DEVICE_COMPAT_VERSION definitions.
In commit 5815884c3a2 ("apm821xx: migrate to DSA"), an additional DEVICE_COMPAT_VERSION := 3.0 attribute was added to the device definition. The old one with version 2.0 stayed and was defined later overwriting the new one.
Replace the old version 2.0 with the new version 3.0
dnsmasq: add fix related to DNSSEC verification from upstream
To find the DS record for a given zone the parent zone's nameserver must be queried and not the nameserver for the zone. Otherwise DNSSEC verification for unsigned delegations breaks.
The 'indirect-access-id' property on gpio0 is a remnant from the original GPIO driver. This property has not been relevant on the SoC's embedded GPIO controller for a long time, so just drop it.
The DTS file for the DGS-1210-10P is slightly different from the other DGS-1210 devices, in that it didn't specify a gpio-restart node when it was added. The gpio-restart has been found to work on the DGS-1210-10P as well, so switch it over to the common definitions.
This converts the last device from the product family to the common definition for the (external) GPIOs.
Tested-by: Michel Thill <jmthill@gmail.com> Signed-off-by: Sander Vanheule <sander@svanheule.net> (commit: 7c0d1c1)
realtek: switch RTL8231 driver for D-Link DGS-1210
Update the common external GPIO DTSI file for the DGS-1210 devices to use an MDIO device on the auxilairy MDIO bus, as the original driver was doing behind the screen.
Switching to the new driver will allow for full pin-control and will no longer reset pin config set by the bootloader.
ipq60xx: fix uboot-envtools file syntax error in uci-defaults
The syntax error prevented the correct creation of all ipq60xx U-Boot environment files: /etc/config/ubootenv and /etc/fw_env.config
Signed-off-by: Ivan Deng <hongba@rocketmail.com> Link: https://github.com/openwrt/openwrt/pull/17755 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 734331e)
Switch the implementation for the RTL8231 GPIO expander to the new driver.
This allows specifying the GPIO driving the RTL8231's reset as a proper MDIO reset line, so the gpio-hog can be dropped. Since it was pinned at a high level, the reset line is actually active-low (i.e. high when not in reset).
By switching to the new RTL8231 driver in commit b7af54d5c18c ("realtek: Simple conversions to RTL8231 MFD driver"), the bootloader state of the RTL8231's pins is now maintained. As the bootloader de-asserts the PoE enable signal, this means PoE output is no longer available.
Add a gpio-hog with high output, restoring the line value from when the pin was configured (by default) as an input with a pull-up resistor. This will hard-enable the PoE output, but the individual ports can still be administratively disabled by realtek-poe or a similar tool.
base-files: sysupgrade: Add new option -s to perform upgrade on current partition
Add new option to be able to perform upgrade on current partition for dual firmware devices: "-s stay on current partition (for dual firmware devices)"
Signed-off-by: Paweł Owoc <frut3k7@gmail.com> Link: https://github.com/openwrt/openwrt/pull/14720 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 389ecee)
qualcommax: ipq807x: Add ability to perform upgrade on current partition for Linksys MX devices
Dual firmware devices like Linksys MX4200, MX4300, MX5300 and MX8500 use separate rootfs partition. This option helps to keep all configuration during upgrade.
Signed-off-by: Paweł Owoc <frut3k7@gmail.com> Link: https://github.com/openwrt/openwrt/pull/14720 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: f1f1b08)
qualcommax: ipq807x: Update u-boot env only when changes for Linksys MX devices
Update u-boot env variables only when changes are made. Applies to Linksys MX4200/MX4300/MX5300/MX8500.
Signed-off-by: Paweł Owoc <frut3k7@gmail.com> Link: https://github.com/openwrt/openwrt/pull/14720 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 2fc99e4)
qualcommax: ipq807x: Remove OEM UBI volume before upgrade for Linksys MX devices
Use 'remove_oem_ubi_volume' function to remove OEM UBI volume before upgrade. This allows to upgrade even if we have OEM firmware on the second partition. Applies to Linksys MX4200/MX4300/MX5300/MX8500.
Signed-off-by: Paweł Owoc <frut3k7@gmail.com> Link: https://github.com/openwrt/openwrt/pull/14720 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: df1f6e1)
Update URL variable to reflect switch to Github for development The old URL returns HTTP 404
Signed-off-by: Felix Baumann <felix.bau@gmx.de> Link: https://github.com/openwrt/openwrt/pull/17752 Signed-off-by: Robert Marko <robimarko@gmail.com> (commit: 3e6e9b2)