omap4.dtsi 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. /*
  2. * Copyright (C) 2011 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. /*
  9. * Carveout for multimedia usecases
  10. * It should be the last 48MB of the first 512MB memory part
  11. * In theory, it should not even exist. That zone should be reserved
  12. * dynamically during the .reserve callback.
  13. */
  14. /memreserve/ 0x9d000000 0x03000000;
  15. /include/ "skeleton.dtsi"
  16. / {
  17. compatible = "ti,omap4430", "ti,omap4";
  18. interrupt-parent = <&gic>;
  19. aliases {
  20. serial0 = &uart1;
  21. serial1 = &uart2;
  22. serial2 = &uart3;
  23. serial3 = &uart4;
  24. };
  25. cpus {
  26. cpu@0 {
  27. compatible = "arm,cortex-a9";
  28. };
  29. cpu@1 {
  30. compatible = "arm,cortex-a9";
  31. };
  32. };
  33. /*
  34. * The soc node represents the soc top level view. It is uses for IPs
  35. * that are not memory mapped in the MPU view or for the MPU itself.
  36. */
  37. soc {
  38. compatible = "ti,omap-infra";
  39. mpu {
  40. compatible = "ti,omap4-mpu";
  41. ti,hwmods = "mpu";
  42. };
  43. dsp {
  44. compatible = "ti,omap3-c64";
  45. ti,hwmods = "dsp";
  46. };
  47. iva {
  48. compatible = "ti,ivahd";
  49. ti,hwmods = "iva";
  50. };
  51. };
  52. /*
  53. * XXX: Use a flat representation of the OMAP4 interconnect.
  54. * The real OMAP interconnect network is quite complex.
  55. *
  56. * MPU -+-- MPU_PRIVATE - GIC, L2
  57. * |
  58. * +----------------+----------+
  59. * | | |
  60. * + +- EMIF - DDR |
  61. * | | |
  62. * | + +--------+
  63. * | | |
  64. * | +- L4_ABE - AESS, MCBSP, TIMERs...
  65. * | |
  66. * +- L3_MAIN --+- L4_CORE - IPs...
  67. * |
  68. * +- L4_PER - IPs...
  69. * |
  70. * +- L4_CFG -+- L4_WKUP - IPs...
  71. * | |
  72. * | +- IPs...
  73. * +- IPU ----+
  74. * | |
  75. * +- DSP ----+
  76. * | |
  77. * +- DSS ----+
  78. *
  79. * Since that will not bring real advantage to represent that in DT for
  80. * the moment, just use a fake OCP bus entry to represent the whole bus
  81. * hierarchy.
  82. */
  83. ocp {
  84. compatible = "ti,omap4-l3-noc", "simple-bus";
  85. #address-cells = <1>;
  86. #size-cells = <1>;
  87. ranges;
  88. ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3";
  89. gic: interrupt-controller@48241000 {
  90. compatible = "arm,cortex-a9-gic";
  91. interrupt-controller;
  92. #interrupt-cells = <3>;
  93. reg = <0x48241000 0x1000>,
  94. <0x48240100 0x0100>;
  95. };
  96. gpio1: gpio@4a310000 {
  97. compatible = "ti,omap4-gpio";
  98. ti,hwmods = "gpio1";
  99. gpio-controller;
  100. #gpio-cells = <2>;
  101. interrupt-controller;
  102. #interrupt-cells = <1>;
  103. };
  104. gpio2: gpio@48055000 {
  105. compatible = "ti,omap4-gpio";
  106. ti,hwmods = "gpio2";
  107. gpio-controller;
  108. #gpio-cells = <2>;
  109. interrupt-controller;
  110. #interrupt-cells = <1>;
  111. };
  112. gpio3: gpio@48057000 {
  113. compatible = "ti,omap4-gpio";
  114. ti,hwmods = "gpio3";
  115. gpio-controller;
  116. #gpio-cells = <2>;
  117. interrupt-controller;
  118. #interrupt-cells = <1>;
  119. };
  120. gpio4: gpio@48059000 {
  121. compatible = "ti,omap4-gpio";
  122. ti,hwmods = "gpio4";
  123. gpio-controller;
  124. #gpio-cells = <2>;
  125. interrupt-controller;
  126. #interrupt-cells = <1>;
  127. };
  128. gpio5: gpio@4805b000 {
  129. compatible = "ti,omap4-gpio";
  130. ti,hwmods = "gpio5";
  131. gpio-controller;
  132. #gpio-cells = <2>;
  133. interrupt-controller;
  134. #interrupt-cells = <1>;
  135. };
  136. gpio6: gpio@4805d000 {
  137. compatible = "ti,omap4-gpio";
  138. ti,hwmods = "gpio6";
  139. gpio-controller;
  140. #gpio-cells = <2>;
  141. interrupt-controller;
  142. #interrupt-cells = <1>;
  143. };
  144. uart1: serial@4806a000 {
  145. compatible = "ti,omap4-uart";
  146. ti,hwmods = "uart1";
  147. clock-frequency = <48000000>;
  148. };
  149. uart2: serial@4806c000 {
  150. compatible = "ti,omap4-uart";
  151. ti,hwmods = "uart2";
  152. clock-frequency = <48000000>;
  153. };
  154. uart3: serial@48020000 {
  155. compatible = "ti,omap4-uart";
  156. ti,hwmods = "uart3";
  157. clock-frequency = <48000000>;
  158. };
  159. uart4: serial@4806e000 {
  160. compatible = "ti,omap4-uart";
  161. ti,hwmods = "uart4";
  162. clock-frequency = <48000000>;
  163. };
  164. i2c1: i2c@48070000 {
  165. compatible = "ti,omap4-i2c";
  166. #address-cells = <1>;
  167. #size-cells = <0>;
  168. ti,hwmods = "i2c1";
  169. };
  170. i2c2: i2c@48072000 {
  171. compatible = "ti,omap4-i2c";
  172. #address-cells = <1>;
  173. #size-cells = <0>;
  174. ti,hwmods = "i2c2";
  175. };
  176. i2c3: i2c@48060000 {
  177. compatible = "ti,omap4-i2c";
  178. #address-cells = <1>;
  179. #size-cells = <0>;
  180. ti,hwmods = "i2c3";
  181. };
  182. i2c4: i2c@48350000 {
  183. compatible = "ti,omap4-i2c";
  184. #address-cells = <1>;
  185. #size-cells = <0>;
  186. ti,hwmods = "i2c4";
  187. };
  188. mcspi1: spi@48098000 {
  189. compatible = "ti,omap4-mcspi";
  190. #address-cells = <1>;
  191. #size-cells = <0>;
  192. ti,hwmods = "mcspi1";
  193. ti,spi-num-cs = <4>;
  194. };
  195. mcspi2: spi@4809a000 {
  196. compatible = "ti,omap4-mcspi";
  197. #address-cells = <1>;
  198. #size-cells = <0>;
  199. ti,hwmods = "mcspi2";
  200. ti,spi-num-cs = <2>;
  201. };
  202. mcspi3: spi@480b8000 {
  203. compatible = "ti,omap4-mcspi";
  204. #address-cells = <1>;
  205. #size-cells = <0>;
  206. ti,hwmods = "mcspi3";
  207. ti,spi-num-cs = <2>;
  208. };
  209. mcspi4: spi@480ba000 {
  210. compatible = "ti,omap4-mcspi";
  211. #address-cells = <1>;
  212. #size-cells = <0>;
  213. ti,hwmods = "mcspi4";
  214. ti,spi-num-cs = <1>;
  215. };
  216. mmc1: mmc@4809c000 {
  217. compatible = "ti,omap4-hsmmc";
  218. ti,hwmods = "mmc1";
  219. ti,dual-volt;
  220. ti,needs-special-reset;
  221. };
  222. mmc2: mmc@480b4000 {
  223. compatible = "ti,omap4-hsmmc";
  224. ti,hwmods = "mmc2";
  225. ti,needs-special-reset;
  226. };
  227. mmc3: mmc@480ad000 {
  228. compatible = "ti,omap4-hsmmc";
  229. ti,hwmods = "mmc3";
  230. ti,needs-special-reset;
  231. };
  232. mmc4: mmc@480d1000 {
  233. compatible = "ti,omap4-hsmmc";
  234. ti,hwmods = "mmc4";
  235. ti,needs-special-reset;
  236. };
  237. mmc5: mmc@480d5000 {
  238. compatible = "ti,omap4-hsmmc";
  239. ti,hwmods = "mmc5";
  240. ti,needs-special-reset;
  241. };
  242. wdt2: wdt@4a314000 {
  243. compatible = "ti,omap4-wdt", "ti,omap3-wdt";
  244. ti,hwmods = "wd_timer2";
  245. };
  246. mcpdm: mcpdm@40132000 {
  247. compatible = "ti,omap4-mcpdm";
  248. reg = <0x40132000 0x7f>, /* MPU private access */
  249. <0x49032000 0x7f>; /* L3 Interconnect */
  250. interrupts = <0 112 0x4>;
  251. interrupt-parent = <&gic>;
  252. ti,hwmods = "mcpdm";
  253. };
  254. dmic: dmic@4012e000 {
  255. compatible = "ti,omap4-dmic";
  256. reg = <0x4012e000 0x7f>, /* MPU private access */
  257. <0x4902e000 0x7f>; /* L3 Interconnect */
  258. interrupts = <0 114 0x4>;
  259. interrupt-parent = <&gic>;
  260. ti,hwmods = "dmic";
  261. };
  262. };
  263. };