samsung-s3c2410.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. * Samsung S3C2410 and compatible NAND flash controller
  2. Required properties:
  3. - compatible : The possible values are:
  4. "samsung,s3c2410-nand"
  5. "samsung,s3c2412-nand"
  6. "samsung,s3c2440-nand"
  7. - reg : register's location and length.
  8. - #address-cells, #size-cells : see nand.txt
  9. - clocks : phandle to the nand controller clock
  10. - clock-names : must contain "nand"
  11. Optional child nodes:
  12. Child nodes representing the available nand chips.
  13. Optional child properties:
  14. - nand-ecc-mode : see nand.txt
  15. - nand-on-flash-bbt : see nand.txt
  16. Each child device node may optionally contain a 'partitions' sub-node,
  17. which further contains sub-nodes describing the flash partition mapping.
  18. See partition.txt for more detail.
  19. Example:
  20. nand-controller@4e000000 {
  21. compatible = "samsung,s3c2440-nand";
  22. reg = <0x4e000000 0x40>;
  23. #address-cells = <1>;
  24. #size-cells = <0>;
  25. clocks = <&clocks HCLK_NAND>;
  26. clock-names = "nand";
  27. nand {
  28. nand-ecc-mode = "soft";
  29. nand-on-flash-bbt;
  30. partitions {
  31. compatible = "fixed-partitions";
  32. #address-cells = <1>;
  33. #size-cells = <1>;
  34. partition@0 {
  35. label = "u-boot";
  36. reg = <0 0x040000>;
  37. };
  38. partition@40000 {
  39. label = "kernel";
  40. reg = <0x040000 0x500000>;
  41. };
  42. };
  43. };
  44. };