aboutsummaryrefslogtreecommitdiff
path: root/target
Commit message (Collapse)AuthorAge
...
* mxs: switch default to 6.6Zoltan HERPAI2024-04-25
| | | | | | Switch the default kernel to 6.6. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* mpc85xx: fix address config for ws-ap3825iMartin Kennedy2024-04-25
| | | | | | | | | | | | | | | | | | | | | | In commit 6a8b83159389 ("mpc85xx: p1010: change wrapper address of simple image devices"), we adjusted the wrapper address in the recipe code for all mpc85xx simpleimage devices, including the Extreme Networks WS-AP3825i. However, we did not also adjust the KERNEL_LOADADDR and KERNEL_ENTRY config values for this board. This broke the simpleimage wrapper loader, causing GitHub issue #15237. Adjust those config values so we go back to pointing at the right address. We don't exactly need the memory, but it's also not exactly a punishment in this case. Run-tested on a ws-ap3825i. Fixes: commit 6a8b83159389 ("mpc85xx: p1010: change wrapper address of simple image devices") Tested-by: Martin Kennedy <hurricos@gmail.com> Signed-off-by: Martin Kennedy <hurricos@gmail.com>
* mediatek: sync cpufreq support with changed compatible stringDaniel Golle2024-04-24
| | | | | | | | | The compatible string for the MediaTek MT7988 SoC ended up being 'mediatek,mt7988a' instead of 'mediatek,mt7988' in the now upstream dtsi. Adapt the cpufreq driver so support for frequency scaling is again usable. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: 6.1, 6.6: mt7530: import pending patchesDaniel Golle2024-04-24
| | | | | | | | | | | | | | | | | | | | net: dsa: mt7530: explain exposing MDIO bus of MT7531AE better net: dsa: mt7530: do not pass port variable to mt7531_rgmii_setup() net: dsa: mt7530: use priv->ds->num_ports instead of MT7530_NUM_PORTS net: dsa: mt7530: get rid of mac_port_validate member of mt753x_info net: dsa: mt7530: refactor MT7530_PMEEECR_P() net: dsa: mt7530: get rid of function sanity check net: dsa: mt7530: define MAC speed capabilities per switch model net: dsa: mt7530: return mt7530_setup_mdio & mt7531_setup_common on error net: dsa: mt7530: move MT753X_MTRAP operations for MT7530 net: dsa: mt7530: refactor MT7530_HWTRAP and MT7530_MHWTRAP net: dsa: mt7530: refactor MT7530_MFC and MT7531_CFC, add MT7531_QRY_FFP net: dsa: mt7530: rename mt753x_bpdu_port_fw enum to mt753x_to_cpu_fw net: dsa: mt7530: rename p5_intf_sel and use only for MT7530 switch net: dsa: mt7530: refactor MT7530_PMCR_P() net: dsa: mt7530: disable EEE abilities on failure on MT7531 and MT7988 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: 6.1, 6.6: mt7530: import accepted patchesDaniel Golle2024-04-24
| | | | | | | | | | | | | Import patches for the MT7530 DSA driver from net-next tree: cae425cb43fe net: dsa: allow DSA switch drivers to provide their own phylink mac ops dd0c9855b413 net: dsa: introduce dsa_phylink_to_port() 7c5e37d7ee78 net: dsa: mt7530: simplify core operations 868ff5f4944a net: dsa: mt7530-mdio: read PHY address of switch from device tree 2c606d138518 net: dsa: mt7530: fix port mirroring for MT7988 SoC switch d59cf049c837 net: dsa: mt7530: fix mirroring frames received on local port 62d6d91db98a net: dsa: mt7530: provide own phylink MAC operations Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: mt7530: move accepted patches to backport-6.{1,6}Daniel Golle2024-04-24
| | | | | | | Move two accepted patches for the MT7530 DSA driver from pending-6.{1,6} to backport-6.{1,6}. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: correct address of MT753x switch ICDaniel Golle2024-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For all boards currently working with the mt7530 DSA driver we can be sure that the address of the switch on the MDIO bus is 31 -- simply because that address is hard-coded in the driver and the address from the Device Tree is being ignore. An upcoming patch will add support for MT753x ICs which are programmed to addresses different from 0x1f using bootstrap pins. As a result the address from the Device Tree will then be taken into account, which will break currently working boards which got the address set to anything else than 31. While at it also unify the syntax in Device Tree to always us a decimal value for the 'reg' property. * mt7622-buffalo-wsr-3200ax4s.dts Cosmetic change 'reg = <0x1f>' -> 'reg = <31>' * mt7622-dlink-eagle-pro-ai-ax3200-a1.dtsi Wrong address: 0 -> 31 * mt7622-elecom-wrc-x3200gst3.dts Wrong address: 0 -> 31 * mt7622-linksys-e8450.dtsi Wrong address: 0 -> 31 * mt7622-ruijie-rg-ew3200.dtsi Wrong address: 0 -> 31 * mt7622-xiaomi-redmi-router-ax6s.dts Wrong address: 0 -> 31 * mt7629-iptime-a6004mx.dts Wrong address: 2 -> 31 * mt7981b-zbtlink-zbt-z8102ax.dts Cosmetic change 'reg = <0x1f>' -> 'reg = <31>' Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: drop targetNick Hainke2024-04-24
| | | | | | | | | The Upstream Linux community has discontinued support for the target. Maintaining support for it downstream would require too much effort. Moreover, it seems that the supported hardware is no longer deemed worthy of it. Signed-off-by: Nick Hainke <vincent@systemli.org>
* mediatek: mt7988a: sync dts compatible stringDaniel Golle2024-04-24
| | | | | | | | | Use 'mediatek,mt7988a' instead of 'mediatek,mt7988' as compatible string to be in-sync with upstream and no longer break the cpufreq driver which was also kept in sync with upstream. Fixes: 56dd6b473b ("mediatek: sync cpufreq support with changed compatible string") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* bcm53xx: 6.6: fix ASM cache workaround linkingRobert Marko2024-04-23
| | | | | | | | | | | | | | Kernel 6.6 checks for orphan sections and prints a warning about them, which in turn will make CI fails as we have Werror enabled there. Issue is that cache-v7-min.S produces .init.text section which is an orphan section since it is not being handled by the vmlinux.lds.S linker script. So, lets put the generated .init.text section under .text. Fixes: f0d8ce4f482c ("bcm53xx: add testing support for kernel 6.6") Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: bump 6.6 to 6.6.28John Audia2024-04-23
| | | | | | | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.28 Removed upstream: pending-6.6/796-net-dsa-mt7530-trap-link-local-frames-regardless-of-.patch All oither patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.28&id=8b6c4b62582606c62074a7e7c64156f56d2785f2 Build system: x86/64 Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <therealgraysky@proton.me>
* x86: generic: config-6.6: add/remove default symsJohn Audia2024-04-23
| | | | | | | | Add new default and remove deprecated symbols introduced by 6.6.28[1] 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/arch/x86/Kconfig?id=v6.6.28&id2=v6.6.27 Signed-off-by: John Audia <therealgraysky@proton.me>
* qualcommax: ipq807x: use ath11k_patch_mac for RAX120v2Paweł Owoc2024-04-23
| | | | | | Use ath11k_patch_mac and ath11k_set_macflag functions for RAX120v2 (pre-caldata does not contain valid MAC addresses) Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
* qualcommax: ipq807x: use ath11k_patch_mac and ath11k_remove_regdomain for MX4200Paweł Owoc2024-04-23
| | | | | | | Use ath11k_patch_mac, ath11k_remove_regdomain and ath11k_set_macflag functions for MX4200 (only v2 variant requires MAC patching) Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
* ipq807x: add Spectrum SAX1V1KConnor Yoon2024-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Spectrum SAX1V1K is a AX WIFI router with 3 1G and 1 2.5G ports. The router is provided to Spectrum customers. It is OEM of Askey RT5010W https://forum.openwrt.org/t/spectrum-sax1v1k-askey-rt5010w-openwrt-support/149923 It continues the original work by @MeisterLone to get this device supported. Specifications: ``` • CPU: Qualcomm IPQ8072A Quad core Cortex-A53 2.2GHz • RAM: 2048MB of DDR3 • Storage: 1024MB eMMC • Ethernet: 3x 1G RJ45 ports (QCA8075) + 1 2.5G Port (QCA8081) • WLAN: • 2.4GHz: Qualcomm QCN5024 4x4 802.11b/g/n/ax 1174 Mbps PHY rate • 5GHz: Qualcomm QCN5054 4x4 802.11a/b/g/n/ac/ax 2402 PHY rate • LED: 1 gpio-controlled dual color led (blue/red) • Buttons: 1x reset • Power: 12V DC jack ``` Notes: ``` • This commit adds only single partition support, that means sysupgrade is upgrading the current rootfs partition. • Installation can be done by serial connection only. • A poulated serial header is onboard https://forum.openwrt.org/t/spectrum-sax1v1k-askey-rt5010w-openwrt-support/149923/6 • RX/TX is working, u-boot bootwait is active, secure boot is enabled. ``` Installation Instructions: **Most part of the installation is performed from an initramfs image.** Boot initramfs : Using serial connection 1. Boot up the device and wait till it displays "VERIFY_IB: Success. verify IB ok" 2. Once that message appears, login with username 'root' password serial number of your router in uppercase. 3. Use vi to paste the 'open.sh' script from @MeisterLone github on your device https://github.com/MeisterLone/Askey-RT5010W-D187-REV6/blob/master/Patch/open.sh 4. chmod 755 open.sh 5. ./open.sh 6. Set your ip to 192.168.0.1 7. Run a TFTP server and host the initramfs image on the TFTP server and name it "recovery.img" 8. Reboot device. On boot it will try TFTP. Install OpenWrt from initramfs image: 1. Use SCP (or other way) to transfer OpenWrt factory image 2. Connect to device using SSH (on a LAN port) 3. Flash firmware: sysupgrade # sysupgrade -n -v /tmp/openwrt_sysupgrade.bin 4. Set U-boot env variable: bootcmd # fw_setenv bootcmd "run fix_uboot; run setup_and_boot" 5. Reboot the device # reboot 6. Once device is booted, residue of previous firmware will prevent openwrt to work properly. Factory Reset is MUST required # Once serial console is displaying to login, hold reset button for 10 sec 7. Now everything should be operational. Note: this PR adds only single partition support, that means sysupgrade is upgrading the current rootfs partition Signed-off-by: Connor Yoon <j_connor@taliaent.com>
* generic: 5.15: refresh kernel patchesChristian Marangi2024-04-22
| | | | | | Refresh kernel patches with make target/linux/refresh. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* pistachio: 6.1: refresh kernel patchesChristian Marangi2024-04-22
| | | | | | Refresh kernel patches with make target/linux/refresh. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 5.15: fix broken BoHong bh25q128as patchChristian Marangi2024-04-22
| | | | | | | | Fix broken BoHong bh25q128as patch that used wrong define for kernel 5.15. Fixes: 4cb814d403bb ("generic: 5.15: Make support for BoHong bh25q128as generic") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* at91: 6.1: set testing kernelNick Hainke2024-04-22
| | | | | | | Allow selecting 6.1 as testing kernel on at91. Tested-by: Claudiu Beznea <claudiu.beznea@tuxon.dev> Signed-off-by: Nick Hainke <vincent@systemli.org>
* at91: 6.1: update kernel configNick Hainke2024-04-22
| | | | | | Update the kernel config by running make kernel_oldconfig. Signed-off-by: Nick Hainke <vincent@systemli.org>
* at91: 6.1: import patch to fix pinctrl unused function warningNick Hainke2024-04-22
| | | | | | | | | | | | | | Fixes error in the form of [0]: drivers/pinctrl/pinctrl-at91.c:1668:12: error: 'at91_gpio_resume' defined but not used [-Werror=unused-function] 1668 | static int at91_gpio_resume(struct device *dev) | ^~~~~~~~~~~~~~~~ drivers/pinctrl/pinctrl-at91.c:1650:12: error: 'at91_gpio_suspend' defined but not used [-Werror=unused-function] 1650 | static int at91_gpio_suspend(struct device *dev) | ^~~~~~~~~~~~~~~~~ [0] - https://lore.kernel.org/all/20221215164301.934805-1-arnd@kernel.org/ Signed-off-by: Nick Hainke <vincent@systemli.org>
* at91: 6.1: remove upstreamed patchesNick Hainke2024-04-22
| | | | | | Remove the upstreamed patches. Signed-off-by: Nick Hainke <vincent@systemli.org>
* kernel/at91: Restore kernel files for v5.15Nick Hainke2024-04-22
| | | | | | | | | | This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. See: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html for the original discussion. Signed-off-by: Nick Hainke <vincent@systemli.org>
* kernel/at91: Create kernel files for v6.1 (from v5.15)Nick Hainke2024-04-22
| | | | | | | | This is an automatically generated commit. When doing `git bisect`, consider `git bisect --skip`. Signed-off-by: Nick Hainke <vincent@systemli.org>
* kernel: backport ipeth CDC NCM supportGeorgi Valkov2024-04-21
| | | | | | | | | | | | | | | Fixes no communication with tethered iOS devices in CDC NCM mode. Freshly booted iOS devices start in legacy mode, but are put into NCM mode by the official Apple driver. [1] https://github.com/torvalds/linux/commit/a2d274c62e44b1995c170595db3865c6fe701226 Fixes: #12566 Tested-by: Georgi Valkov <gvalkov@gmail.com> Signed-off-by: Foster Snowhill <forst@pen.gy> Signed-off-by: Georgi Valkov <gvalkov@gmail.com> [ better reference fixed issue ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 5.15: Make support for BoHong bh25q128as genericR Maru2024-04-21
| | | | | | | | | | | | | | | Move the patch for BoHong bh25q128as out of ramips to make it generic. Not including 6.1.y since the mtd subsystem has changed, and does not need these changes. Patch was dropped with ramips updating to 6.1, hence we reintroudce it here for 5.15 generic. 5.15.y functionality was verified on a Wavlink WL-WN586X3 Rev.a. Signed-off-by: R Maru <deviantmaru@gmail.com> [ rebase and add extra info in commit description ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.1: backport support for generic spi-nor from SFDP dataChristian Marangi2024-04-21
| | | | | | | | | | | | | Backport patches for support of generic spi-nor from SFDP data for kernel 6.1. Kernel 5.15 have major rework of the info flags and it's not trustable to backport this amount of changes and expect correct function of it. All affected patches automatically refreshed using make target/linux/refresh. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* sunxi: move KERNEL_LOADADDR into subtargetsZoltan HERPAI2024-04-19
| | | | | | | As preparation for the arm926ej-s support which has a different load address, move the KERNEL_LOADADDR into the subtargets. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* sunxi: move fpu feature flag into the subtargetsZoltan HERPAI2024-04-19
| | | | | | | As the upcoming arm926ej-s does not have an FPU, move this flag into the subtargets. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* sifiveu: 6.6: set testing kernelZoltan HERPAI2024-04-19
| | | | | | | | Allow selecting 6.6 as testing kernel on sunxi. Runtime-tested: SiFive Unleashed Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* sifiveu: 6.6: refresh patchesZoltan HERPAI2024-04-19
| | | | | | Refresh kernel patches. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel/sifiveu: Restore kernel files for v6.1Zoltan HERPAI2024-04-19
| | | | | | | | | | This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. See: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html for the original discussion. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel/sifiveu: Create kernel files for v6.6 (from v6.1)Zoltan HERPAI2024-04-19
| | | | | | | | This is an automatically generated commit. During a `git bisect` session, `git bisect --skip` is recommended. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* mxs: add kernel 6.6 as testingZoltan HERPAI2024-04-19
| | | | | | Add new LTS kernel support. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* mxs: adjust DTS path for 6.6Zoltan HERPAI2024-04-19
| | | | | | | For the ARM arch on 6.6, DTS files are moved into their vendor directories, mimicking arm64. Reflect this in the image Makefile. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* mediatek: backport PWM driversDaniel Golle2024-04-19
| | | | | | | * MT7981 and MT7988 backported to Linux 6.1 * MT7988 backported to Linux 6.6 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* qoriq: add kernel 6.1 supportStijn Tintel2024-04-18
| | | | | | | Add support for kernel 6.1 as testing kernel for qoriq. Refresh config using `make kernel_oldconfig`. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel/qoriq: Restore kernel files for v5.15Stijn Tintel2024-04-18
| | | | | | | | | | This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. See: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html for the original discussion. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel/qoriq: Create kernel files for v6.1 (from v5.15)Stijn Tintel2024-04-18
| | | | | | | | This is an automatically generated commit. When doing `git bisect`, consider `git bisect --skip`. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* qoriq: refresh kernel 5.15 configStijn Tintel2024-04-18
| | | | | | Done with `make kernel_oldconfig`. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* ipq807x: add support for Zbtlink ZBT-Z800AXChukun Pan2024-04-17
| | | | | | | | | | | | | | | | | | | Hardware specifications: SoC: Qualcomm IPQ8072A RAM: 1GB of DDR4 600MHz Flash1: Winbond W25Q64DW 8MB Flash2: MX30UF2G28AD 256MB WiFi1: QCN5024 2.4GHz AX 4x4 WiFi2: QCN5054 5GHz AX 4x4 Ethernet: 5x 1G RJ45 port USB: 2x USB 3.0 (1x M.2) Button: Reset, WPS Flash instructions: Upload factory.bin in stock firmware's upgrade page, do not preserve settings. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* sunxi: fix network bringup on Olinuxino Micro boardsZoltan HERPAI2024-04-17
| | | | | | | It's the A13-based Olinuxino Micro which has only wireless interfaces. The A20-based board is a fully-fledged one which has an ethernet interface. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: bump 5.15 to 5.15.155Hauke Mehrtens2024-04-16
| | | | | | | | Manual adapted the following patches: generic/hack-5.15/221-module_exports.patch octeontx/patches-5.15/0004-PCI-add-quirk-for-Gateworks-PLX-PEX860x-switch-with-.patch Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ipq40xx: whw03v2: enable additional 5 GHz channelsRodrigo Balerdi2024-04-16
| | | | | | | | This device supports channel ranges 36-64 and 100-165, just like others based on the same reference design, but its current DTS is unnecessarily restricting these ranges to 36-48 and 149-165. Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
* sunxi: update a13-olimex-som DTS pathZoltan HERPAI2024-04-16
| | | | | | | | In preparation for supporting kernel 6.6, where the DTS files are grouped into vendors - similarly to what arm64 has been doing all along -, update the SUNXI_DTS var of this board to prepend it with SUNXI_DTS_DIR. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* pistachio: remove 5.15 supportZoltan HERPAI2024-04-16
| | | | | | Now that 6.1 is default, remove 5.15 support. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* pistachio: default to kernel 6.1Zoltan HERPAI2024-04-16
| | | | | | | 6.1 has been present as testing for some time now, so switch the default to it. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: Add missing config optionHauke Mehrtens2024-04-15
| | | | | | | | | | Kernel 6.1.83 allows to select CONFIG_GPIO_VF610, deactivate it by default. This fixes compilation of the armsr/armv8 target. Fixes: 2ad898e091cb ("kernel: bump 6.1 to 6.1.83") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: Add support for D-Link DIR-3040 A1Vince McKinsey2024-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for the A1 hardware revision of the DIR-3040. It is an exact copy of the DIR-3060 save for some cosmetic changes to the housing. Even going so far as having the same FCC ID. Hardware specification: SoC: MediaTek MT7621AT Flash: Winbond W29N01HVSINA 128MB RAM: Micron MT41K128M16JT-125 256MB Ethernet: 5x 10/100/1000 Mbps WiFi1: MT7615DN 2.4GHz N 2x2:2 WiFi2: MT7615DN 5GHz AC 2x2:2 WiFi3: MT7615N 5GHz AC 4x4:4 Button: WPS, Reset Flash instructions: OpenWrt can be installed via D-Link Recovery GUI: NOTE: Seems to only work in Firefox on Windows. Tried with Chrome on Windows, Firefox in Linux, and Chromium in Linux. None of these other browsers worked. 1. Push and hold reset button (on the bottom of the device) until power led starts flashing (about 10 secs or so) while plugging in the power cable. 2. Give it ~30 seconds, to boot the recovery mode GUI 3. Connect your client computer to LAN1 of the device 4. Set your client IP address manually to 192.168.0.2 / 255.255.255.0. 5. Call the recovery page for the device at http://192.168.0.1/ 6. Use the provided emergency web GUI to upload and flash a new firmware to the device Thanks to @Lucky1openwrt and @iivailo for creating the DIR-3060 DTS file and related changes, so it was possible for me to adapt them to the DIR-3040, build images, test and fix minor issues. MAC Addresses: | use | address | example | | --- | --- | --- | | LAN | label | f4:*:61 | | WAN | label + 4 | f4:*:65 | | WI1/2g | label + 2 | f4:*:63 | | WI1/5g | label + 1 | f4:*:62 | | WI2/5g | label + 3 | f4:*:64 | The label MAC address was found in Factory, 0xe000 Checklist: ✓ nand ✓ ethernet ✓ button ✓ wifi2g ✓ wifi5g ✓ wifi5g ✓ mac ✓ led Signed-off-by: Vince McKinsey <vincemckinsey@gmail.com>
* mvebu: fix LEDs on IIJ SA-W2INAGAKI Hiroshi2024-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On IIJ SA-W2, some multiple LEDs have no "function" property and only "color" property is available for the newer binding of LED on Linux Kernel. 9d93b6d091 ("mvebu: drop redundant label with new LED color/function format") removes "label" property from LEDs, then, multiple "<color>:" (ex.: "green:"/"red:") will be appeared and renamed to "<color>:_<num>" (ex.: "green:_1", "green:_2", ...) by kernel. log: [ 1.911118] leds-gpio leds: Led green: renamed to green:_1 due to name collision [ 1.918600] leds-gpio leds: Led red: renamed to red:_1 due to name collision [ 1.925727] leds-gpio leds: Led green: renamed to green:_2 due to name collision [ 1.933202] leds-gpio leds: Led red: renamed to red:_2 due to name collision [ 1.940321] leds-gpio leds: Led green: renamed to green:_3 due to name collision [ 1.947797] leds-gpio leds: Led red: renamed to red:_3 due to name collision [ 1.954939] leds-gpio leds: Led green: renamed to green:_4 due to name collision [ 1.962456] leds-gpio leds: Led green: renamed to green:_5 due to name collision /sys/class/leds: root@OpenWrt:/# ls /sys/class/leds/ green: green:_3 green:status red:_2 green:_1 green:_4 red: red:_3 green:_2 green:_5 red:_1 red:status Fix this issue by adding missing "function" (and "function-enumerator") property to those LEDs on IIJ SA-W2. Fixes: 9d93b6d091 ("mvebu: drop redundant label with new LED color/function format") Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>