msm_qpic_nand.txt 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. Qualcomm Parallel Interface controller (QPIC) for NAND devices
  2. Required properties:
  3. - compatible : "qcom,msm-nand".
  4. - reg : should specify QPIC NANDc and BAM physical address range.
  5. - reg-names : should specify relevant names to each reg property defined.
  6. - interrupts : should specify QPIC/BAM interrupt numbers.
  7. - interrupt-names : should specify relevant names to each interrupts property
  8. defined.
  9. MTD flash partition layout for NAND devices -
  10. Each partition is represented as a sub-node of the qcom,mtd-partitions device.
  11. Each node's name represents the name of the corresponding partition.
  12. This is now completely optional as the partition information is avaialble from
  13. bootloader.
  14. Optional properties:
  15. - reg : The partition offset and size
  16. - label : The label / name for this partition.
  17. - read-only: This parameter, if present, indicates that this partition
  18. should only be mounted read-only.
  19. Examples:
  20. qcom,nand@f9af0000 {
  21. compatible = "qcom,msm-nand";
  22. reg = <0xf9af0000 0x1000>,
  23. <0xf9ac4000 0x8000>;
  24. reg-names = "nand_phys",
  25. "bam_phys";
  26. interrupts = <0 279 0>;
  27. interrupt-names = "bam_irq";
  28. };
  29. qcom,mtd-partitions {
  30. #address-cells = <1>;
  31. #size-cells = <1>;
  32. partition@0 {
  33. label = "boot";
  34. reg = <0x0 0x1000>;
  35. read-only;
  36. };
  37. partition@20000 {
  38. label = "userdata";
  39. reg = <0x20000 0x1000>;
  40. };
  41. partition@40000 {
  42. label = "system";
  43. reg = <0x40000 0x1000>;
  44. };
  45. };