bootbus.txt 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. * Boot Bus
  2. The Octeon Boot Bus is a configurable parallel bus with 8 chip
  3. selects. Each chip select is independently configurable.
  4. Properties:
  5. - compatible: "cavium,octeon-3860-bootbus"
  6. Compatibility with all cn3XXX, cn5XXX and cn6XXX SOCs.
  7. - reg: The base address of the Boot Bus' register bank.
  8. - #address-cells: Must be <2>. The first cell is the chip select
  9. within the bootbus. The second cell is the offset from the chip select.
  10. - #size-cells: Must be <1>.
  11. - ranges: There must be one one triplet of (child-bus-address,
  12. parent-bus-address, length) for each active chip select. If the
  13. length element for any triplet is zero, the chip select is disabled,
  14. making it inactive.
  15. The configuration parameters for each chip select are stored in child
  16. nodes.
  17. Configuration Properties:
  18. - compatible: "cavium,octeon-3860-bootbus-config"
  19. - cavium,cs-index: A single cell indicating the chip select that
  20. corresponds to this configuration.
  21. - cavium,t-adr: A cell specifying the ADR timing (in nS).
  22. - cavium,t-ce: A cell specifying the CE timing (in nS).
  23. - cavium,t-oe: A cell specifying the OE timing (in nS).
  24. - cavium,t-we: A cell specifying the WE timing (in nS).
  25. - cavium,t-rd-hld: A cell specifying the RD_HLD timing (in nS).
  26. - cavium,t-wr-hld: A cell specifying the WR_HLD timing (in nS).
  27. - cavium,t-pause: A cell specifying the PAUSE timing (in nS).
  28. - cavium,t-wait: A cell specifying the WAIT timing (in nS).
  29. - cavium,t-page: A cell specifying the PAGE timing (in nS).
  30. - cavium,t-rd-dly: A cell specifying the RD_DLY timing (in nS).
  31. - cavium,pages: A cell specifying the PAGES parameter (0 = 8 bytes, 1
  32. = 2 bytes, 2 = 4 bytes, 3 = 8 bytes).
  33. - cavium,wait-mode: Optional. If present, wait mode (WAITM) is selected.
  34. - cavium,page-mode: Optional. If present, page mode (PAGEM) is selected.
  35. - cavium,bus-width: A cell specifying the WIDTH parameter (in bits) of
  36. the bus for this chip select.
  37. - cavium,ale-mode: Optional. If present, ALE mode is selected.
  38. - cavium,sam-mode: Optional. If present, SAM mode is selected.
  39. - cavium,or-mode: Optional. If present, OR mode is selected.
  40. Example:
  41. bootbus: bootbus@1180000000000 {
  42. compatible = "cavium,octeon-3860-bootbus";
  43. reg = <0x11800 0x00000000 0x0 0x200>;
  44. /* The chip select number and offset */
  45. #address-cells = <2>;
  46. /* The size of the chip select region */
  47. #size-cells = <1>;
  48. ranges = <0 0 0x0 0x1f400000 0xc00000>,
  49. <1 0 0x10000 0x30000000 0>,
  50. <2 0 0x10000 0x40000000 0>,
  51. <3 0 0x10000 0x50000000 0>,
  52. <4 0 0x0 0x1d020000 0x10000>,
  53. <5 0 0x0 0x1d040000 0x10000>,
  54. <6 0 0x0 0x1d050000 0x10000>,
  55. <7 0 0x10000 0x90000000 0>;
  56. cavium,cs-config@0 {
  57. compatible = "cavium,octeon-3860-bootbus-config";
  58. cavium,cs-index = <0>;
  59. cavium,t-adr = <20>;
  60. cavium,t-ce = <60>;
  61. cavium,t-oe = <60>;
  62. cavium,t-we = <45>;
  63. cavium,t-rd-hld = <35>;
  64. cavium,t-wr-hld = <45>;
  65. cavium,t-pause = <0>;
  66. cavium,t-wait = <0>;
  67. cavium,t-page = <35>;
  68. cavium,t-rd-dly = <0>;
  69. cavium,pages = <0>;
  70. cavium,bus-width = <8>;
  71. };
  72. .
  73. .
  74. .
  75. cavium,cs-config@6 {
  76. compatible = "cavium,octeon-3860-bootbus-config";
  77. cavium,cs-index = <6>;
  78. cavium,t-adr = <5>;
  79. cavium,t-ce = <300>;
  80. cavium,t-oe = <270>;
  81. cavium,t-we = <150>;
  82. cavium,t-rd-hld = <100>;
  83. cavium,t-wr-hld = <70>;
  84. cavium,t-pause = <0>;
  85. cavium,t-wait = <0>;
  86. cavium,t-page = <320>;
  87. cavium,t-rd-dly = <0>;
  88. cavium,pages = <0>;
  89. cavium,wait-mode;
  90. cavium,bus-width = <16>;
  91. };
  92. .
  93. .
  94. .
  95. };