omap3430-sdp.dts 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
  4. */
  5. /dts-v1/;
  6. #include "omap34xx.dtsi"
  7. / {
  8. model = "TI OMAP3430 SDP";
  9. compatible = "ti,omap3430-sdp", "ti,omap3430", "ti,omap3";
  10. memory@80000000 {
  11. device_type = "memory";
  12. reg = <0x80000000 0x10000000>; /* 256 MB */
  13. };
  14. };
  15. &i2c1 {
  16. clock-frequency = <2600000>;
  17. twl: twl@48 {
  18. reg = <0x48>;
  19. interrupts = <7>; /* SYS_NIRQ cascaded to intc */
  20. };
  21. };
  22. #include "twl4030.dtsi"
  23. #include "twl4030_omap3.dtsi"
  24. &mmc1 {
  25. vmmc-supply = <&vmmc1>;
  26. vqmmc-supply = <&vsim>;
  27. /*
  28. * S6-3 must be in ON position for 8 bit mode to function
  29. * Else, use 4 bit mode
  30. */
  31. bus-width = <8>;
  32. };
  33. &mmc2 {
  34. status = "disabled";
  35. };
  36. &mmc3 {
  37. status = "disabled";
  38. };
  39. &gpmc {
  40. ranges = <0 0 0x10000000 0x08000000>,
  41. <1 0 0x28000000 0x1000000>, /* CS1: 16MB for NAND */
  42. <2 0 0x20000000 0x1000000>; /* CS2: 16MB for OneNAND */
  43. nor@0,0 {
  44. compatible = "cfi-flash";
  45. linux,mtd-name = "intel,pf48f6000m0y1be";
  46. #address-cells = <1>;
  47. #size-cells = <1>;
  48. reg = <0 0 0x08000000>;
  49. bank-width = <2>;
  50. gpmc,mux-add-data = <2>;
  51. gpmc,cs-on-ns = <0>;
  52. gpmc,cs-rd-off-ns = <186>;
  53. gpmc,cs-wr-off-ns = <186>;
  54. gpmc,adv-on-ns = <12>;
  55. gpmc,adv-rd-off-ns = <48>;
  56. gpmc,adv-wr-off-ns = <48>;
  57. gpmc,oe-on-ns = <54>;
  58. gpmc,oe-off-ns = <168>;
  59. gpmc,we-on-ns = <54>;
  60. gpmc,we-off-ns = <168>;
  61. gpmc,rd-cycle-ns = <186>;
  62. gpmc,wr-cycle-ns = <186>;
  63. gpmc,access-ns = <114>;
  64. gpmc,page-burst-access-ns = <6>;
  65. gpmc,bus-turnaround-ns = <12>;
  66. gpmc,cycle2cycle-delay-ns = <18>;
  67. gpmc,wr-data-mux-bus-ns = <90>;
  68. gpmc,wr-access-ns = <186>;
  69. gpmc,cycle2cycle-samecsen;
  70. gpmc,cycle2cycle-diffcsen;
  71. partition@0 {
  72. label = "bootloader-nor";
  73. reg = <0 0x40000>;
  74. };
  75. partition@40000 {
  76. label = "params-nor";
  77. reg = <0x40000 0x40000>;
  78. };
  79. partition@80000 {
  80. label = "kernel-nor";
  81. reg = <0x80000 0x200000>;
  82. };
  83. partition@280000 {
  84. label = "filesystem-nor";
  85. reg = <0x240000 0x7d80000>;
  86. };
  87. };
  88. nand@1,0 {
  89. compatible = "ti,omap2-nand";
  90. reg = <1 0 4>; /* CS1, offset 0, IO size 4 */
  91. interrupt-parent = <&gpmc>;
  92. interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
  93. <1 IRQ_TYPE_NONE>; /* termcount */
  94. linux,mtd-name = "micron,mt29f1g08abb";
  95. #address-cells = <1>;
  96. #size-cells = <1>;
  97. ti,nand-ecc-opt = "sw";
  98. nand-bus-width = <8>;
  99. gpmc,cs-on-ns = <0>;
  100. gpmc,cs-rd-off-ns = <36>;
  101. gpmc,cs-wr-off-ns = <36>;
  102. gpmc,adv-on-ns = <6>;
  103. gpmc,adv-rd-off-ns = <24>;
  104. gpmc,adv-wr-off-ns = <36>;
  105. gpmc,oe-on-ns = <6>;
  106. gpmc,oe-off-ns = <48>;
  107. gpmc,we-on-ns = <6>;
  108. gpmc,we-off-ns = <30>;
  109. gpmc,rd-cycle-ns = <72>;
  110. gpmc,wr-cycle-ns = <72>;
  111. gpmc,access-ns = <54>;
  112. gpmc,wr-access-ns = <30>;
  113. partition@0 {
  114. label = "xloader-nand";
  115. reg = <0 0x80000>;
  116. };
  117. partition@80000 {
  118. label = "bootloader-nand";
  119. reg = <0x80000 0x140000>;
  120. };
  121. partition@1c0000 {
  122. label = "params-nand";
  123. reg = <0x1c0000 0xc0000>;
  124. };
  125. partition@280000 {
  126. label = "kernel-nand";
  127. reg = <0x280000 0x500000>;
  128. };
  129. partition@780000 {
  130. label = "filesystem-nand";
  131. reg = <0x780000 0x7880000>;
  132. };
  133. };
  134. onenand@2,0 {
  135. linux,mtd-name = "samsung,kfm2g16q2m-deb8";
  136. #address-cells = <1>;
  137. #size-cells = <1>;
  138. compatible = "ti,omap2-onenand";
  139. reg = <2 0 0x20000>; /* CS2, offset 0, IO size 4 */
  140. gpmc,device-width = <2>;
  141. gpmc,mux-add-data = <2>;
  142. gpmc,cs-on-ns = <0>;
  143. gpmc,cs-rd-off-ns = <84>;
  144. gpmc,cs-wr-off-ns = <72>;
  145. gpmc,adv-on-ns = <0>;
  146. gpmc,adv-rd-off-ns = <18>;
  147. gpmc,adv-wr-off-ns = <18>;
  148. gpmc,oe-on-ns = <30>;
  149. gpmc,oe-off-ns = <84>;
  150. gpmc,we-on-ns = <0>;
  151. gpmc,we-off-ns = <42>;
  152. gpmc,rd-cycle-ns = <108>;
  153. gpmc,wr-cycle-ns = <96>;
  154. gpmc,access-ns = <78>;
  155. gpmc,wr-data-mux-bus-ns = <30>;
  156. partition@0 {
  157. label = "xloader-onenand";
  158. reg = <0 0x80000>;
  159. };
  160. partition@80000 {
  161. label = "bootloader-onenand";
  162. reg = <0x80000 0x40000>;
  163. };
  164. partition@c0000 {
  165. label = "params-onenand";
  166. reg = <0xc0000 0x20000>;
  167. };
  168. partition@e0000 {
  169. label = "kernel-onenand";
  170. reg = <0xe0000 0x200000>;
  171. };
  172. partition@2e0000 {
  173. label = "filesystem-onenand";
  174. reg = <0x2e0000 0xfd20000>;
  175. };
  176. };
  177. };