omap3.dtsi 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. /*
  2. * Device Tree Source for OMAP3 SoC
  3. *
  4. * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
  5. *
  6. * This file is licensed under the terms of the GNU General Public License
  7. * version 2. This program is licensed "as is" without any warranty of any
  8. * kind, whether express or implied.
  9. */
  10. /include/ "skeleton.dtsi"
  11. / {
  12. compatible = "ti,omap3430", "ti,omap3";
  13. aliases {
  14. serial0 = &uart1;
  15. serial1 = &uart2;
  16. serial2 = &uart3;
  17. };
  18. cpus {
  19. cpu@0 {
  20. compatible = "arm,cortex-a8";
  21. };
  22. };
  23. /*
  24. * The soc node represents the soc top level view. It is uses for IPs
  25. * that are not memory mapped in the MPU view or for the MPU itself.
  26. */
  27. soc {
  28. compatible = "ti,omap-infra";
  29. mpu {
  30. compatible = "ti,omap3-mpu";
  31. ti,hwmods = "mpu";
  32. };
  33. iva {
  34. compatible = "ti,iva2.2";
  35. ti,hwmods = "iva";
  36. dsp {
  37. compatible = "ti,omap3-c64";
  38. };
  39. };
  40. };
  41. /*
  42. * XXX: Use a flat representation of the OMAP3 interconnect.
  43. * The real OMAP interconnect network is quite complex.
  44. * Since that will not bring real advantage to represent that in DT for
  45. * the moment, just use a fake OCP bus entry to represent the whole bus
  46. * hierarchy.
  47. */
  48. ocp {
  49. compatible = "simple-bus";
  50. #address-cells = <1>;
  51. #size-cells = <1>;
  52. ranges;
  53. ti,hwmods = "l3_main";
  54. intc: interrupt-controller@48200000 {
  55. compatible = "ti,omap2-intc";
  56. interrupt-controller;
  57. #interrupt-cells = <1>;
  58. ti,intc-size = <96>;
  59. reg = <0x48200000 0x1000>;
  60. };
  61. omap3_pmx_core: pinmux@48002030 {
  62. compatible = "ti,omap3-padconf", "pinctrl-single";
  63. reg = <0x48002030 0x05cc>;
  64. #address-cells = <1>;
  65. #size-cells = <0>;
  66. pinctrl-single,register-width = <16>;
  67. pinctrl-single,function-mask = <0x7fff>;
  68. };
  69. omap3_pmx_wkup: pinmux@0x48002a58 {
  70. compatible = "ti,omap3-padconf", "pinctrl-single";
  71. reg = <0x48002a58 0x5c>;
  72. #address-cells = <1>;
  73. #size-cells = <0>;
  74. pinctrl-single,register-width = <16>;
  75. pinctrl-single,function-mask = <0x7fff>;
  76. };
  77. gpio1: gpio@48310000 {
  78. compatible = "ti,omap3-gpio";
  79. ti,hwmods = "gpio1";
  80. gpio-controller;
  81. #gpio-cells = <2>;
  82. interrupt-controller;
  83. #interrupt-cells = <1>;
  84. };
  85. gpio2: gpio@49050000 {
  86. compatible = "ti,omap3-gpio";
  87. ti,hwmods = "gpio2";
  88. gpio-controller;
  89. #gpio-cells = <2>;
  90. interrupt-controller;
  91. #interrupt-cells = <1>;
  92. };
  93. gpio3: gpio@49052000 {
  94. compatible = "ti,omap3-gpio";
  95. ti,hwmods = "gpio3";
  96. gpio-controller;
  97. #gpio-cells = <2>;
  98. interrupt-controller;
  99. #interrupt-cells = <1>;
  100. };
  101. gpio4: gpio@49054000 {
  102. compatible = "ti,omap3-gpio";
  103. ti,hwmods = "gpio4";
  104. gpio-controller;
  105. #gpio-cells = <2>;
  106. interrupt-controller;
  107. #interrupt-cells = <1>;
  108. };
  109. gpio5: gpio@49056000 {
  110. compatible = "ti,omap3-gpio";
  111. ti,hwmods = "gpio5";
  112. gpio-controller;
  113. #gpio-cells = <2>;
  114. interrupt-controller;
  115. #interrupt-cells = <1>;
  116. };
  117. gpio6: gpio@49058000 {
  118. compatible = "ti,omap3-gpio";
  119. ti,hwmods = "gpio6";
  120. gpio-controller;
  121. #gpio-cells = <2>;
  122. interrupt-controller;
  123. #interrupt-cells = <1>;
  124. };
  125. uart1: serial@4806a000 {
  126. compatible = "ti,omap3-uart";
  127. ti,hwmods = "uart1";
  128. clock-frequency = <48000000>;
  129. };
  130. uart2: serial@4806c000 {
  131. compatible = "ti,omap3-uart";
  132. ti,hwmods = "uart2";
  133. clock-frequency = <48000000>;
  134. };
  135. uart3: serial@49020000 {
  136. compatible = "ti,omap3-uart";
  137. ti,hwmods = "uart3";
  138. clock-frequency = <48000000>;
  139. };
  140. i2c1: i2c@48070000 {
  141. compatible = "ti,omap3-i2c";
  142. #address-cells = <1>;
  143. #size-cells = <0>;
  144. ti,hwmods = "i2c1";
  145. };
  146. i2c2: i2c@48072000 {
  147. compatible = "ti,omap3-i2c";
  148. #address-cells = <1>;
  149. #size-cells = <0>;
  150. ti,hwmods = "i2c2";
  151. };
  152. i2c3: i2c@48060000 {
  153. compatible = "ti,omap3-i2c";
  154. #address-cells = <1>;
  155. #size-cells = <0>;
  156. ti,hwmods = "i2c3";
  157. };
  158. mcspi1: spi@48098000 {
  159. compatible = "ti,omap2-mcspi";
  160. #address-cells = <1>;
  161. #size-cells = <0>;
  162. ti,hwmods = "mcspi1";
  163. ti,spi-num-cs = <4>;
  164. };
  165. mcspi2: spi@4809a000 {
  166. compatible = "ti,omap2-mcspi";
  167. #address-cells = <1>;
  168. #size-cells = <0>;
  169. ti,hwmods = "mcspi2";
  170. ti,spi-num-cs = <2>;
  171. };
  172. mcspi3: spi@480b8000 {
  173. compatible = "ti,omap2-mcspi";
  174. #address-cells = <1>;
  175. #size-cells = <0>;
  176. ti,hwmods = "mcspi3";
  177. ti,spi-num-cs = <2>;
  178. };
  179. mcspi4: spi@480ba000 {
  180. compatible = "ti,omap2-mcspi";
  181. #address-cells = <1>;
  182. #size-cells = <0>;
  183. ti,hwmods = "mcspi4";
  184. ti,spi-num-cs = <1>;
  185. };
  186. mmc1: mmc@4809c000 {
  187. compatible = "ti,omap3-hsmmc";
  188. ti,hwmods = "mmc1";
  189. ti,dual-volt;
  190. };
  191. mmc2: mmc@480b4000 {
  192. compatible = "ti,omap3-hsmmc";
  193. ti,hwmods = "mmc2";
  194. };
  195. mmc3: mmc@480ad000 {
  196. compatible = "ti,omap3-hsmmc";
  197. ti,hwmods = "mmc3";
  198. };
  199. wdt2: wdt@48314000 {
  200. compatible = "ti,omap3-wdt";
  201. ti,hwmods = "wd_timer2";
  202. };
  203. mcbsp1: mcbsp@48074000 {
  204. compatible = "ti,omap3-mcbsp";
  205. reg = <0x48074000 0xff>;
  206. reg-names = "mpu";
  207. interrupts = <16>, /* OCP compliant interrupt */
  208. <59>, /* TX interrupt */
  209. <60>; /* RX interrupt */
  210. interrupt-names = "common", "tx", "rx";
  211. interrupt-parent = <&intc>;
  212. ti,buffer-size = <128>;
  213. ti,hwmods = "mcbsp1";
  214. };
  215. mcbsp2: mcbsp@49022000 {
  216. compatible = "ti,omap3-mcbsp";
  217. reg = <0x49022000 0xff>,
  218. <0x49028000 0xff>;
  219. reg-names = "mpu", "sidetone";
  220. interrupts = <17>, /* OCP compliant interrupt */
  221. <62>, /* TX interrupt */
  222. <63>, /* RX interrupt */
  223. <4>; /* Sidetone */
  224. interrupt-names = "common", "tx", "rx", "sidetone";
  225. interrupt-parent = <&intc>;
  226. ti,buffer-size = <1280>;
  227. ti,hwmods = "mcbsp2";
  228. };
  229. mcbsp3: mcbsp@49024000 {
  230. compatible = "ti,omap3-mcbsp";
  231. reg = <0x49024000 0xff>,
  232. <0x4902a000 0xff>;
  233. reg-names = "mpu", "sidetone";
  234. interrupts = <22>, /* OCP compliant interrupt */
  235. <89>, /* TX interrupt */
  236. <90>, /* RX interrupt */
  237. <5>; /* Sidetone */
  238. interrupt-names = "common", "tx", "rx", "sidetone";
  239. interrupt-parent = <&intc>;
  240. ti,buffer-size = <128>;
  241. ti,hwmods = "mcbsp3";
  242. };
  243. mcbsp4: mcbsp@49026000 {
  244. compatible = "ti,omap3-mcbsp";
  245. reg = <0x49026000 0xff>;
  246. reg-names = "mpu";
  247. interrupts = <23>, /* OCP compliant interrupt */
  248. <54>, /* TX interrupt */
  249. <55>; /* RX interrupt */
  250. interrupt-names = "common", "tx", "rx";
  251. interrupt-parent = <&intc>;
  252. ti,buffer-size = <128>;
  253. ti,hwmods = "mcbsp4";
  254. };
  255. mcbsp5: mcbsp@48096000 {
  256. compatible = "ti,omap3-mcbsp";
  257. reg = <0x48096000 0xff>;
  258. reg-names = "mpu";
  259. interrupts = <27>, /* OCP compliant interrupt */
  260. <81>, /* TX interrupt */
  261. <82>; /* RX interrupt */
  262. interrupt-names = "common", "tx", "rx";
  263. interrupt-parent = <&intc>;
  264. ti,buffer-size = <128>;
  265. ti,hwmods = "mcbsp5";
  266. };
  267. };
  268. };