omap4.dtsi 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  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. next-level-cache = <&L2>;
  29. };
  30. cpu@1 {
  31. compatible = "arm,cortex-a9";
  32. next-level-cache = <&L2>;
  33. };
  34. };
  35. L2: l2-cache-controller@48242000 {
  36. compatible = "arm,pl310-cache";
  37. reg = <0x48242000 0x1000>;
  38. cache-unified;
  39. cache-level = <2>;
  40. };
  41. /*
  42. * The soc node represents the soc top level view. It is uses for IPs
  43. * that are not memory mapped in the MPU view or for the MPU itself.
  44. */
  45. soc {
  46. compatible = "ti,omap-infra";
  47. mpu {
  48. compatible = "ti,omap4-mpu";
  49. ti,hwmods = "mpu";
  50. };
  51. dsp {
  52. compatible = "ti,omap3-c64";
  53. ti,hwmods = "dsp";
  54. };
  55. iva {
  56. compatible = "ti,ivahd";
  57. ti,hwmods = "iva";
  58. };
  59. };
  60. /*
  61. * XXX: Use a flat representation of the OMAP4 interconnect.
  62. * The real OMAP interconnect network is quite complex.
  63. *
  64. * MPU -+-- MPU_PRIVATE - GIC, L2
  65. * |
  66. * +----------------+----------+
  67. * | | |
  68. * + +- EMIF - DDR |
  69. * | | |
  70. * | + +--------+
  71. * | | |
  72. * | +- L4_ABE - AESS, MCBSP, TIMERs...
  73. * | |
  74. * +- L3_MAIN --+- L4_CORE - IPs...
  75. * |
  76. * +- L4_PER - IPs...
  77. * |
  78. * +- L4_CFG -+- L4_WKUP - IPs...
  79. * | |
  80. * | +- IPs...
  81. * +- IPU ----+
  82. * | |
  83. * +- DSP ----+
  84. * | |
  85. * +- DSS ----+
  86. *
  87. * Since that will not bring real advantage to represent that in DT for
  88. * the moment, just use a fake OCP bus entry to represent the whole bus
  89. * hierarchy.
  90. */
  91. ocp {
  92. compatible = "ti,omap4-l3-noc", "simple-bus";
  93. #address-cells = <1>;
  94. #size-cells = <1>;
  95. ranges;
  96. ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3";
  97. gic: interrupt-controller@48241000 {
  98. compatible = "arm,cortex-a9-gic";
  99. interrupt-controller;
  100. #interrupt-cells = <3>;
  101. reg = <0x48241000 0x1000>,
  102. <0x48240100 0x0100>;
  103. };
  104. gpio1: gpio@4a310000 {
  105. compatible = "ti,omap4-gpio";
  106. ti,hwmods = "gpio1";
  107. gpio-controller;
  108. #gpio-cells = <2>;
  109. interrupt-controller;
  110. #interrupt-cells = <1>;
  111. };
  112. gpio2: gpio@48055000 {
  113. compatible = "ti,omap4-gpio";
  114. ti,hwmods = "gpio2";
  115. gpio-controller;
  116. #gpio-cells = <2>;
  117. interrupt-controller;
  118. #interrupt-cells = <1>;
  119. };
  120. gpio3: gpio@48057000 {
  121. compatible = "ti,omap4-gpio";
  122. ti,hwmods = "gpio3";
  123. gpio-controller;
  124. #gpio-cells = <2>;
  125. interrupt-controller;
  126. #interrupt-cells = <1>;
  127. };
  128. gpio4: gpio@48059000 {
  129. compatible = "ti,omap4-gpio";
  130. ti,hwmods = "gpio4";
  131. gpio-controller;
  132. #gpio-cells = <2>;
  133. interrupt-controller;
  134. #interrupt-cells = <1>;
  135. };
  136. gpio5: gpio@4805b000 {
  137. compatible = "ti,omap4-gpio";
  138. ti,hwmods = "gpio5";
  139. gpio-controller;
  140. #gpio-cells = <2>;
  141. interrupt-controller;
  142. #interrupt-cells = <1>;
  143. };
  144. gpio6: gpio@4805d000 {
  145. compatible = "ti,omap4-gpio";
  146. ti,hwmods = "gpio6";
  147. gpio-controller;
  148. #gpio-cells = <2>;
  149. interrupt-controller;
  150. #interrupt-cells = <1>;
  151. };
  152. uart1: serial@4806a000 {
  153. compatible = "ti,omap4-uart";
  154. ti,hwmods = "uart1";
  155. clock-frequency = <48000000>;
  156. };
  157. uart2: serial@4806c000 {
  158. compatible = "ti,omap4-uart";
  159. ti,hwmods = "uart2";
  160. clock-frequency = <48000000>;
  161. };
  162. uart3: serial@48020000 {
  163. compatible = "ti,omap4-uart";
  164. ti,hwmods = "uart3";
  165. clock-frequency = <48000000>;
  166. };
  167. uart4: serial@4806e000 {
  168. compatible = "ti,omap4-uart";
  169. ti,hwmods = "uart4";
  170. clock-frequency = <48000000>;
  171. };
  172. i2c1: i2c@48070000 {
  173. compatible = "ti,omap4-i2c";
  174. #address-cells = <1>;
  175. #size-cells = <0>;
  176. ti,hwmods = "i2c1";
  177. };
  178. i2c2: i2c@48072000 {
  179. compatible = "ti,omap4-i2c";
  180. #address-cells = <1>;
  181. #size-cells = <0>;
  182. ti,hwmods = "i2c2";
  183. };
  184. i2c3: i2c@48060000 {
  185. compatible = "ti,omap4-i2c";
  186. #address-cells = <1>;
  187. #size-cells = <0>;
  188. ti,hwmods = "i2c3";
  189. };
  190. i2c4: i2c@48350000 {
  191. compatible = "ti,omap4-i2c";
  192. #address-cells = <1>;
  193. #size-cells = <0>;
  194. ti,hwmods = "i2c4";
  195. };
  196. mcspi1: spi@48098000 {
  197. compatible = "ti,omap4-mcspi";
  198. #address-cells = <1>;
  199. #size-cells = <0>;
  200. ti,hwmods = "mcspi1";
  201. ti,spi-num-cs = <4>;
  202. };
  203. mcspi2: spi@4809a000 {
  204. compatible = "ti,omap4-mcspi";
  205. #address-cells = <1>;
  206. #size-cells = <0>;
  207. ti,hwmods = "mcspi2";
  208. ti,spi-num-cs = <2>;
  209. };
  210. mcspi3: spi@480b8000 {
  211. compatible = "ti,omap4-mcspi";
  212. #address-cells = <1>;
  213. #size-cells = <0>;
  214. ti,hwmods = "mcspi3";
  215. ti,spi-num-cs = <2>;
  216. };
  217. mcspi4: spi@480ba000 {
  218. compatible = "ti,omap4-mcspi";
  219. #address-cells = <1>;
  220. #size-cells = <0>;
  221. ti,hwmods = "mcspi4";
  222. ti,spi-num-cs = <1>;
  223. };
  224. mmc1: mmc@4809c000 {
  225. compatible = "ti,omap4-hsmmc";
  226. ti,hwmods = "mmc1";
  227. ti,dual-volt;
  228. ti,needs-special-reset;
  229. };
  230. mmc2: mmc@480b4000 {
  231. compatible = "ti,omap4-hsmmc";
  232. ti,hwmods = "mmc2";
  233. ti,needs-special-reset;
  234. };
  235. mmc3: mmc@480ad000 {
  236. compatible = "ti,omap4-hsmmc";
  237. ti,hwmods = "mmc3";
  238. ti,needs-special-reset;
  239. };
  240. mmc4: mmc@480d1000 {
  241. compatible = "ti,omap4-hsmmc";
  242. ti,hwmods = "mmc4";
  243. ti,needs-special-reset;
  244. };
  245. mmc5: mmc@480d5000 {
  246. compatible = "ti,omap4-hsmmc";
  247. ti,hwmods = "mmc5";
  248. ti,needs-special-reset;
  249. };
  250. wdt2: wdt@4a314000 {
  251. compatible = "ti,omap4-wdt", "ti,omap3-wdt";
  252. ti,hwmods = "wd_timer2";
  253. };
  254. mcpdm: mcpdm@40132000 {
  255. compatible = "ti,omap4-mcpdm";
  256. reg = <0x40132000 0x7f>, /* MPU private access */
  257. <0x49032000 0x7f>; /* L3 Interconnect */
  258. interrupts = <0 112 0x4>;
  259. interrupt-parent = <&gic>;
  260. ti,hwmods = "mcpdm";
  261. };
  262. dmic: dmic@4012e000 {
  263. compatible = "ti,omap4-dmic";
  264. reg = <0x4012e000 0x7f>, /* MPU private access */
  265. <0x4902e000 0x7f>; /* L3 Interconnect */
  266. interrupts = <0 114 0x4>;
  267. interrupt-parent = <&gic>;
  268. ti,hwmods = "dmic";
  269. };
  270. keypad: keypad@4a31c000 {
  271. compatible = "ti,omap4-keypad";
  272. ti,hwmods = "kbd";
  273. };
  274. emif1: emif@4c000000 {
  275. compatible = "ti,emif-4d";
  276. ti,hwmods = "emif1";
  277. phy-type = <1>;
  278. hw-caps-read-idle-ctrl;
  279. hw-caps-ll-interface;
  280. hw-caps-temp-alert;
  281. };
  282. emif2: emif@4d000000 {
  283. compatible = "ti,emif-4d";
  284. ti,hwmods = "emif2";
  285. phy-type = <1>;
  286. hw-caps-read-idle-ctrl;
  287. hw-caps-ll-interface;
  288. hw-caps-temp-alert;
  289. };
  290. };
  291. };