omap4.dtsi 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417
  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. reg = <0x4a310000 0x200>;
  88. interrupts = <0 29 0x4>;
  89. ti,hwmods = "gpio1";
  90. gpio-controller;
  91. #gpio-cells = <2>;
  92. interrupt-controller;
  93. #interrupt-cells = <1>;
  94. };
  95. gpio2: gpio@48055000 {
  96. compatible = "ti,omap4-gpio";
  97. reg = <0x48055000 0x200>;
  98. interrupts = <0 30 0x4>;
  99. ti,hwmods = "gpio2";
  100. gpio-controller;
  101. #gpio-cells = <2>;
  102. interrupt-controller;
  103. #interrupt-cells = <1>;
  104. };
  105. gpio3: gpio@48057000 {
  106. compatible = "ti,omap4-gpio";
  107. reg = <0x48057000 0x200>;
  108. interrupts = <0 31 0x4>;
  109. ti,hwmods = "gpio3";
  110. gpio-controller;
  111. #gpio-cells = <2>;
  112. interrupt-controller;
  113. #interrupt-cells = <1>;
  114. };
  115. gpio4: gpio@48059000 {
  116. compatible = "ti,omap4-gpio";
  117. reg = <0x48059000 0x200>;
  118. interrupts = <0 32 0x4>;
  119. ti,hwmods = "gpio4";
  120. gpio-controller;
  121. #gpio-cells = <2>;
  122. interrupt-controller;
  123. #interrupt-cells = <1>;
  124. };
  125. gpio5: gpio@4805b000 {
  126. compatible = "ti,omap4-gpio";
  127. reg = <0x4805b000 0x200>;
  128. interrupts = <0 33 0x4>;
  129. ti,hwmods = "gpio5";
  130. gpio-controller;
  131. #gpio-cells = <2>;
  132. interrupt-controller;
  133. #interrupt-cells = <1>;
  134. };
  135. gpio6: gpio@4805d000 {
  136. compatible = "ti,omap4-gpio";
  137. reg = <0x4805d000 0x200>;
  138. interrupts = <0 34 0x4>;
  139. ti,hwmods = "gpio6";
  140. gpio-controller;
  141. #gpio-cells = <2>;
  142. interrupt-controller;
  143. #interrupt-cells = <1>;
  144. };
  145. uart1: serial@4806a000 {
  146. compatible = "ti,omap4-uart";
  147. reg = <0x4806a000 0x100>;
  148. interrupts = <0 72 0x4>;
  149. ti,hwmods = "uart1";
  150. clock-frequency = <48000000>;
  151. };
  152. uart2: serial@4806c000 {
  153. compatible = "ti,omap4-uart";
  154. reg = <0x4806c000 0x100>;
  155. interrupts = <0 73 0x4>;
  156. ti,hwmods = "uart2";
  157. clock-frequency = <48000000>;
  158. };
  159. uart3: serial@48020000 {
  160. compatible = "ti,omap4-uart";
  161. reg = <0x48020000 0x100>;
  162. interrupts = <0 74 0x4>;
  163. ti,hwmods = "uart3";
  164. clock-frequency = <48000000>;
  165. };
  166. uart4: serial@4806e000 {
  167. compatible = "ti,omap4-uart";
  168. reg = <0x4806e000 0x100>;
  169. interrupts = <0 70 0x4>;
  170. ti,hwmods = "uart4";
  171. clock-frequency = <48000000>;
  172. };
  173. i2c1: i2c@48070000 {
  174. compatible = "ti,omap4-i2c";
  175. reg = <0x48070000 0x100>;
  176. interrupts = <0 56 0x4>;
  177. #address-cells = <1>;
  178. #size-cells = <0>;
  179. ti,hwmods = "i2c1";
  180. };
  181. i2c2: i2c@48072000 {
  182. compatible = "ti,omap4-i2c";
  183. reg = <0x48072000 0x100>;
  184. interrupts = <0 57 0x4>;
  185. #address-cells = <1>;
  186. #size-cells = <0>;
  187. ti,hwmods = "i2c2";
  188. };
  189. i2c3: i2c@48060000 {
  190. compatible = "ti,omap4-i2c";
  191. reg = <0x48060000 0x100>;
  192. interrupts = <0 61 0x4>;
  193. #address-cells = <1>;
  194. #size-cells = <0>;
  195. ti,hwmods = "i2c3";
  196. };
  197. i2c4: i2c@48350000 {
  198. compatible = "ti,omap4-i2c";
  199. reg = <0x48350000 0x100>;
  200. interrupts = <0 62 0x4>;
  201. #address-cells = <1>;
  202. #size-cells = <0>;
  203. ti,hwmods = "i2c4";
  204. };
  205. mcspi1: spi@48098000 {
  206. compatible = "ti,omap4-mcspi";
  207. reg = <0x48098000 0x200>;
  208. interrupts = <0 65 0x4>;
  209. #address-cells = <1>;
  210. #size-cells = <0>;
  211. ti,hwmods = "mcspi1";
  212. ti,spi-num-cs = <4>;
  213. };
  214. mcspi2: spi@4809a000 {
  215. compatible = "ti,omap4-mcspi";
  216. reg = <0x4809a000 0x200>;
  217. interrupts = <0 66 0x4>;
  218. #address-cells = <1>;
  219. #size-cells = <0>;
  220. ti,hwmods = "mcspi2";
  221. ti,spi-num-cs = <2>;
  222. };
  223. mcspi3: spi@480b8000 {
  224. compatible = "ti,omap4-mcspi";
  225. reg = <0x480b8000 0x200>;
  226. interrupts = <0 91 0x4>;
  227. #address-cells = <1>;
  228. #size-cells = <0>;
  229. ti,hwmods = "mcspi3";
  230. ti,spi-num-cs = <2>;
  231. };
  232. mcspi4: spi@480ba000 {
  233. compatible = "ti,omap4-mcspi";
  234. reg = <0x480ba000 0x200>;
  235. interrupts = <0 48 0x4>;
  236. #address-cells = <1>;
  237. #size-cells = <0>;
  238. ti,hwmods = "mcspi4";
  239. ti,spi-num-cs = <1>;
  240. };
  241. mmc1: mmc@4809c000 {
  242. compatible = "ti,omap4-hsmmc";
  243. reg = <0x4809c000 0x400>;
  244. interrupts = <0 83 0x4>;
  245. ti,hwmods = "mmc1";
  246. ti,dual-volt;
  247. ti,needs-special-reset;
  248. };
  249. mmc2: mmc@480b4000 {
  250. compatible = "ti,omap4-hsmmc";
  251. reg = <0x480b4000 0x400>;
  252. interrupts = <0 86 0x4>;
  253. ti,hwmods = "mmc2";
  254. ti,needs-special-reset;
  255. };
  256. mmc3: mmc@480ad000 {
  257. compatible = "ti,omap4-hsmmc";
  258. reg = <0x480ad000 0x400>;
  259. interrupts = <0 94 0x4>;
  260. ti,hwmods = "mmc3";
  261. ti,needs-special-reset;
  262. };
  263. mmc4: mmc@480d1000 {
  264. compatible = "ti,omap4-hsmmc";
  265. reg = <0x480d1000 0x400>;
  266. interrupts = <0 96 0x4>;
  267. ti,hwmods = "mmc4";
  268. ti,needs-special-reset;
  269. };
  270. mmc5: mmc@480d5000 {
  271. compatible = "ti,omap4-hsmmc";
  272. reg = <0x480d5000 0x400>;
  273. interrupts = <0 59 0x4>;
  274. ti,hwmods = "mmc5";
  275. ti,needs-special-reset;
  276. };
  277. wdt2: wdt@4a314000 {
  278. compatible = "ti,omap4-wdt", "ti,omap3-wdt";
  279. reg = <0x4a314000 0x80>;
  280. interrupts = <0 80 0x4>;
  281. ti,hwmods = "wd_timer2";
  282. };
  283. mcpdm: mcpdm@40132000 {
  284. compatible = "ti,omap4-mcpdm";
  285. reg = <0x40132000 0x7f>, /* MPU private access */
  286. <0x49032000 0x7f>; /* L3 Interconnect */
  287. reg-names = "mpu", "dma";
  288. interrupts = <0 112 0x4>;
  289. interrupt-parent = <&gic>;
  290. ti,hwmods = "mcpdm";
  291. };
  292. dmic: dmic@4012e000 {
  293. compatible = "ti,omap4-dmic";
  294. reg = <0x4012e000 0x7f>, /* MPU private access */
  295. <0x4902e000 0x7f>; /* L3 Interconnect */
  296. reg-names = "mpu", "dma";
  297. interrupts = <0 114 0x4>;
  298. interrupt-parent = <&gic>;
  299. ti,hwmods = "dmic";
  300. };
  301. mcbsp1: mcbsp@40122000 {
  302. compatible = "ti,omap4-mcbsp";
  303. reg = <0x40122000 0xff>, /* MPU private access */
  304. <0x49022000 0xff>; /* L3 Interconnect */
  305. reg-names = "mpu", "dma";
  306. interrupts = <0 17 0x4>;
  307. interrupt-names = "common";
  308. interrupt-parent = <&gic>;
  309. ti,buffer-size = <128>;
  310. ti,hwmods = "mcbsp1";
  311. };
  312. mcbsp2: mcbsp@40124000 {
  313. compatible = "ti,omap4-mcbsp";
  314. reg = <0x40124000 0xff>, /* MPU private access */
  315. <0x49024000 0xff>; /* L3 Interconnect */
  316. reg-names = "mpu", "dma";
  317. interrupts = <0 22 0x4>;
  318. interrupt-names = "common";
  319. interrupt-parent = <&gic>;
  320. ti,buffer-size = <128>;
  321. ti,hwmods = "mcbsp2";
  322. };
  323. mcbsp3: mcbsp@40126000 {
  324. compatible = "ti,omap4-mcbsp";
  325. reg = <0x40126000 0xff>, /* MPU private access */
  326. <0x49026000 0xff>; /* L3 Interconnect */
  327. reg-names = "mpu", "dma";
  328. interrupts = <0 23 0x4>;
  329. interrupt-names = "common";
  330. interrupt-parent = <&gic>;
  331. ti,buffer-size = <128>;
  332. ti,hwmods = "mcbsp3";
  333. };
  334. mcbsp4: mcbsp@48096000 {
  335. compatible = "ti,omap4-mcbsp";
  336. reg = <0x48096000 0xff>; /* L4 Interconnect */
  337. reg-names = "mpu";
  338. interrupts = <0 16 0x4>;
  339. interrupt-names = "common";
  340. interrupt-parent = <&gic>;
  341. ti,buffer-size = <128>;
  342. ti,hwmods = "mcbsp4";
  343. };
  344. keypad: keypad@4a31c000 {
  345. compatible = "ti,omap4-keypad";
  346. reg = <0x4a31c000 0x80>;
  347. interrupts = <0 120 0x4>;
  348. reg-names = "mpu";
  349. ti,hwmods = "kbd";
  350. };
  351. emif1: emif@4c000000 {
  352. compatible = "ti,emif-4d";
  353. reg = <0x4c000000 0x100>;
  354. interrupts = <0 110 0x4>;
  355. ti,hwmods = "emif1";
  356. phy-type = <1>;
  357. hw-caps-read-idle-ctrl;
  358. hw-caps-ll-interface;
  359. hw-caps-temp-alert;
  360. };
  361. emif2: emif@4d000000 {
  362. compatible = "ti,emif-4d";
  363. reg = <0x4d000000 0x100>;
  364. interrupts = <0 111 0x4>;
  365. ti,hwmods = "emif2";
  366. phy-type = <1>;
  367. hw-caps-read-idle-ctrl;
  368. hw-caps-ll-interface;
  369. hw-caps-temp-alert;
  370. };
  371. };
  372. };