diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-08-14 13:13:42 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-09-16 11:01:34 -0400 |
commit | 307db95882fdfba372a0639e8e238cf8c542f430 (patch) | |
tree | 1d092f52687e10b07714829c035b1b697ebaf8ae /arch/powerpc/boot | |
parent | 7cfc4e5e7f9b5fa598aa69b5344b6fd0539f71d6 (diff) |
powerpc/83xx: mpc836x_mds: add support for the nor flash
This patch adds the localbus node, moves the bcsr node into the
localbus node, and adds the flash node.
Also enable MTD support in the defconfig.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r-- | arch/powerpc/boot/dts/mpc836x_mds.dts | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/arch/powerpc/boot/dts/mpc836x_mds.dts b/arch/powerpc/boot/dts/mpc836x_mds.dts index a3b76a709951..ada8446ab3c6 100644 --- a/arch/powerpc/boot/dts/mpc836x_mds.dts +++ b/arch/powerpc/boot/dts/mpc836x_mds.dts | |||
@@ -52,9 +52,26 @@ | |||
52 | reg = <0x00000000 0x10000000>; | 52 | reg = <0x00000000 0x10000000>; |
53 | }; | 53 | }; |
54 | 54 | ||
55 | bcsr@f8000000 { | 55 | localbus@e0005000 { |
56 | device_type = "board-control"; | 56 | #address-cells = <2>; |
57 | reg = <0xf8000000 0x8000>; | 57 | #size-cells = <1>; |
58 | compatible = "fsl,mpc8360-localbus", "fsl,pq2pro-localbus", | ||
59 | "simple-bus"; | ||
60 | reg = <0xe0005000 0xd8>; | ||
61 | ranges = <0 0 0xfe000000 0x02000000 | ||
62 | 1 0 0xf8000000 0x00008000>; | ||
63 | |||
64 | flash@0,0 { | ||
65 | compatible = "cfi-flash"; | ||
66 | reg = <0 0 0x2000000>; | ||
67 | bank-width = <2>; | ||
68 | device-width = <1>; | ||
69 | }; | ||
70 | |||
71 | bcsr@1,0 { | ||
72 | device_type = "board-control"; | ||
73 | reg = <1 0 0x8000>; | ||
74 | }; | ||
58 | }; | 75 | }; |
59 | 76 | ||
60 | soc8360@e0000000 { | 77 | soc8360@e0000000 { |