fsmc-nand.txt 869 B

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