2013-12-13 10:53:34 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
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";
|
2013-12-13 10:53:34 +00:00
|
|
|
|
|
|
|
chosen {
|
|
|
|
bootargs = "console=ttyS0,57600";
|
|
|
|
};
|
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";
|
|
|
|
};
|
|
|
|
|
|
|
|
&pinctrl {
|
|
|
|
state_default: pinctrl0 {
|
|
|
|
gpio {
|
|
|
|
ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
|
|
|
|
ralink,function = "gpio";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|