omap4.dtsi 7.8 KB

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