diff options
author | Wang Dongsheng <Dongsheng.Wang@freescale.com> | 2012-08-29 11:00:49 +0800 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2012-09-12 14:57:11 -0500 |
commit | 3a0f880160ba1179db291d72062b13f2d373b9ee (patch) | |
tree | c3a5145120876deca8840ff97f9dab55377d933c /arch/powerpc/boot/dts/mpc8544ds.dtsi | |
parent | 17ae4f0aef09c1bcf380dcea555e83d27436e7d5 (diff) | |
download | lwn-3a0f880160ba1179db291d72062b13f2d373b9ee.tar.gz lwn-3a0f880160ba1179db291d72062b13f2d373b9ee.zip |
powerpc/8544ds: add partition table for norflash
create partition table for norflash.
Signed-off-by: Wang Dongsheng <Dongsheng.Wang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/dts/mpc8544ds.dtsi')
-rw-r--r-- | arch/powerpc/boot/dts/mpc8544ds.dtsi | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/mpc8544ds.dtsi b/arch/powerpc/boot/dts/mpc8544ds.dtsi index 77ebc9f1d37c..b219d035d794 100644 --- a/arch/powerpc/boot/dts/mpc8544ds.dtsi +++ b/arch/powerpc/boot/dts/mpc8544ds.dtsi @@ -32,6 +32,45 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +&board_lbc { + nor@0,0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "cfi-flash"; + reg = <0x0 0x0 0x800000>; + bank-width = <2>; + device-width = <1>; + + partition@0 { + reg = <0x0 0x10000>; + label = "dtb-nor"; + }; + + partition@20000 { + reg = <0x20000 0x30000>; + label = "diagnostic-nor"; + read-only; + }; + + partition@200000 { + reg = <0x200000 0x200000>; + label = "dink-nor"; + read-only; + }; + + partition@400000 { + reg = <0x400000 0x380000>; + label = "kernel-nor"; + }; + + partition@780000 { + reg = <0x780000 0x80000>; + label = "u-boot-nor"; + read-only; + }; + }; +}; + &board_soc { enet0: ethernet@24000 { phy-handle = <&phy0>; |