diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2008-06-11 08:03:41 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2008-06-11 08:03:41 -0400 |
commit | 887942d7d62499999f7868f194d7f41fd6e88795 (patch) | |
tree | db6d0651585abdbc4b5e846168c883edb389918c /arch/powerpc/boot | |
parent | 939e622c5e7f8ccd6b0a05a810114b368f7de69e (diff) |
powerpc/4xx: MTD support for the AMCC Taishan Board
Add support for the NOR flash found on the AMCC Taishan Board
and enable MTD support in the defconfig.
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r-- | arch/powerpc/boot/dts/taishan.dts | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/arch/powerpc/boot/dts/taishan.dts b/arch/powerpc/boot/dts/taishan.dts index dcb749884b6d..d4867ded8699 100644 --- a/arch/powerpc/boot/dts/taishan.dts +++ b/arch/powerpc/boot/dts/taishan.dts | |||
@@ -186,7 +186,34 @@ | |||
186 | interrupts = <0x5 0x4>; | 186 | interrupts = <0x5 0x4>; |
187 | interrupt-parent = <&UIC1>; | 187 | interrupt-parent = <&UIC1>; |
188 | 188 | ||
189 | /* TODO: Add other EBC devices */ | 189 | nor_flash@0,0 { |
190 | compatible = "cfi-flash"; | ||
191 | bank-width = <4>; | ||
192 | device-width = <2>; | ||
193 | reg = <0x0 0x0 0x4000000>; | ||
194 | #address-cells = <1>; | ||
195 | #size-cells = <1>; | ||
196 | partition@0 { | ||
197 | label = "kernel"; | ||
198 | reg = <0x0 0x180000>; | ||
199 | }; | ||
200 | partition@180000 { | ||
201 | label = "root"; | ||
202 | reg = <0x180000 0x200000>; | ||
203 | }; | ||
204 | partition@380000 { | ||
205 | label = "user"; | ||
206 | reg = <0x380000 0x3bc0000>; | ||
207 | }; | ||
208 | partition@3f40000 { | ||
209 | label = "env"; | ||
210 | reg = <0x3f40000 0x80000>; | ||
211 | }; | ||
212 | partition@3fc0000 { | ||
213 | label = "u-boot"; | ||
214 | reg = <0x3fc0000 0x40000>; | ||
215 | }; | ||
216 | }; | ||
190 | }; | 217 | }; |
191 | 218 | ||
192 | 219 | ||