ndfc.txt 780 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. AMCC NDFC (NanD Flash Controller)
  2. Required properties:
  3. - compatible : "ibm,ndfc".
  4. - reg : should specify chip select and size used for the chip (0x2000).
  5. Optional properties:
  6. - ccr : NDFC config and control register value (default 0).
  7. - bank-settings : NDFC bank configuration register value (default 0).
  8. Notes:
  9. - partition(s) - follows the OF MTD standard for partitions
  10. Example:
  11. ndfc@1,0 {
  12. compatible = "ibm,ndfc";
  13. reg = <0x00000001 0x00000000 0x00002000>;
  14. ccr = <0x00001000>;
  15. bank-settings = <0x80002222>;
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. nand {
  19. #address-cells = <1>;
  20. #size-cells = <1>;
  21. partition@0 {
  22. label = "kernel";
  23. reg = <0x00000000 0x00200000>;
  24. };
  25. partition@200000 {
  26. label = "root";
  27. reg = <0x00200000 0x03E00000>;
  28. };
  29. };
  30. };