omap5.dtsi 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  1. /*
  2. * Copyright (C) 2012 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. * Based on "omap4.dtsi"
  8. */
  9. /*
  10. * Carveout for multimedia usecases
  11. * It should be the last 48MB of the first 512MB memory part
  12. * In theory, it should not even exist. That zone should be reserved
  13. * dynamically during the .reserve callback.
  14. */
  15. /memreserve/ 0x9d000000 0x03000000;
  16. /include/ "skeleton.dtsi"
  17. / {
  18. compatible = "ti,omap5";
  19. interrupt-parent = <&gic>;
  20. aliases {
  21. serial0 = &uart1;
  22. serial1 = &uart2;
  23. serial2 = &uart3;
  24. serial3 = &uart4;
  25. serial4 = &uart5;
  26. serial5 = &uart6;
  27. };
  28. cpus {
  29. cpu@0 {
  30. compatible = "arm,cortex-a15";
  31. timer {
  32. compatible = "arm,armv7-timer";
  33. /* 14th PPI IRQ, active low level-sensitive */
  34. interrupts = <1 14 0x308>;
  35. clock-frequency = <6144000>;
  36. };
  37. };
  38. cpu@1 {
  39. compatible = "arm,cortex-a15";
  40. timer {
  41. compatible = "arm,armv7-timer";
  42. /* 14th PPI IRQ, active low level-sensitive */
  43. interrupts = <1 14 0x308>;
  44. clock-frequency = <6144000>;
  45. };
  46. };
  47. };
  48. /*
  49. * The soc node represents the soc top level view. It is uses for IPs
  50. * that are not memory mapped in the MPU view or for the MPU itself.
  51. */
  52. soc {
  53. compatible = "ti,omap-infra";
  54. mpu {
  55. compatible = "ti,omap5-mpu";
  56. ti,hwmods = "mpu";
  57. };
  58. };
  59. /*
  60. * XXX: Use a flat representation of the OMAP3 interconnect.
  61. * The real OMAP interconnect network is quite complex.
  62. * Since that will not bring real advantage to represent that in DT for
  63. * the moment, just use a fake OCP bus entry to represent the whole bus
  64. * hierarchy.
  65. */
  66. ocp {
  67. compatible = "ti,omap4-l3-noc", "simple-bus";
  68. #address-cells = <1>;
  69. #size-cells = <1>;
  70. ranges;
  71. ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3";
  72. omap5_pmx_core: pinmux@4a002840 {
  73. compatible = "ti,omap4-padconf", "pinctrl-single";
  74. reg = <0x4a002840 0x01b6>;
  75. #address-cells = <1>;
  76. #size-cells = <0>;
  77. pinctrl-single,register-width = <16>;
  78. pinctrl-single,function-mask = <0x7fff>;
  79. };
  80. omap5_pmx_wkup: pinmux@4ae0c840 {
  81. compatible = "ti,omap4-padconf", "pinctrl-single";
  82. reg = <0x4ae0c840 0x0038>;
  83. #address-cells = <1>;
  84. #size-cells = <0>;
  85. pinctrl-single,register-width = <16>;
  86. pinctrl-single,function-mask = <0x7fff>;
  87. };
  88. gic: interrupt-controller@48211000 {
  89. compatible = "arm,cortex-a15-gic";
  90. interrupt-controller;
  91. #interrupt-cells = <3>;
  92. reg = <0x48211000 0x1000>,
  93. <0x48212000 0x1000>;
  94. };
  95. gpio1: gpio@4ae10000 {
  96. compatible = "ti,omap4-gpio";
  97. reg = <0x4ae10000 0x200>;
  98. interrupts = <0 29 0x4>;
  99. ti,hwmods = "gpio1";
  100. gpio-controller;
  101. #gpio-cells = <2>;
  102. interrupt-controller;
  103. #interrupt-cells = <1>;
  104. };
  105. gpio2: gpio@48055000 {
  106. compatible = "ti,omap4-gpio";
  107. reg = <0x48055000 0x200>;
  108. interrupts = <0 30 0x4>;
  109. ti,hwmods = "gpio2";
  110. gpio-controller;
  111. #gpio-cells = <2>;
  112. interrupt-controller;
  113. #interrupt-cells = <1>;
  114. };
  115. gpio3: gpio@48057000 {
  116. compatible = "ti,omap4-gpio";
  117. reg = <0x48057000 0x200>;
  118. interrupts = <0 31 0x4>;
  119. ti,hwmods = "gpio3";
  120. gpio-controller;
  121. #gpio-cells = <2>;
  122. interrupt-controller;
  123. #interrupt-cells = <1>;
  124. };
  125. gpio4: gpio@48059000 {
  126. compatible = "ti,omap4-gpio";
  127. reg = <0x48059000 0x200>;
  128. interrupts = <0 32 0x4>;
  129. ti,hwmods = "gpio4";
  130. gpio-controller;
  131. #gpio-cells = <2>;
  132. interrupt-controller;
  133. #interrupt-cells = <1>;
  134. };
  135. gpio5: gpio@4805b000 {
  136. compatible = "ti,omap4-gpio";
  137. reg = <0x4805b000 0x200>;
  138. interrupts = <0 33 0x4>;
  139. ti,hwmods = "gpio5";
  140. gpio-controller;
  141. #gpio-cells = <2>;
  142. interrupt-controller;
  143. #interrupt-cells = <1>;
  144. };
  145. gpio6: gpio@4805d000 {
  146. compatible = "ti,omap4-gpio";
  147. reg = <0x4805d000 0x200>;
  148. interrupts = <0 34 0x4>;
  149. ti,hwmods = "gpio6";
  150. gpio-controller;
  151. #gpio-cells = <2>;
  152. interrupt-controller;
  153. #interrupt-cells = <1>;
  154. };
  155. gpio7: gpio@48051000 {
  156. compatible = "ti,omap4-gpio";
  157. reg = <0x48051000 0x200>;
  158. interrupts = <0 35 0x4>;
  159. ti,hwmods = "gpio7";
  160. gpio-controller;
  161. #gpio-cells = <2>;
  162. interrupt-controller;
  163. #interrupt-cells = <1>;
  164. };
  165. gpio8: gpio@48053000 {
  166. compatible = "ti,omap4-gpio";
  167. reg = <0x48053000 0x200>;
  168. interrupts = <0 121 0x4>;
  169. ti,hwmods = "gpio8";
  170. gpio-controller;
  171. #gpio-cells = <2>;
  172. interrupt-controller;
  173. #interrupt-cells = <1>;
  174. };
  175. i2c1: i2c@48070000 {
  176. compatible = "ti,omap4-i2c";
  177. reg = <0x48070000 0x100>;
  178. interrupts = <0 56 0x4>;
  179. #address-cells = <1>;
  180. #size-cells = <0>;
  181. ti,hwmods = "i2c1";
  182. };
  183. i2c2: i2c@48072000 {
  184. compatible = "ti,omap4-i2c";
  185. reg = <0x48072000 0x100>;
  186. interrupts = <0 57 0x4>;
  187. #address-cells = <1>;
  188. #size-cells = <0>;
  189. ti,hwmods = "i2c2";
  190. };
  191. i2c3: i2c@48060000 {
  192. compatible = "ti,omap4-i2c";
  193. reg = <0x48060000 0x100>;
  194. interrupts = <0 61 0x4>;
  195. #address-cells = <1>;
  196. #size-cells = <0>;
  197. ti,hwmods = "i2c3";
  198. };
  199. i2c4: i2c@4807a000 {
  200. compatible = "ti,omap4-i2c";
  201. reg = <0x4807a000 0x100>;
  202. interrupts = <0 62 0x4>;
  203. #address-cells = <1>;
  204. #size-cells = <0>;
  205. ti,hwmods = "i2c4";
  206. };
  207. i2c5: i2c@4807c000 {
  208. compatible = "ti,omap4-i2c";
  209. reg = <0x4807c000 0x100>;
  210. interrupts = <0 60 0x4>;
  211. #address-cells = <1>;
  212. #size-cells = <0>;
  213. ti,hwmods = "i2c5";
  214. };
  215. uart1: serial@4806a000 {
  216. compatible = "ti,omap4-uart";
  217. reg = <0x4806a000 0x100>;
  218. interrupts = <0 72 0x4>;
  219. ti,hwmods = "uart1";
  220. clock-frequency = <48000000>;
  221. };
  222. uart2: serial@4806c000 {
  223. compatible = "ti,omap4-uart";
  224. reg = <0x4806c000 0x100>;
  225. interrupts = <0 73 0x4>;
  226. ti,hwmods = "uart2";
  227. clock-frequency = <48000000>;
  228. };
  229. uart3: serial@48020000 {
  230. compatible = "ti,omap4-uart";
  231. reg = <0x48020000 0x100>;
  232. interrupts = <0 74 0x4>;
  233. ti,hwmods = "uart3";
  234. clock-frequency = <48000000>;
  235. };
  236. uart4: serial@4806e000 {
  237. compatible = "ti,omap4-uart";
  238. reg = <0x4806e000 0x100>;
  239. interrupts = <0 70 0x4>;
  240. ti,hwmods = "uart4";
  241. clock-frequency = <48000000>;
  242. };
  243. uart5: serial@48066000 {
  244. compatible = "ti,omap4-uart";
  245. reg = <0x48066000 0x100>;
  246. interrupts = <0 105 0x4>;
  247. ti,hwmods = "uart5";
  248. clock-frequency = <48000000>;
  249. };
  250. uart6: serial@48068000 {
  251. compatible = "ti,omap4-uart";
  252. reg = <0x48068000 0x100>;
  253. interrupts = <0 106 0x4>;
  254. ti,hwmods = "uart6";
  255. clock-frequency = <48000000>;
  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. keypad: keypad@4ae1c000 {
  294. compatible = "ti,omap4-keypad";
  295. ti,hwmods = "kbd";
  296. };
  297. mcpdm: mcpdm@40132000 {
  298. compatible = "ti,omap4-mcpdm";
  299. reg = <0x40132000 0x7f>, /* MPU private access */
  300. <0x49032000 0x7f>; /* L3 Interconnect */
  301. reg-names = "mpu", "dma";
  302. interrupts = <0 112 0x4>;
  303. ti,hwmods = "mcpdm";
  304. };
  305. dmic: dmic@4012e000 {
  306. compatible = "ti,omap4-dmic";
  307. reg = <0x4012e000 0x7f>, /* MPU private access */
  308. <0x4902e000 0x7f>; /* L3 Interconnect */
  309. reg-names = "mpu", "dma";
  310. interrupts = <0 114 0x4>;
  311. ti,hwmods = "dmic";
  312. };
  313. mcbsp1: mcbsp@40122000 {
  314. compatible = "ti,omap4-mcbsp";
  315. reg = <0x40122000 0xff>, /* MPU private access */
  316. <0x49022000 0xff>; /* L3 Interconnect */
  317. reg-names = "mpu", "dma";
  318. interrupts = <0 17 0x4>;
  319. interrupt-names = "common";
  320. ti,buffer-size = <128>;
  321. ti,hwmods = "mcbsp1";
  322. };
  323. mcbsp2: mcbsp@40124000 {
  324. compatible = "ti,omap4-mcbsp";
  325. reg = <0x40124000 0xff>, /* MPU private access */
  326. <0x49024000 0xff>; /* L3 Interconnect */
  327. reg-names = "mpu", "dma";
  328. interrupts = <0 22 0x4>;
  329. interrupt-names = "common";
  330. ti,buffer-size = <128>;
  331. ti,hwmods = "mcbsp2";
  332. };
  333. mcbsp3: mcbsp@40126000 {
  334. compatible = "ti,omap4-mcbsp";
  335. reg = <0x40126000 0xff>, /* MPU private access */
  336. <0x49026000 0xff>; /* L3 Interconnect */
  337. reg-names = "mpu", "dma";
  338. interrupts = <0 23 0x4>;
  339. interrupt-names = "common";
  340. ti,buffer-size = <128>;
  341. ti,hwmods = "mcbsp3";
  342. };
  343. timer1: timer@4ae18000 {
  344. compatible = "ti,omap2-timer";
  345. reg = <0x4ae18000 0x80>;
  346. interrupts = <0 37 0x4>;
  347. ti,hwmods = "timer1";
  348. ti,timer-alwon;
  349. };
  350. timer2: timer@48032000 {
  351. compatible = "ti,omap2-timer";
  352. reg = <0x48032000 0x80>;
  353. interrupts = <0 38 0x4>;
  354. ti,hwmods = "timer2";
  355. };
  356. timer3: timer@48034000 {
  357. compatible = "ti,omap2-timer";
  358. reg = <0x48034000 0x80>;
  359. interrupts = <0 39 0x4>;
  360. ti,hwmods = "timer3";
  361. };
  362. timer4: timer@48036000 {
  363. compatible = "ti,omap2-timer";
  364. reg = <0x48036000 0x80>;
  365. interrupts = <0 40 0x4>;
  366. ti,hwmods = "timer4";
  367. };
  368. timer5: timer@40138000 {
  369. compatible = "ti,omap2-timer";
  370. reg = <0x40138000 0x80>,
  371. <0x49038000 0x80>;
  372. interrupts = <0 41 0x4>;
  373. ti,hwmods = "timer5";
  374. ti,timer-dsp;
  375. };
  376. timer6: timer@4013a000 {
  377. compatible = "ti,omap2-timer";
  378. reg = <0x4013a000 0x80>,
  379. <0x4903a000 0x80>;
  380. interrupts = <0 42 0x4>;
  381. ti,hwmods = "timer6";
  382. ti,timer-dsp;
  383. ti,timer-pwm;
  384. };
  385. timer7: timer@4013c000 {
  386. compatible = "ti,omap2-timer";
  387. reg = <0x4013c000 0x80>,
  388. <0x4903c000 0x80>;
  389. interrupts = <0 43 0x4>;
  390. ti,hwmods = "timer7";
  391. ti,timer-dsp;
  392. };
  393. timer8: timer@4013e000 {
  394. compatible = "ti,omap2-timer";
  395. reg = <0x4013e000 0x80>,
  396. <0x4903e000 0x80>;
  397. interrupts = <0 44 0x4>;
  398. ti,hwmods = "timer8";
  399. ti,timer-dsp;
  400. ti,timer-pwm;
  401. };
  402. timer9: timer@4803e000 {
  403. compatible = "ti,omap2-timer";
  404. reg = <0x4803e000 0x80>;
  405. interrupts = <0 45 0x4>;
  406. ti,hwmods = "timer9";
  407. };
  408. timer10: timer@48086000 {
  409. compatible = "ti,omap2-timer";
  410. reg = <0x48086000 0x80>;
  411. interrupts = <0 46 0x4>;
  412. ti,hwmods = "timer10";
  413. };
  414. timer11: timer@48088000 {
  415. compatible = "ti,omap2-timer";
  416. reg = <0x48088000 0x80>;
  417. interrupts = <0 47 0x4>;
  418. ti,hwmods = "timer11";
  419. ti,timer-pwm;
  420. };
  421. };
  422. };