mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
8470e30a76
Partitions defined in parent dtsi cannot be undefined in children. This moves partitions defined in mt7621.dtsi into board's device tree. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> SVN-Revision: 47876
57 lines
863 B
Plaintext
57 lines
863 B
Plaintext
/dts-v1/;
|
|
|
|
#include "mt7621.dtsi"
|
|
|
|
/ {
|
|
compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
|
|
model = "Mediatek MT7621 evaluation board";
|
|
|
|
memory@0 {
|
|
device_type = "memory";
|
|
reg = <0x0 0x2000000>;
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "console=ttyS0,57600";
|
|
};
|
|
|
|
sdhci@10130000 {
|
|
status = "okay";
|
|
};
|
|
|
|
xhci@1E1C0000 {
|
|
status = "okay";
|
|
};
|
|
|
|
pinctrl {
|
|
state_default: pinctrl0 {
|
|
gpio {
|
|
ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
|
|
ralink,function = "gpio";
|
|
};
|
|
};
|
|
};
|
|
|
|
nand@1e003000 {
|
|
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>;
|
|
};
|
|
};
|
|
};
|