ramips: fix LAN LED trigger assignment for Xiaomi Router 3 Pro
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_mediatek_mt7621-eval-board.dts
1 #include "mt7621.dtsi"
2
3 / {
4 compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
5 model = "Mediatek MT7621 evaluation board";
6 };
7
8 &nand {
9 status = "okay";
10
11 partitions {
12 compatible = "fixed-partitions";
13 #address-cells = <1>;
14 #size-cells = <1>;
15
16 partition@0 {
17 label = "uboot";
18 reg = <0x00000 0x80000>; /* 64 KB */
19 };
20
21 partition@80000 {
22 label = "uboot_env";
23 reg = <0x80000 0x80000>; /* 64 KB */
24 };
25
26 partition@100000 {
27 label = "factory";
28 reg = <0x100000 0x40000>;
29 };
30
31 partition@140000 {
32 label = "rootfs";
33 reg = <0x140000 0xec0000>;
34 };
35 };
36 };
37
38 &sdhci {
39 status = "okay";
40 };
41
42 &switch0 {
43 ports {
44 port@0 {
45 status = "okay";
46 label = "lan1";
47 };
48
49 port@1 {
50 status = "okay";
51 label = "lan2";
52 };
53
54 port@2 {
55 status = "okay";
56 label = "lan3";
57 };
58
59 port@3 {
60 status = "okay";
61 label = "lan4";
62 };
63
64 port@4 {
65 status = "okay";
66 label = "wan";
67 };
68 };
69 };
70
71 &state_default {
72 gpio {
73 groups = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
74 function = "gpio";
75 };
76 };