| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later OR MIT |
| 2 | |
| 3 | #include "mt7628an_xiaomi_mi-router-4.dtsi" |
| 4 | |
| 5 | / { |
| 6 | compatible = "xiaomi,mi-router-4c", "mediatek,mt7628an-soc"; |
| 7 | model = "Xiaomi Mi Router 4C"; |
| 8 | |
| 9 | aliases { |
| 10 | label-mac-device = ðernet; |
| 11 | }; |
| 12 | }; |
| 13 | |
| 14 | &flash0 { |
| 15 | spi-max-frequency = <40000000>; |
| 16 | }; |
| 17 | |
| 18 | &partitions { |
| 19 | partition@60000 { |
| 20 | label = "overlay"; |
| 21 | reg = <0x60000 0x100000>; |
| 22 | read-only; |
| 23 | }; |
| 24 | |
| 25 | partition@160000 { |
| 26 | label = "firmware"; |
| 27 | reg = <0x160000 0xea0000>; |
| 28 | compatible = "denx,uimage"; |
| 29 | }; |
| 30 | }; |
| 31 | |
| 32 | &ehci { |
| 33 | status = "disabled"; |
| 34 | }; |
| 35 | |
| 36 | &ohci { |
| 37 | status = "disabled"; |
| 38 | }; |
| 39 | |
| 40 | ðernet { |
| 41 | mtd-mac-address = <&factory 0x28>; |
| 42 | }; |
| 43 | |
| 44 | &esw { |
| 45 | mediatek,portmap = <0x3d>; |
| 46 | mediatek,portdisable = <0x29>; |
| 47 | }; |