Staging
v0.7.0
https://github.com/torvalds/linux
Raw File
Tip revision: 4cbe5a555fa58a79b6ecbb6c531b8bab0650778d authored by Linus Torvalds on 01 September 2012, 17:39:58 UTC
Linux 3.6-rc4
Tip revision: 4cbe5a5
fsmc-nand.txt
* FSMC NAND

Required properties:
- compatible : "st,spear600-fsmc-nand"
- reg : Address range of the mtd chip
- reg-names: Should contain the reg names "fsmc_regs" and "nand_data"
- st,ale-off : Chip specific offset to ALE
- st,cle-off : Chip specific offset to CLE

Optional properties:
- bank-width : Width (in bytes) of the device.  If not present, the width
  defaults to 1 byte
- nand-skip-bbtscan: Indicates the the BBT scanning should be skipped

Example:

	fsmc: flash@d1800000 {
		compatible = "st,spear600-fsmc-nand";
		#address-cells = <1>;
		#size-cells = <1>;
		reg = <0xd1800000 0x1000	/* FSMC Register */
		       0xd2000000 0x4000>;	/* NAND Base */
		reg-names = "fsmc_regs", "nand_data";
		st,ale-off = <0x20000>;
		st,cle-off = <0x10000>;

		bank-width = <1>;
		nand-skip-bbtscan;

		partition@0 {
			...
		};
	};
back to top