mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
a2c19f1d2f
mt7621 and mt7628 now have the ability to detect memory size automatically. Drop memory nodes and let kernel determine memory size. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
56 lines
844 B
Plaintext
56 lines
844 B
Plaintext
/dts-v1/;
|
|
|
|
#include "mt7621.dtsi"
|
|
|
|
/ {
|
|
compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
|
|
model = "Mediatek MT7621 evaluation board";
|
|
|
|
chosen {
|
|
bootargs = "console=ttyS0,57600";
|
|
};
|
|
};
|
|
|
|
&nand {
|
|
status = "okay";
|
|
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
partition@0 {
|
|
label = "uboot";
|
|
reg = <0x00000 0x80000>; /* 64 KB */
|
|
};
|
|
|
|
partition@80000 {
|
|
label = "uboot_env";
|
|
reg = <0x80000 0x80000>; /* 64 KB */
|
|
};
|
|
|
|
partition@100000 {
|
|
label = "factory";
|
|
reg = <0x100000 0x40000>;
|
|
};
|
|
|
|
partition@140000 {
|
|
label = "rootfs";
|
|
reg = <0x140000 0xec0000>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&sdhci {
|
|
status = "okay";
|
|
};
|
|
|
|
&pinctrl {
|
|
state_default: pinctrl0 {
|
|
gpio {
|
|
ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
|
|
ralink,function = "gpio";
|
|
};
|
|
};
|
|
};
|