From 8fb3d4d8cf42b72617b6845102ffa0e784ab2829 Mon Sep 17 00:00:00 2001 From: John Crispin 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/V22RW-2X2.dts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'target/linux/ramips/dts/V22RW-2X2.dts') diff --git a/target/linux/ramips/dts/V22RW-2X2.dts b/target/linux/ramips/dts/V22RW-2X2.dts index cb4915e162..a167c24d93 100644 --- a/target/linux/ramips/dts/V22RW-2X2.dts +++ b/target/linux/ramips/dts/V22RW-2X2.dts @@ -34,6 +34,29 @@ device-width = <2>; #address-cells = <1>; #size-cells = <1>; + + 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 0x3b0000>; + }; }; ethernet@10100000 { -- cgit v1.2.3