ramips: use full names for Xiaomi Mi Router devices
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_xiaomi_mi-router-4a-100m.dts
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-4a-100m", "mediatek,mt7628an-soc";
7 model = "Xiaomi Mi Router 4A (100M Edition)";
8 };
9
10 &partitions {
11 partition@60000 {
12 label = "overlay";
13 reg = <0x60000 0x100000>;
14 read-only;
15 };
16
17 partition@160000 {
18 label = "firmware";
19 reg = <0x160000 0xea0000>;
20 compatible = "denx,uimage";
21 };
22 };
23
24 &pcie {
25 status = "okay";
26 };
27
28 &pcie0 {
29 wifi@0,0 {
30 compatible = "mediatek,mt76";
31 reg = <0x0000 0 0 0 0>;
32 mediatek,mtd-eeprom = <&factory 0x8000>;
33 ieee80211-freq-limit = <5000000 6000000>;
34 };
35 };
36
37 &ethernet {
38 mtd-mac-address = <&factory 0x4>;
39 mtd-mac-address-increment = <(-1)>;
40 };
41
42 &esw {
43 mediatek,portmap = <0x3e>;
44 mediatek,portdisable = <0x2a>;
45 };