omap3430-sdp.dts 4.2 KB

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