summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/ALL0256N-4M.dts
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-09 14:19:24 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-09 14:19:24 +0000
commitaf6f122ebdc85469a44781f807b7a808190792aa (patch)
treeefcb7d09055fa2fc0e7badbf6a294cfb5f340c43 /target/linux/ramips/dts/ALL0256N-4M.dts
parent6c2dd85ba63e1177de338747a1bcd5321da589b6 (diff)
[ramips] add ofpart info to the devicetrees
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36287 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/dts/ALL0256N-4M.dts')
-rw-r--r--target/linux/ramips/dts/ALL0256N-4M.dts23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/ALL0256N-4M.dts b/target/linux/ramips/dts/ALL0256N-4M.dts
index 63810f55df..47fec21af8 100644
--- a/target/linux/ramips/dts/ALL0256N-4M.dts
+++ b/target/linux/ramips/dts/ALL0256N-4M.dts
@@ -34,6 +34,29 @@
reg = <0 0>;
linux,modalias = "m25p80", "mx25l3205d";
spi-max-frequency = <10000000>;
+
+ partition@0 {
+ label = "u-boot";
+ reg = <0x0 0x30000>;
+ read-only;
+ };
+
+ partition@30000 {
+ label = "u-boot-env";
+ reg = <0x30000 0x10000>;
+ read-only;
+ };
+
+ factory: partition@40000 {
+ label = "factory";
+ reg = <0x40000 0x10000>;
+ read-only;
+ };
+
+ partition@50000 {
+ label = "firmware";
+ reg = <0x50000 0x3c8000>;
+ };
};
};
};