diff options
author | John Crispin <blogic@openwrt.org> | 2015-12-12 06:42:11 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-12-12 06:42:11 +0000 |
commit | 29761b44fa587aec0893147e054ee60528e6adbe (patch) | |
tree | b2d0891d882e4ded89575be64c46207aaf8e9cd6 /target/linux/ramips | |
parent | 1f0b997cf5f2dc356b004e0f0326b2c2408678de (diff) | |
download | master-187ad058-29761b44fa587aec0893147e054ee60528e6adbe.tar.gz master-187ad058-29761b44fa587aec0893147e054ee60528e6adbe.tar.bz2 master-187ad058-29761b44fa587aec0893147e054ee60528e6adbe.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47876 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips')
-rw-r--r-- | target/linux/ramips/dts/MT7621.dts | 22 | ||||
-rw-r--r-- | target/linux/ramips/dts/mt7621.dtsi | 20 |
2 files changed, 22 insertions, 20 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>; + }; + }; }; diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index 9c6f45b1e0..facc0a382d 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -278,26 +278,6 @@ 0x1e003800 0x800>; #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>; - }; }; ethernet@1e100000 { |