aboutsummaryrefslogtreecommitdiff
path: root/target/linux
Commit message (Collapse)AuthorAge
...
* realtek: HPE 1920-48G-PoE: allow fan speed controlEvan Jobling2025-02-09
| | | | | | | | | | | | | The JG928A has an RTL8231 on the aux mdio bus. Add it to dts to expose the GPIO pins used to control and monitor the fan speed. To enable speed control, add the appropriate kernel driver module to DEVICE_PACKAGES. Of note, this does not control all fans for the unit. The power supply fans are not controlled. Signed-off-by: Evan Jobling <evan@jobling.au> Link: https://github.com/openwrt/openwrt/pull/17699 Signed-off-by: Sander Vanheule <sander@svanheule.net>
* mediatek: filogic: increase spi flash memory speed on ZyXEL EX5601Aleksander Jan Bajkowski2025-02-09
| | | | | | | | | | | | | | The factory firmware uses a 20 MHz frequency, so it should be safe. Before: 10485760 bytes (10 MB, 10 MiB) copied, 2.53096 s, 4.1 MB/s After: 10485760 bytes (10 MB, 10 MiB) copied, 1.51901 s, 6.9 MB/s Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl> Link: https://github.com/openwrt/openwrt/pull/17749 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mediatek: filogic: fix mt7986a-zyxel-ex5601-t0-stock.dts model name and eth1 ↵Pietro Ameruoso2025-02-09
| | | | | | | | | | | | wan definition Fix the model name to reflect the stock partitioning and the wan eth1 detection in the 02_network script. Fixes: https://github.com/openwrt/openwrt/issues/14432 Fixes: b5df398a36f1 ("mediatek: add Zyxel EX5601-T0 with uboot custom partition") Signed-off-by: Pietro Ameruoso <p.ameruoso@live.it> Link: https://github.com/openwrt/openwrt/pull/17859 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* qualcommax: drop the fake IPQ5018 SNAND compatibleRobert Marko2025-02-09
| | | | | | | | | Devices that rely on faking the NAND controler compatible for U-Boot to patch the nodes should add it in their DTS directly, this does not belong in the SoC DTSI. Link: https://github.com/openwrt/openwrt/pull/17908 Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: replace SPI NAND with latest seriesRobert Marko2025-02-09
| | | | | | | | | | Replace the existing SPI NAND controller patches with the latest v14 set that is pending upstream, and include Ansuels patch that fixes it. Bindings patch is removed as there is no point carrying it in OpenWrt. Link: https://github.com/openwrt/openwrt/pull/17908 Signed-off-by: Robert Marko <robimarko@gmail.com>
* generic: fix Qcom SNAND driver and move to backports directoryChristian Marangi2025-02-08
| | | | | | | | | | | Add patch to fix Qcom SNAND driver and move the SNAND patches to backports directory as they are shared between qualcommax and qualcommbe target. Fixes: #17897 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17900 Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: ipq50xx: refresh kernel configRobert Marko2025-02-07
| | | | | | | | | Refresh the ipq50xx kernel config as it looks like it was created by hand instead of kernel_menuconfig so we have stuff like DWC3 which is packaged as a kmod in a generic way, QMI helpers are part of backports etc. Link: https://github.com/openwrt/openwrt/pull/17890 Signed-off-by: Robert Marko <robimarko@gmail.com>
* mediatek: fix nmbm configuration mismatch (Xiaomi AX3000t)Mikhail Zhilkin2025-02-07
| | | | | | | | | | | | | | | | | | | | | | This commit fixes nmbm configuration mismatch error on Xiaomi AX3000t with Winbond W25N01KVZEIR spi-nand: ''' [ 0.786783] NMBM configuration mismatch ''' Root cause: 1. U-Boot W25N01KV spi-nand driver ia compiled with 64B OOB size for the chip and store this size in the nmbm signature; 2. Linux W25N01KV driver use 96B OOB. The change doesn't affect AX3000t variants with other spi-nand chips (ESMT, Foresee) because their Linux drivers use 64B OOB. Fixes: openwrt#16972 Tested-by: Aleksandr Danilov <sc16me@gmail.com> Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17549 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: nmbm: add mediatek,bmt-mtd-overridden-oobsize propertyMikhail Zhilkin2025-02-07
| | | | | | | | | | This commit adds new "mediatek,bmt-mtd-overridden-oobsize" property. The property helps avoid "NMBM configuration mismatch" error if mtd "OOB size" is not equal to the "spare size" which is stored in the nmbm signature. Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17549 Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: disable IPQ5018 specific symbolsRobert Marko2025-02-06
| | | | | | | | | Newly introduced IPQ5018 specific symbols will stop compilation of ipq807x and ipq60xx subtargets, so make sure to disable them in the generic config. Link: https://github.com/openwrt/openwrt/pull/17884 Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: ipq50xx: add support for Linksys MX2000 and MX5500George Moussalem2025-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for Linksys MX2000 (Atlas 6) and MX5500 (Atlas 6 Pro). These devices are completely identical except for the secondary wifi chip used for 5Ghz: QCN6102 is used on MX2000 while QCN9024 is used on MX5500 Speficiations: * SoC: Qualcomm IPQ5018 (64-bit dual-core ARM Cortex-A53 @ 1.0Ghz) * Memory: Winbond W634GU6NB-11 (512 MiB DDR3-933) * Serial Port: 3v3 TTL 115200n8 * Wi-Fi: IPQ5018 (2x2 2.4 Ghz 802.11b/g/n/ax) * Wi-Fi: MX2000: QCN6102 (2x2:2 5 Ghz 802.11an/ac/ax) MX5500: QCN9024 (4x4:4 5 Ghz 802.11an/ac/ax) * Ethernet: IPQ5018 integrated virtual switch connected to an external QCA8337 switch (4 Ports 10/100/1000 GBASE-T) * Flash: Macronix MX35UF2GE4AD (256 MiB) * LEDs: 1x multi-color PWM LED * Buttons: 1x WPS (GPIO 27 Active Low) 1x Reset (GPIO 28 Acive Low) Flash instructions (in case of MX2000, else replace with MX5500 images): 1. On OEM firmware, login to the device (typically at http://192.168.1.1) and click 'CA' in the bottom right corner -> Connectivity -> Manual Upgrade. Alternatively, browse to http://<router IP>/fwupdate.html. Upgrade firmware using openwrt-qualcommax-ipq50xx-linksys_mx2000-squashfs-factory.bin image. Optionally install on second partition, after first boot check actual partition: fw_printenv -n boot_part and install firmware on second partition using command in case of 2: mtd -r -e kernel -n write openwrt-qualcommax-ipq50xx-linksys_mx2000-squashfs-factory.bin kernel and in case of 1: mtd -r -e alt_kernel -n write openwrt-qualcommax-ipq50xx-linksys_mx2000-squashfs-factory.bin alt_kernel 2. Installation using serial connection from OEM firmware (default login: root, password: admin): fw_printenv -n boot_part In case of 2: flash_erase /dev/mtd12 0 0 nandwrite -p /dev/mtd12 openwrt-qualcommax-ipq50xx-linksys_mx2000-squashfs-factory.bin or in case of 1: flash_erase /dev/mtd14 0 0 nandwrite -p /dev/mtd14 openwrt-qualcommax-ipq50xx-linksys_mx2000-squashfs-factory.bin After first boot install firmware on second partition: mtd -r -e kernel -n write openwrt-qualcommax-ipq50xx-linksys_mx2000-squashfs-factory.bin kernel or: mtd -r -e alt_kernel -n write openwrt-qualcommax-ipq50xx-linksys_mx2000-squashfs-factory.bin alt_kernel 3. Back to the OEM firmware. Download firmware from OEM website: MX2000: https://support.linksys.com/kb/article/585-en/ MX5500: https://support.linksys.com/kb/article/587-en/ From serial or SSH: fw_printenv boot_part in case of 1: mtd -r -e alt_kernel -n write FW_MX2000_1.1.7.210469_prod.img alt_kernel else in case of 2: mtd -r -e kernel -n write FW_MX2000_1.1.7.210469_prod.img kernel Signed-off-by: George Moussalem <george.moussalem@outlook.com> Link: https://github.com/openwrt/openwrt/pull/17182 Signed-off-by: Robert Marko <robimarko@gmail.com>
* mac80211: ath11k: add support for QCN6122 wifiGeorge Moussalem2025-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | Add QCN6122 platform support. QCN6122 is a PCIe based solution that is attached to and enumerated by the WPSS (Wireless Processor SubSystem) Q6 processor. Though it is a PCIe device, since it is not attached to APSS processor (Application Processor SubSystem), APSS will be unaware of such a decice and hence it is registered to the APSS processor as a platform device(AHB). Because of this hybrid nature, it is called as a hybrid bus device. As such, QCN6122 is a hybrid bus type device and follows the same codepath as for WCN6750. This is a reversed engineered and heavily simplified version of below downstream patch: https://git.codelinaro.org/clo/qsdk/oss/system/feeds/wlan-open/-/ \ blob/NHSS.QSDK.12.4.5.r2/mac80211/patches/232-ath11k-qcn6122-support.patch Co-developed-by: George Moussalem <george.moussalem@outlook.com> Signed-off-by: Sowmiya Sree Elavalagan <ssreeela@codeaurora.org> Signed-off-by: George Moussalem <george.moussalem@outlook.com> Link: https://github.com/openwrt/openwrt/pull/17182 Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: add ipq50xx targetGeorge Moussalem2025-02-06
| | | | | | | | | | | | | | | | | | | | Introduce support for the Qualcomm IPQ50xx SoC. This series adds support for the following components: - minimal boot support: GCC/pinctrl/watchdog/CPUFreq/SDI (upstreamed) - USB2 (upstreamed) - Thermal/Tsens - PCIe gen2 1&2-lane PHY and controller - PWM and PWM LED - QPIC SPI NAND controller - CMN PLL Block (provider of fixed rate clocks to GCC/ethernet/more.) - Ethernet: IPQ5018 Internal GE PHY (1 gbps) - Remoteproc MPD driver for IPQ5018 (2.4G) & QCN6122 (5/6G) Wifi Co-developed-by: Ziyang Huang <hzyitc@outlook.com> Signed-off-by: Ziyang Huang <hzyitc@outlook.com> Signed-off-by: George Moussalem <george.moussalem@outlook.com> Link: https://github.com/openwrt/openwrt/pull/17182 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: modules: netdevices: add realtek DSA modulesLuiz Angelo Daros de Luca2025-02-06
| | | | | | | | | | | | | Uses upstream DSA switch modules (rtl8365mb, rtl8366), similar to RTL8367C and rtl8366rb swconfig drivers. The package dependencies exclude targets built without kernel CONFIG_OF. It also fixes the rtl8366rb LED support. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17182 Signed-off-by: Robert Marko <robimarko@gmail.com>
* mxs: adapt default package list for Duckbill devicesMichael Heimpold2025-02-05
| | | | | | | | | | | | Replace outdated package names, order the remaining. firewall4 is added again, since it is enabled by default. The device is not a router by default, so this package makes no sense in the default config. User can enable it by theirself, or it will be automatically pulled via dependency, e.g. luci-app-firewall. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* mxs: image: slightly adjust whitespace (no functional change)Michael Heimpold2025-02-05
| | | | | | | Seems that the common style is to have whitespace around the operators and the indent is single tab. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* mxs: fix image generation for I2SE DuckbillsMichael Heimpold2025-02-05
| | | | | | | | | | | | The standard U-Boot boot scripts for Duckbills expect the Linux kernel and device tree files installed below /boot within the (ext4) root filesystem. Also a raw zImage is expected instead of uImage. Extend the SD card generation accordingly and while at, install all possible Duckbill DT blobs there. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* realtek: drop old RTL8231 driverSander Vanheule2025-02-05
| | | | | | | | | | | | | The old RTL8231 driver integrated the MDIO bus access with the GPIO control ops, making this driver not very portable to newer platforms. It depended on the SoC ID instead of the compatible to determine the MDIO access register, further complicating portability. A new MFD driver is now available, which offers proper pin config as well as optional LED support, which can work on any (bitbanged) MDIO bus. Now that all devices have been migrated, we can drop the old code. Signed-off-by: Sander Vanheule <sander@svanheule.net>
* generic: fix broken NVMEM ASCII patch for x86 target and mute warningChristian Marangi2025-02-05
| | | | | | | | | | | Fix broken NVMEM ASCII patch for x86 target as it does currently fail compilation when OF is not compiled. Also mute a warning for integer from pointer without a cast. Fixes: 73a6cb983c46 ("generic: add pending support for NVMEM ASCII ENV layout driver") Link: https://github.com/openwrt/openwrt/pull/17845 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* siflower: move soruce-only flag to sf19a2890 subtargetChuanhong Guo2025-02-05
| | | | | | | sf21 contains support for Bananapi BPI-RV2 which is a board available to the general public. Limit the source-only flag to sf19a2890 instead. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* siflower: sf19a2890: refresh kconfigChuanhong Guo2025-02-05
| | | | | | | update kconfig for symbols from the newly added subtarget Link: https://github.com/openwrt/openwrt/pull/17115 Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* siflower: sf21: add support for Bananapi BPI-RV2Chuanhong Guo2025-02-05
| | | | | | | | | | | | | | | | | | | | | | Specification: - Siflower SF21H8898 - 512MB DDR3, 128MB SPI-NAND and 16MB SPI-NOR - 5x Gigabit ports (SF23P1240 QSGMII PHY and SF23P1211F RGMII PHY) - 1x 2.5G port (Airoha EN8811H PHY) - M.2 Key B slot with USB2.0, PCIEx1 and a NanoSIM card slot - MiniPCIe slot with USB2.0 and PCIEx1 - 1x USB2.0 port through USB Hub - PCF8563-compatible RTC The SoC can only boot from SPI0. Two SPI flash chipselects are connected to GPIO5 (SPI0 CS) and GPIO36 through a 2x2 jumper. It boots from SPI-NOR or SPI-NAND depending on how the jumpers are connected. The firmware can be flashed using U-boot web recovery from Siflower vendor U-boot. Link: https://github.com/openwrt/openwrt/pull/17115 Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* siflower: sf21: new subtarget for sf21a6826/sf21h8898Chuanhong Guo2025-02-05
| | | | | | | | | | | | | | | | | Siflower SF21A6826/SF21H8898 are a family of RISC-V SoCs with: * Quad-core T-Head C908 (1.125G for SF21A6826, 1.25G for SF21H8898) * DDR3/DDR4 memory controller * 1 QSGMII 4x1G * 1 SGMII/2500Base-X 2.5G * 1 additional RGMII on SF21H8898 * Network offloading engine for L2 switching and L3 NAT * 2 PCIE Gen2 lanes, operating in either one PCIE Gen2x2 or two PCIE Gen2x1 mode * 1 USB2.0 Link: https://github.com/openwrt/openwrt/pull/17115 Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* siflower: add ngpios property to gpio-siflowerChuanhong Guo2025-02-05
| | | | | | | | | The same GPIO controller is found on all current Siflower SoCs, with different number of GPIOs. Add ngpios property instead of specifying it with dt match data. Link: https://github.com/openwrt/openwrt/pull/17115 Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* siflower: add per-subtarget image makefileChuanhong Guo2025-02-05
| | | | | | | | Move SF19A2890 images into a separated .mk in preparation for more subtargets. Link: https://github.com/openwrt/openwrt/pull/17115 Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* Revert "ramips: mt7620: fix patching mac address in caldata"Hauke Mehrtens2025-02-04
| | | | | | | | | | | | This reverts commit 3295f6f1c254cd7e5e5285a05581bf6abbde8999. It looks like the eeprom gets broken after this change. I think this change was not tested on a real device before it was merged. The MAC addresses will be broken again after this revert. Fixes: #17818 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mediatek: refresh adtran nvmem patchChuanhong Guo2025-02-03
| | | | | | | | This patch fails to apply due to the recently introduced ascii nvmem driver. Manually refresh it. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* ipq806x: make use of ASCII env NVMEM driver for Linksys EAX devicesChristian Marangi2025-02-03
| | | | | | | | | | | | Make use of ASCII env NVMEM driver for Linksys EAX devices. This also fix a problem with Linksys EAX devices where the 2 MAC interface had the same MAC address causing a conflicts with FDB entry. This got much more present with the DSA conversion making the system not usable. To fix this, increment + 1 the MAC address for the WAN interface. Link: https://github.com/openwrt/openwrt/pull/17839 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: add pending support for NVMEM ASCII ENV layout driverChristian Marangi2025-02-03
| | | | | | | | | | | | | | Add pending patch to support NVMEM ASCII ENV layout driver. This is a generic driver to handle simple NVMEM partition that store environment in a simple text format. This is the case for Linksys devinfo partition that are litterally txt file with format "name=value\n" Such driver works similar to u-boot,env with a similar format. While at it also introduce a patch to generalize mac-base handling for also other layout driver. Link: https://github.com/openwrt/openwrt/pull/17839 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: fix broken WAN on Linksys EAX and Asrock G10Christian Marangi2025-02-03
| | | | | | | | | | | | Fix broken WAN on Linksys EAX and Asrock G10 by incrementing the WAN interface MAC address + 1. This caused conflicting entry in the FDB table and caused the WAN port to malfunction with the DSA conversion. Fixes: #17157 Fixes: #15585 Fixes: #16604 Link: https://github.com/openwrt/openwrt/pull/17839 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ramips: fix xtal clock registration issue on RT3883Shiji Yang2025-02-02
| | | | | | | | | | The redundant xtal clock source caused clock registration failure. Link: https://lore.kernel.org/all/20250108093636.265033-1-sergio.paracuellos@gmail.com/ Fixes: https://github.com/openwrt/openwrt/issues/17677 Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/17830 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mediatek: mt7622: fix SATA on BPi-R64Daniel Golle2025-02-01
| | | | | | | | | | | | | Two commits which made their way into Linux stable broke the SATA support on the BPi-R64. Fix this by reverting a node rename which broke DT-overlay application and import a (still pending) patch re-adding the 'syscon' compatible to the pciesys clock-controller which also contains phy-mode bits referenced by the ahci_mtk driver expecting to access them using syscon_regmap_lookup_by_phandle(). Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mvebu: fix kmod for switch on wrt32x / venomKabuli Chana2025-02-01
| | | | | | | | | commit eaa82118ead missed kmod change for wrt32x Fixes: eaa82118eadf ("mvebu: Switch to use a module for mv88e6xxx") Signed-off-by: Kabuli Chana <newtownBuild@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17793 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* generic: 6.6: backport upstream r8169 patchesÁlvaro Fernández Rojas2025-01-31
| | | | | | | | | | | | | | | | | | | b11bff90f2ad r8169: add support for RTL8125BP rev.b b3593df26ab1 r8169: add support for RTL8125D rev.b b299ea006928 r8169: adjust version numbering for RTL8126 bb18265c3aba r8169: remove support for chip version 11 2e20bf8cc057 r8169: remove unused flag RTL_FLAG_TASK_RESET_NO_QUEUE_WAKE e340bff27e63 r8169: copy vendor driver 2.5G/5G EEE advertisement constraints The EEE advertisement patch has been reworked for linux v6.6 because phy_set_eee_broken() is only present on linux >= v6.13 and eee_broken_modes declaration has been converted to a bitmap, so linkmode_set_bit() can't be used either. https://github.com/torvalds/linux/commit/e340bff27e63ed61a1e9895bed546107859e48a7 https://github.com/torvalds/linux/commit/ed623fb8e38e2a241da12864778ec9c9cf930c65 https://github.com/torvalds/linux/commit/721aa69e708b7432af83c4bb00a30e2b7c27da28 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mediatek: filogic: fix 2.5G phy compatible for WR3000HJuan Pedro Paredes Caballero2025-01-31
| | | | | | | | | | | | | | Following the initial support of the Cudy WR3000H with PHY C22 for the 2.5G WAN interface, several improvements fixing issues with RealTek RTL8221B PHYs have been merged. Therefore we can now bring the DT in line with other equipment and declare the 2.5G WAN PHY as C45. Fixes: 9d66b8b ("mediatek: filogic: Add support for cudy wr3000h") Signed-off-by: Juan Pedro Paredes Caballero <juanpedro.paredes@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17739 [reword commit description] Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* generic: net: phy: realtek: work-around hang on SerDes setupDaniel Golle2025-01-30
| | | | | | | | | | | | | | | | | | | | | On some but not all devices using the RTL8221B 2.5GBit/s PHY the SerDes setup sequence may hang under some circumstances (eg. <2500M link partner present during boot). RTL8221B-VB-CG 2.5Gbps PHY (C45) mdio-bus:01: rtl822xb_config_init failed: -110 Work-around the issue by performing a hardware reset and subsequent retry of the SerDes setup, which seems to always succeed. Doing this requires moving ALDPS setup to config_init (which is anyway the better place for that) as it otherwise doesn't survive the reset. Also disable listening on MDIO address 0 which may be used by other PHYs despite being spec'ed as "broadcast address", as bus activity on address 0 may otherwise confuse the RealTek PHY for good reasons. Tested-by: Luis Mita <luis@luismita.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: fix TUF-AX4200 WAN LEDJan Hoffmann2025-01-30
| | | | | | | | | | | | | | With the current LED configuration using "mxl,led-config", the WAN LED stops working after the interface is brought down and up again. Since the driver also properly supports PHY LEDs now, switch to that instead. This makes the LED work properly, but requires configuration from userspace. Fixes: #17782 Signed-off-by: Jan Hoffmann <jan@3e8.eu> Link: https://github.com/openwrt/openwrt/pull/17785 Signed-off-by: Robert Marko <robimarko@gmail.com>
* x86: Add kmod-drm-i915 as default packageHauke Mehrtens2025-01-30
| | | | | | | | | | Add kmod-drm-i915 to the default packages. It was build into the kernel before and is now build as a kernel module. Fixes: 77cfe8fd15d3 ("x86: make i915 as a kmod with required firmware") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Link: https://github.com/openwrt/openwrt/pull/17781 Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: ipq807x: Remove OEM UBI volume before upgrade for Linksys MX devicesPaweł Owoc2025-01-29
| | | | | | | | | | 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>
* qualcommax: ipq807x: Update u-boot env only when changes for Linksys MX devicesPaweł Owoc2025-01-29
| | | | | | | | | 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>
* qualcommax: ipq807x: Add ability to perform upgrade on current partition for ↵Paweł Owoc2025-01-29
| | | | | | | | | | | 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>
* realtek: add PoE enable line to Netgear GS110TPPSander Vanheule2025-01-28
| | | | | | | | | | | | | | 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. Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: Switch ApresiaLightGS120GT-SS RTL8231 driverSander Vanheule2025-01-28
| | | | | | | | | | | | 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). Signed-off-by: Sander Vanheule <sander@svanheule.net>
* bmips: shg2500: add missing led controller cellsÁlvaro Fernández Rojas2025-01-28
| | | | | | | | | Fixes the following DT warnings: ../dts/bcm63168-sercomm-shg2500.dts:76.4-14: Warning (reg_format): /ubus/spi@10001000/led-controller@1/led@1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) ../dts/bcm63168-sercomm-shg2500.dts:75.9-78.5: Warning (avoid_default_addr_size): /ubus/spi@10001000/led-controller@1/led@1: Relying on default #address-cells value ../dts/bcm63168-sercomm-shg2500.dts:75.9-78.5: Warning (avoid_default_addr_size): /ubus/spi@10001000/led-controller@1/led@1: Relying on default #size-cells value Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* realtek: switch RTL8231 driver for D-Link DGS-1210Sander Vanheule2025-01-28
| | | | | | | | | | | 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. Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: Switch DGS-1210-10P DTS to gpio.dtsiSander Vanheule2025-01-28
| | | | | | | | | | | | | 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>
* realtek: Drop unused property on DGS-1210 gpio0Sander Vanheule2025-01-28
| | | | | | | | 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. Signed-off-by: Sander Vanheule <sander@svanheule.net>
* apm821xx: NETGEAR WNDR4700: Fix compat versionHauke Mehrtens2025-01-27
| | | | | | | | | | | | | | | | | 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 Fixes: 5815884c3a2a ("apm821xx: migrate to DSA") Link: https://forum.openwrt.org/t/openwrt-24-10-0-rc6-sixth-release-candidate/222466/43 Link: https://github.com/openwrt/openwrt/pull/17741 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* stm32: enable CONFIG_SMSC_PHYThomas Richard2025-01-27
| | | | | | | | | 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>
* generic: add missing CONFIG_LEDS_ST1202 symbolRobert Marko2025-01-27
| | | | | | | | | 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>