From 82c3b7ce2669e44619adbdfa9b26113aa12ef2c0 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 9 Apr 2013 14:19:24 +0000 Subject: add ofpart info to the devicetrees Signed-off-by: John Crispin SVN-Revision: 36287 --- target/linux/ramips/dts/WL_330N.dts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'target/linux/ramips/dts/WL_330N.dts') diff --git a/target/linux/ramips/dts/WL_330N.dts b/target/linux/ramips/dts/WL_330N.dts index 2ff002b8dd..70b804835a 100644 --- a/target/linux/ramips/dts/WL_330N.dts +++ b/target/linux/ramips/dts/WL_330N.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 0x3b0000>; + }; }; }; }; -- cgit v1.2.3