fsmc-nand.txt 833 B

12345678910111213141516171819202122232425262728293031323334
  1. * FSMC NAND
  2. Required properties:
  3. - compatible : "st,spear600-fsmc-nand"
  4. - reg : Address range of the mtd chip
  5. - reg-names: Should contain the reg names "fsmc_regs" and "nand_data"
  6. - st,ale-off : Chip specific offset to ALE
  7. - st,cle-off : Chip specific offset to CLE
  8. Optional properties:
  9. - bank-width : Width (in bytes) of the device. If not present, the width
  10. defaults to 1 byte
  11. - nand-skip-bbtscan: Indicates the the BBT scanning should be skipped
  12. Example:
  13. fsmc: flash@d1800000 {
  14. compatible = "st,spear600-fsmc-nand";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. reg = <0xd1800000 0x1000 /* FSMC Register */
  18. 0xd2000000 0x4000>; /* NAND Base */
  19. reg-names = "fsmc_regs", "nand_data";
  20. st,ale-off = <0x20000>;
  21. st,cle-off = <0x10000>;
  22. bank-width = <1>;
  23. nand-skip-bbtscan;
  24. partition@0 {
  25. ...
  26. };
  27. };