2015-12-11 15:02:13 +00:00
|
|
|
#include "mt7621.dtsi"
|
2013-12-13 10:53:34 +00:00
|
|
|
|
|
|
|
/ {
|
2014-11-12 14:55:00 +00:00
|
|
|
compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
|
|
|
|
model = "Mediatek MT7621 evaluation board";
|
2016-11-18 07:39:05 +00:00
|
|
|
};
|
2014-11-15 14:35:32 +00:00
|
|
|
|
2016-11-18 07:39:05 +00:00
|
|
|
&nand {
|
|
|
|
status = "okay";
|
2015-12-12 06:42:11 +00:00
|
|
|
|
2018-08-01 20:32:34 +00:00
|
|
|
partitions {
|
|
|
|
compatible = "fixed-partitions";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
partition@0 {
|
|
|
|
label = "uboot";
|
|
|
|
reg = <0x00000 0x80000>; /* 64 KB */
|
|
|
|
};
|
2015-12-12 06:42:11 +00:00
|
|
|
|
2018-08-01 20:32:34 +00:00
|
|
|
partition@80000 {
|
|
|
|
label = "uboot_env";
|
|
|
|
reg = <0x80000 0x80000>; /* 64 KB */
|
|
|
|
};
|
2015-12-12 06:42:11 +00:00
|
|
|
|
2018-08-01 20:32:34 +00:00
|
|
|
partition@100000 {
|
|
|
|
label = "factory";
|
|
|
|
reg = <0x100000 0x40000>;
|
|
|
|
};
|
2016-05-10 10:41:46 +00:00
|
|
|
|
2018-08-01 20:32:34 +00:00
|
|
|
partition@140000 {
|
|
|
|
label = "rootfs";
|
|
|
|
reg = <0x140000 0xec0000>;
|
|
|
|
};
|
2016-11-18 07:39:05 +00:00
|
|
|
};
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
|
|
|
|
2016-11-18 07:39:05 +00:00
|
|
|
&sdhci {
|
2016-05-10 10:41:46 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2020-03-18 15:38:58 +00:00
|
|
|
&switch0 {
|
|
|
|
ports {
|
|
|
|
port@0 {
|
|
|
|
status = "okay";
|
|
|
|
label = "lan1";
|
|
|
|
};
|
|
|
|
|
|
|
|
port@1 {
|
|
|
|
status = "okay";
|
|
|
|
label = "lan2";
|
|
|
|
};
|
|
|
|
|
|
|
|
port@2 {
|
|
|
|
status = "okay";
|
|
|
|
label = "lan3";
|
|
|
|
};
|
|
|
|
|
|
|
|
port@3 {
|
|
|
|
status = "okay";
|
|
|
|
label = "lan4";
|
|
|
|
};
|
|
|
|
|
|
|
|
port@4 {
|
|
|
|
status = "okay";
|
|
|
|
label = "wan";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-12-22 20:26:01 +00:00
|
|
|
&state_default {
|
|
|
|
gpio {
|
2020-03-13 13:27:03 +00:00
|
|
|
groups = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
|
|
|
|
function = "gpio";
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
|
|
|
};
|