Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: omap3-beagle: Add NAND device

The beagle board contains a 16-bit NAND device connected to
chip select 0 of the GPMC controller.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

authored by

Roger Quadros and committed by
Tony Lindgren
d37530a0 a895b8a0

+52
+52
arch/arm/boot/dts/omap3-beagle.dts
··· 379 379 }; 380 380 }; 381 381 }; 382 + 383 + &gpmc { 384 + status = "ok"; 385 + ranges = <0 0 0x30000000 0x1000000>; /* CS0 space, 16MB */ 386 + 387 + /* Chip select 0 */ 388 + nand@0,0 { 389 + reg = <0 0 4>; /* NAND I/O window, 4 bytes */ 390 + interrupts = <20>; 391 + ti,nand-ecc-opt = "ham1"; 392 + nand-bus-width = <16>; 393 + #address-cells = <1>; 394 + #size-cells = <1>; 395 + 396 + gpmc,device-width = <2>; 397 + gpmc,cs-on-ns = <0>; 398 + gpmc,cs-rd-off-ns = <36>; 399 + gpmc,cs-wr-off-ns = <36>; 400 + gpmc,adv-on-ns = <6>; 401 + gpmc,adv-rd-off-ns = <24>; 402 + gpmc,adv-wr-off-ns = <36>; 403 + gpmc,oe-on-ns = <6>; 404 + gpmc,oe-off-ns = <48>; 405 + gpmc,we-on-ns = <6>; 406 + gpmc,we-off-ns = <30>; 407 + gpmc,rd-cycle-ns = <72>; 408 + gpmc,wr-cycle-ns = <72>; 409 + gpmc,access-ns = <54>; 410 + gpmc,wr-access-ns = <30>; 411 + 412 + partition@0 { 413 + label = "X-Loader"; 414 + reg = <0 0x80000>; 415 + }; 416 + partition@80000 { 417 + label = "U-Boot"; 418 + reg = <0x80000 0x1e0000>; 419 + }; 420 + partition@1c0000 { 421 + label = "U-Boot Env"; 422 + reg = <0x260000 0x20000>; 423 + }; 424 + partition@280000 { 425 + label = "Kernel"; 426 + reg = <0x280000 0x400000>; 427 + }; 428 + partition@780000 { 429 + label = "Filesystem"; 430 + reg = <0x680000 0xf980000>; 431 + }; 432 + }; 433 + };