summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/MT7621.dts
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-12-12 06:42:11 +0000
committerJohn Crispin <john@openwrt.org>2015-12-12 06:42:11 +0000
commit8470e30a76524aa3afa6f3cc2814de3db097b1cd (patch)
treed24674caf75c7206b7235dc39612b897a4c0fbcd /target/linux/ramips/dts/MT7621.dts
parente610cdfc8ab936ad734cf15a414574b69001b634 (diff)
downloadmaster-31e0f0ae-8470e30a76524aa3afa6f3cc2814de3db097b1cd.tar.gz
master-31e0f0ae-8470e30a76524aa3afa6f3cc2814de3db097b1cd.tar.bz2
master-31e0f0ae-8470e30a76524aa3afa6f3cc2814de3db097b1cd.zip
ramips: move partition definitions out of mt7621.dtsi file
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
Diffstat (limited to 'target/linux/ramips/dts/MT7621.dts')
-rw-r--r--target/linux/ramips/dts/MT7621.dts22
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/MT7621.dts b/target/linux/ramips/dts/MT7621.dts
index fefdb98b86..341d8f2a70 100644
--- a/target/linux/ramips/dts/MT7621.dts
+++ b/target/linux/ramips/dts/MT7621.dts
@@ -31,4 +31,26 @@
};
};
};
+
+ 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>;
+ };
+ };
};