Back to home page

OSCL-LXR

 
 

    


0001 NAND support for Marvell Orion SoC platforms
0002 
0003 Required properties:
0004 - compatible : "marvell,orion-nand".
0005 - reg : Base physical address of the NAND and length of memory mapped
0006         region
0007 
0008 Optional properties:
0009 - cle : Address line number connected to CLE. Default is 0
0010 - ale : Address line number connected to ALE. Default is 1
0011 - bank-width : Width in bytes of the device. Default is 1
0012 - chip-delay : Chip dependent delay for transferring data from array to read
0013                registers in usecs
0014 
0015 The device tree may optionally contain sub-nodes describing partitions of the
0016 address space. See partition.txt for more detail.
0017 
0018 Example:
0019 
0020 nand@f4000000 {
0021         #address-cells = <1>;
0022         #size-cells = <1>;
0023         cle = <0>;
0024         ale = <1>;
0025         bank-width = <1>;
0026         chip-delay = <25>;
0027         compatible = "marvell,orion-nand";
0028         reg = <0xf4000000 0x400>;
0029 
0030         partition@0 {
0031                 label = "u-boot";
0032                 reg = <0x0000000 0x100000>;
0033                 read-only;
0034         };
0035 
0036         partition@100000 {
0037                 label = "uImage";
0038                 reg = <0x0100000 0x200000>;
0039         };
0040 
0041         partition@300000 {
0042                 label = "dtb";
0043                 reg = <0x0300000 0x100000>;
0044         };
0045 
0046         partition@400000 {
0047                 label = "root";
0048                 reg = <0x0400000 0x7d00000>;
0049         };
0050 };