omap4.dtsi 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523
  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. ti,hwmods = "mcpdm";
  306. };
  307. dmic: dmic@4012e000 {
  308. compatible = "ti,omap4-dmic";
  309. reg = <0x4012e000 0x7f>, /* MPU private access */
  310. <0x4902e000 0x7f>; /* L3 Interconnect */
  311. reg-names = "mpu", "dma";
  312. interrupts = <0 114 0x4>;
  313. ti,hwmods = "dmic";
  314. };
  315. mcbsp1: mcbsp@40122000 {
  316. compatible = "ti,omap4-mcbsp";
  317. reg = <0x40122000 0xff>, /* MPU private access */
  318. <0x49022000 0xff>; /* L3 Interconnect */
  319. reg-names = "mpu", "dma";
  320. interrupts = <0 17 0x4>;
  321. interrupt-names = "common";
  322. ti,buffer-size = <128>;
  323. ti,hwmods = "mcbsp1";
  324. };
  325. mcbsp2: mcbsp@40124000 {
  326. compatible = "ti,omap4-mcbsp";
  327. reg = <0x40124000 0xff>, /* MPU private access */
  328. <0x49024000 0xff>; /* L3 Interconnect */
  329. reg-names = "mpu", "dma";
  330. interrupts = <0 22 0x4>;
  331. interrupt-names = "common";
  332. ti,buffer-size = <128>;
  333. ti,hwmods = "mcbsp2";
  334. };
  335. mcbsp3: mcbsp@40126000 {
  336. compatible = "ti,omap4-mcbsp";
  337. reg = <0x40126000 0xff>, /* MPU private access */
  338. <0x49026000 0xff>; /* L3 Interconnect */
  339. reg-names = "mpu", "dma";
  340. interrupts = <0 23 0x4>;
  341. interrupt-names = "common";
  342. ti,buffer-size = <128>;
  343. ti,hwmods = "mcbsp3";
  344. };
  345. mcbsp4: mcbsp@48096000 {
  346. compatible = "ti,omap4-mcbsp";
  347. reg = <0x48096000 0xff>; /* L4 Interconnect */
  348. reg-names = "mpu";
  349. interrupts = <0 16 0x4>;
  350. interrupt-names = "common";
  351. ti,buffer-size = <128>;
  352. ti,hwmods = "mcbsp4";
  353. };
  354. keypad: keypad@4a31c000 {
  355. compatible = "ti,omap4-keypad";
  356. reg = <0x4a31c000 0x80>;
  357. interrupts = <0 120 0x4>;
  358. reg-names = "mpu";
  359. ti,hwmods = "kbd";
  360. };
  361. emif1: emif@4c000000 {
  362. compatible = "ti,emif-4d";
  363. reg = <0x4c000000 0x100>;
  364. interrupts = <0 110 0x4>;
  365. ti,hwmods = "emif1";
  366. phy-type = <1>;
  367. hw-caps-read-idle-ctrl;
  368. hw-caps-ll-interface;
  369. hw-caps-temp-alert;
  370. };
  371. emif2: emif@4d000000 {
  372. compatible = "ti,emif-4d";
  373. reg = <0x4d000000 0x100>;
  374. interrupts = <0 111 0x4>;
  375. ti,hwmods = "emif2";
  376. phy-type = <1>;
  377. hw-caps-read-idle-ctrl;
  378. hw-caps-ll-interface;
  379. hw-caps-temp-alert;
  380. };
  381. ocp2scp@4a0ad000 {
  382. compatible = "ti,omap-ocp2scp";
  383. reg = <0x4a0ad000 0x1f>;
  384. #address-cells = <1>;
  385. #size-cells = <1>;
  386. ranges;
  387. ti,hwmods = "ocp2scp_usb_phy";
  388. };
  389. timer1: timer@4a318000 {
  390. compatible = "ti,omap2-timer";
  391. reg = <0x4a318000 0x80>;
  392. interrupts = <0 37 0x4>;
  393. ti,hwmods = "timer1";
  394. ti,timer-alwon;
  395. };
  396. timer2: timer@48032000 {
  397. compatible = "ti,omap2-timer";
  398. reg = <0x48032000 0x80>;
  399. interrupts = <0 38 0x4>;
  400. ti,hwmods = "timer2";
  401. };
  402. timer3: timer@48034000 {
  403. compatible = "ti,omap2-timer";
  404. reg = <0x48034000 0x80>;
  405. interrupts = <0 39 0x4>;
  406. ti,hwmods = "timer3";
  407. };
  408. timer4: timer@48036000 {
  409. compatible = "ti,omap2-timer";
  410. reg = <0x48036000 0x80>;
  411. interrupts = <0 40 0x4>;
  412. ti,hwmods = "timer4";
  413. };
  414. timer5: timer@49038000 {
  415. compatible = "ti,omap2-timer";
  416. reg = <0x49038000 0x80>;
  417. interrupts = <0 41 0x4>;
  418. ti,hwmods = "timer5";
  419. ti,timer-dsp;
  420. };
  421. timer6: timer@4903a000 {
  422. compatible = "ti,omap2-timer";
  423. reg = <0x4903a000 0x80>;
  424. interrupts = <0 42 0x4>;
  425. ti,hwmods = "timer6";
  426. ti,timer-dsp;
  427. };
  428. timer7: timer@4903c000 {
  429. compatible = "ti,omap2-timer";
  430. reg = <0x4903c000 0x80>;
  431. interrupts = <0 43 0x4>;
  432. ti,hwmods = "timer7";
  433. ti,timer-dsp;
  434. };
  435. timer8: timer@4903e000 {
  436. compatible = "ti,omap2-timer";
  437. reg = <0x4903e000 0x80>;
  438. interrupts = <0 44 0x4>;
  439. ti,hwmods = "timer8";
  440. ti,timer-pwm;
  441. ti,timer-dsp;
  442. };
  443. timer9: timer@4803e000 {
  444. compatible = "ti,omap2-timer";
  445. reg = <0x4803e000 0x80>;
  446. interrupts = <0 45 0x4>;
  447. ti,hwmods = "timer9";
  448. ti,timer-pwm;
  449. };
  450. timer10: timer@48086000 {
  451. compatible = "ti,omap2-timer";
  452. reg = <0x48086000 0x80>;
  453. interrupts = <0 46 0x4>;
  454. ti,hwmods = "timer10";
  455. ti,timer-pwm;
  456. };
  457. timer11: timer@48088000 {
  458. compatible = "ti,omap2-timer";
  459. reg = <0x48088000 0x80>;
  460. interrupts = <0 47 0x4>;
  461. ti,hwmods = "timer11";
  462. ti,timer-pwm;
  463. };
  464. };
  465. };