ramips: mt7621: add support for Xiaomi Mi Router 4A Gigabit v2 #11803
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Device is the same as Xiaomi Mi Router 4A Gigabit, except of:
Config
partition was added, I'm not sure if we should preserve it, but I did itramips: mt7621-dts: mux phy0/4 to gmac1
does not seem to work for this device. with him on thewan
port there is only Tx traffic, but no Rx. so I didn't add itin this branch, I split
mt7621_xiaomi_mi-router-4a-3g-v2.dtsi
into two files:mt7621_xiaomi_mi-router-4a-common.dtsi
(with common nodes for all4a*
devices) and originalmt7621_xiaomi_mi-router-4a-3g-v2.dtsi
(with only4a-v1
and3g-v2
specific nodes). it was possible to use the original file, but then the configuration for4a-v2
would use hacks, including deleting nodes, so why I added this division.PR based on this work
Signed-off-by: Dmitry Sokolov e323w@proton.me