1 NAND support for Marvell Orion SoC platforms 1 NAND support for Marvell Orion SoC platforms 2 2 3 Required properties: 3 Required properties: 4 - compatible : "marvell,orion-nand". 4 - compatible : "marvell,orion-nand". 5 - reg : Base physical address of the NAND and 5 - reg : Base physical address of the NAND and length of memory mapped 6 region 6 region 7 7 8 Optional properties: 8 Optional properties: 9 - cle : Address line number connected to CLE. 9 - cle : Address line number connected to CLE. Default is 0 10 - ale : Address line number connected to ALE. 10 - ale : Address line number connected to ALE. Default is 1 11 - bank-width : Width in bytes of the device. D 11 - bank-width : Width in bytes of the device. Default is 1 12 - chip-delay : Chip dependent delay for transf 12 - chip-delay : Chip dependent delay for transferring data from array to read 13 registers in usecs 13 registers in usecs 14 14 15 The device tree may optionally contain sub-nod 15 The device tree may optionally contain sub-nodes describing partitions of the 16 address space. See mtd.yaml for more detail. !! 16 address space. See partition.txt for more detail. 17 17 18 Example: 18 Example: 19 19 20 nand@f4000000 { 20 nand@f4000000 { 21 #address-cells = <1>; 21 #address-cells = <1>; 22 #size-cells = <1>; 22 #size-cells = <1>; 23 cle = <0>; 23 cle = <0>; 24 ale = <1>; 24 ale = <1>; 25 bank-width = <1>; 25 bank-width = <1>; 26 chip-delay = <25>; 26 chip-delay = <25>; 27 compatible = "marvell,orion-nand"; 27 compatible = "marvell,orion-nand"; 28 reg = <0xf4000000 0x400>; 28 reg = <0xf4000000 0x400>; 29 29 30 partition@0 { 30 partition@0 { 31 label = "u-boot"; 31 label = "u-boot"; 32 reg = <0x0000000 0x100000>; 32 reg = <0x0000000 0x100000>; 33 read-only; 33 read-only; 34 }; 34 }; 35 35 36 partition@100000 { 36 partition@100000 { 37 label = "uImage"; 37 label = "uImage"; 38 reg = <0x0100000 0x200000>; 38 reg = <0x0100000 0x200000>; 39 }; 39 }; 40 40 41 partition@300000 { 41 partition@300000 { 42 label = "dtb"; 42 label = "dtb"; 43 reg = <0x0300000 0x100000>; 43 reg = <0x0300000 0x100000>; 44 }; 44 }; 45 45 46 partition@400000 { 46 partition@400000 { 47 label = "root"; 47 label = "root"; 48 reg = <0x0400000 0x7d00000>; 48 reg = <0x0400000 0x7d00000>; 49 }; 49 }; 50 }; 50 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.