diff options
author | Liang Li <liang.li@windriver.com> | 2009-08-12 09:34:29 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-08-24 21:48:08 -0400 |
commit | 31ff09b7a60bbc80b5df941ec1a12502861b4da9 (patch) | |
tree | b208bff4425e7e415a3d731876a432a453db442d | |
parent | 4de124446b4d68edd6cb747495234be915d56a29 (diff) |
powerpc/83xx: Add localbus node and MTD partitions for SBC834x
There is 8MB flash, 8kB EEPROM and 128MB SDRAM on the sbc834x
local bus, so add a localbus node in DTS with MTD partitions.
The recent U-boot commit fe613cdd4eb moves u-boot to the beginning
of flash, hence the legacy label on the partition at the end of flash.
Signed-off-by: Liang Li <liang.li@windriver.com>
Signed-off-by: Yang Shi <yang.shi@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r-- | arch/powerpc/boot/dts/sbc8349.dts | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/sbc8349.dts b/arch/powerpc/boot/dts/sbc8349.dts index d93e5beab731..b83036a8d0e5 100644 --- a/arch/powerpc/boot/dts/sbc8349.dts +++ b/arch/powerpc/boot/dts/sbc8349.dts | |||
@@ -265,6 +265,46 @@ | |||
265 | }; | 265 | }; |
266 | }; | 266 | }; |
267 | 267 | ||
268 | localbus@e0005000 { | ||
269 | #address-cells = <2>; | ||
270 | #size-cells = <1>; | ||
271 | compatible = "fsl,mpc8349-localbus", "simple-bus"; | ||
272 | reg = <0xe0005000 0x1000>; | ||
273 | interrupts = <77 0x8>; | ||
274 | interrupt-parent = <&ipic>; | ||
275 | ranges = <0x0 0x0 0xff800000 0x00800000 /* 8MB Flash */ | ||
276 | 0x1 0x0 0xf8000000 0x00002000 /* 8KB EEPROM */ | ||
277 | 0x2 0x0 0x10000000 0x04000000 /* 64MB SDRAM */ | ||
278 | 0x3 0x0 0x10000000 0x04000000>; /* 64MB SDRAM */ | ||
279 | |||
280 | flash@0,0 { | ||
281 | #address-cells = <1>; | ||
282 | #size-cells = <1>; | ||
283 | compatible = "intel,28F640J3A", "cfi-flash"; | ||
284 | reg = <0x0 0x0 0x800000>; | ||
285 | bank-width = <2>; | ||
286 | device-width = <1>; | ||
287 | |||
288 | partition@0 { | ||
289 | label = "u-boot"; | ||
290 | reg = <0x00000000 0x00040000>; | ||
291 | read-only; | ||
292 | }; | ||
293 | |||
294 | partition@40000 { | ||
295 | label = "user"; | ||
296 | reg = <0x00040000 0x006c0000>; | ||
297 | }; | ||
298 | |||
299 | partition@700000 { | ||
300 | label = "legacy u-boot"; | ||
301 | reg = <0x00700000 0x00100000>; | ||
302 | read-only; | ||
303 | }; | ||
304 | |||
305 | }; | ||
306 | }; | ||
307 | |||
268 | pci0: pci@e0008500 { | 308 | pci0: pci@e0008500 { |
269 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; | 309 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
270 | interrupt-map = < | 310 | interrupt-map = < |