From af6f122ebdc85469a44781f807b7a808190792aa Mon Sep 17 00:00:00 2001 From: blogic Date: Tue, 9 Apr 2013 14:19:24 +0000 Subject: [ramips] add ofpart info to the devicetrees Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36287 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ramips/dts/ALL5002.dts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'target/linux/ramips/dts/ALL5002.dts') diff --git a/target/linux/ramips/dts/ALL5002.dts b/target/linux/ramips/dts/ALL5002.dts index 7c23fe5175..84fcdaeef9 100644 --- a/target/linux/ramips/dts/ALL5002.dts +++ b/target/linux/ramips/dts/ALL5002.dts @@ -35,6 +35,29 @@ reg = <0 0>; linux,modalias = "m25p80", "mx25l25635e"; 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 0x1fb0000>; + }; }; }; }; -- cgit v1.2.3