omap4.dtsi 9.9 KB

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