Skip to content

ramips: Xiaomi mi-mini: convert to DSA - #26529

Open
AuthorReflex wants to merge 1 commit into
openwrt:mainfrom
AuthorReflex:xiaomi-mi-mini-dsa
Open

AuthorReflex wants to merge 1 commit into
openwrt:mainfrom
AuthorReflex:xiaomi-mi-mini-dsa

Conversation

@AuthorReflex

@AuthorReflex AuthorReflex commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Convert Xiaomi mi-mini device from swconfig to DSA, using the integrated MT7620 switch support added in d0f9d21 ("ramips: mt7620: add DSA support for integrated switch", #24493), as seen in #25881

Changes:

  • mt7620a_xiaomi_miwifi-mini.dts: enable mdio-bus with the three internal ePHYs declared
    (one wan port and two lan ports)
  • mt7620.mk: changed device package set - add DSA kernel module, remove swconfig,
    add device compat version check
  • 01_leds, 02_network: set correct leds && network configuration
  • 05_compat-version: add script for setting compat_version

Tested on real device:

  • no errors in dmesg
  • correct port mapping
  • wan port mac address is unchanged
  • duplex and negotiation work correctly
  • network activity leds work correctly
  • lan bridge with wifi modules work correctly

@openwrt openwrt Bot added not following guidelines Pull request does not follow formatting guidelines target/ramips pull request/issue for ramips target labels Nov 6, 2026
Convert Xiaomi Mi-mini device from swconfig to DSA, using the integrated MT7620 switch
support added in openwrt@d0f9d21
("ramips: mt7620: add DSA support for integrated switch", openwrt#24493)

Changes:
 - mt7620a_xiaomi_miwifi-mini.dts: enable mdio-bus with the three internal ePHYs declared
   (one wan port and two lan ports)
 - mt7620.mk: changed device package set - add DSA kernel module, remove swconfig,
   add device compat version check
 - 01_leds, 02_network: set correct leds && network configuration
 - 05_compat-version: add script for setting compat_version

Signed-off-by: Ivan Pavlov <[email protected]>
@openwrt openwrt Bot removed the not following guidelines Pull request does not follow formatting guidelines label Nov 6, 2026
@AuthorReflex
AuthorReflex marked this pull request as ready for review November 9, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

target/ramips pull request/issue for ramips target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant