omap4.dtsi 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533
  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. counter32k: counter@4a304000 {
  86. compatible = "ti,omap-counter32k";
  87. reg = <0x4a304000 0x20>;
  88. ti,hwmods = "counter_32k";
  89. };
  90. omap4_pmx_core: pinmux@4a100040 {
  91. compatible = "ti,omap4-padconf", "pinctrl-single";
  92. reg = <0x4a100040 0x0196>;
  93. #address-cells = <1>;
  94. #size-cells = <0>;
  95. pinctrl-single,register-width = <16>;
  96. pinctrl-single,function-mask = <0x7fff>;
  97. };
  98. omap4_pmx_wkup: pinmux@4a31e040 {
  99. compatible = "ti,omap4-padconf", "pinctrl-single";
  100. reg = <0x4a31e040 0x0038>;
  101. #address-cells = <1>;
  102. #size-cells = <0>;
  103. pinctrl-single,register-width = <16>;
  104. pinctrl-single,function-mask = <0x7fff>;
  105. };
  106. gpio1: gpio@4a310000 {
  107. compatible = "ti,omap4-gpio";
  108. reg = <0x4a310000 0x200>;
  109. interrupts = <0 29 0x4>;
  110. ti,hwmods = "gpio1";
  111. gpio-controller;
  112. #gpio-cells = <2>;
  113. interrupt-controller;
  114. #interrupt-cells = <1>;
  115. };
  116. gpio2: gpio@48055000 {
  117. compatible = "ti,omap4-gpio";
  118. reg = <0x48055000 0x200>;
  119. interrupts = <0 30 0x4>;
  120. ti,hwmods = "gpio2";
  121. gpio-controller;
  122. #gpio-cells = <2>;
  123. interrupt-controller;
  124. #interrupt-cells = <1>;
  125. };
  126. gpio3: gpio@48057000 {
  127. compatible = "ti,omap4-gpio";
  128. reg = <0x48057000 0x200>;
  129. interrupts = <0 31 0x4>;
  130. ti,hwmods = "gpio3";
  131. gpio-controller;
  132. #gpio-cells = <2>;
  133. interrupt-controller;
  134. #interrupt-cells = <1>;
  135. };
  136. gpio4: gpio@48059000 {
  137. compatible = "ti,omap4-gpio";
  138. reg = <0x48059000 0x200>;
  139. interrupts = <0 32 0x4>;
  140. ti,hwmods = "gpio4";
  141. gpio-controller;
  142. #gpio-cells = <2>;
  143. interrupt-controller;
  144. #interrupt-cells = <1>;
  145. };
  146. gpio5: gpio@4805b000 {
  147. compatible = "ti,omap4-gpio";
  148. reg = <0x4805b000 0x200>;
  149. interrupts = <0 33 0x4>;
  150. ti,hwmods = "gpio5";
  151. gpio-controller;
  152. #gpio-cells = <2>;
  153. interrupt-controller;
  154. #interrupt-cells = <1>;
  155. };
  156. gpio6: gpio@4805d000 {
  157. compatible = "ti,omap4-gpio";
  158. reg = <0x4805d000 0x200>;
  159. interrupts = <0 34 0x4>;
  160. ti,hwmods = "gpio6";
  161. gpio-controller;
  162. #gpio-cells = <2>;
  163. interrupt-controller;
  164. #interrupt-cells = <1>;
  165. };
  166. uart1: serial@4806a000 {
  167. compatible = "ti,omap4-uart";
  168. reg = <0x4806a000 0x100>;
  169. interrupts = <0 72 0x4>;
  170. ti,hwmods = "uart1";
  171. clock-frequency = <48000000>;
  172. };
  173. uart2: serial@4806c000 {
  174. compatible = "ti,omap4-uart";
  175. reg = <0x4806c000 0x100>;
  176. interrupts = <0 73 0x4>;
  177. ti,hwmods = "uart2";
  178. clock-frequency = <48000000>;
  179. };
  180. uart3: serial@48020000 {
  181. compatible = "ti,omap4-uart";
  182. reg = <0x48020000 0x100>;
  183. interrupts = <0 74 0x4>;
  184. ti,hwmods = "uart3";
  185. clock-frequency = <48000000>;
  186. };
  187. uart4: serial@4806e000 {
  188. compatible = "ti,omap4-uart";
  189. reg = <0x4806e000 0x100>;
  190. interrupts = <0 70 0x4>;
  191. ti,hwmods = "uart4";
  192. clock-frequency = <48000000>;
  193. };
  194. i2c1: i2c@48070000 {
  195. compatible = "ti,omap4-i2c";
  196. reg = <0x48070000 0x100>;
  197. interrupts = <0 56 0x4>;
  198. #address-cells = <1>;
  199. #size-cells = <0>;
  200. ti,hwmods = "i2c1";
  201. };
  202. i2c2: i2c@48072000 {
  203. compatible = "ti,omap4-i2c";
  204. reg = <0x48072000 0x100>;
  205. interrupts = <0 57 0x4>;
  206. #address-cells = <1>;
  207. #size-cells = <0>;
  208. ti,hwmods = "i2c2";
  209. };
  210. i2c3: i2c@48060000 {
  211. compatible = "ti,omap4-i2c";
  212. reg = <0x48060000 0x100>;
  213. interrupts = <0 61 0x4>;
  214. #address-cells = <1>;
  215. #size-cells = <0>;
  216. ti,hwmods = "i2c3";
  217. };
  218. i2c4: i2c@48350000 {
  219. compatible = "ti,omap4-i2c";
  220. reg = <0x48350000 0x100>;
  221. interrupts = <0 62 0x4>;
  222. #address-cells = <1>;
  223. #size-cells = <0>;
  224. ti,hwmods = "i2c4";
  225. };
  226. mcspi1: spi@48098000 {
  227. compatible = "ti,omap4-mcspi";
  228. reg = <0x48098000 0x200>;
  229. interrupts = <0 65 0x4>;
  230. #address-cells = <1>;
  231. #size-cells = <0>;
  232. ti,hwmods = "mcspi1";
  233. ti,spi-num-cs = <4>;
  234. };
  235. mcspi2: spi@4809a000 {
  236. compatible = "ti,omap4-mcspi";
  237. reg = <0x4809a000 0x200>;
  238. interrupts = <0 66 0x4>;
  239. #address-cells = <1>;
  240. #size-cells = <0>;
  241. ti,hwmods = "mcspi2";
  242. ti,spi-num-cs = <2>;
  243. };
  244. mcspi3: spi@480b8000 {
  245. compatible = "ti,omap4-mcspi";
  246. reg = <0x480b8000 0x200>;
  247. interrupts = <0 91 0x4>;
  248. #address-cells = <1>;
  249. #size-cells = <0>;
  250. ti,hwmods = "mcspi3";
  251. ti,spi-num-cs = <2>;
  252. };
  253. mcspi4: spi@480ba000 {
  254. compatible = "ti,omap4-mcspi";
  255. reg = <0x480ba000 0x200>;
  256. interrupts = <0 48 0x4>;
  257. #address-cells = <1>;
  258. #size-cells = <0>;
  259. ti,hwmods = "mcspi4";
  260. ti,spi-num-cs = <1>;
  261. };
  262. mmc1: mmc@4809c000 {
  263. compatible = "ti,omap4-hsmmc";
  264. reg = <0x4809c000 0x400>;
  265. interrupts = <0 83 0x4>;
  266. ti,hwmods = "mmc1";
  267. ti,dual-volt;
  268. ti,needs-special-reset;
  269. };
  270. mmc2: mmc@480b4000 {
  271. compatible = "ti,omap4-hsmmc";
  272. reg = <0x480b4000 0x400>;
  273. interrupts = <0 86 0x4>;
  274. ti,hwmods = "mmc2";
  275. ti,needs-special-reset;
  276. };
  277. mmc3: mmc@480ad000 {
  278. compatible = "ti,omap4-hsmmc";
  279. reg = <0x480ad000 0x400>;
  280. interrupts = <0 94 0x4>;
  281. ti,hwmods = "mmc3";
  282. ti,needs-special-reset;
  283. };
  284. mmc4: mmc@480d1000 {
  285. compatible = "ti,omap4-hsmmc";
  286. reg = <0x480d1000 0x400>;
  287. interrupts = <0 96 0x4>;
  288. ti,hwmods = "mmc4";
  289. ti,needs-special-reset;
  290. };
  291. mmc5: mmc@480d5000 {
  292. compatible = "ti,omap4-hsmmc";
  293. reg = <0x480d5000 0x400>;
  294. interrupts = <0 59 0x4>;
  295. ti,hwmods = "mmc5";
  296. ti,needs-special-reset;
  297. };
  298. wdt2: wdt@4a314000 {
  299. compatible = "ti,omap4-wdt", "ti,omap3-wdt";
  300. reg = <0x4a314000 0x80>;
  301. interrupts = <0 80 0x4>;
  302. ti,hwmods = "wd_timer2";
  303. };
  304. mcpdm: mcpdm@40132000 {
  305. compatible = "ti,omap4-mcpdm";
  306. reg = <0x40132000 0x7f>, /* MPU private access */
  307. <0x49032000 0x7f>; /* L3 Interconnect */
  308. reg-names = "mpu", "dma";
  309. interrupts = <0 112 0x4>;
  310. ti,hwmods = "mcpdm";
  311. };
  312. dmic: dmic@4012e000 {
  313. compatible = "ti,omap4-dmic";
  314. reg = <0x4012e000 0x7f>, /* MPU private access */
  315. <0x4902e000 0x7f>; /* L3 Interconnect */
  316. reg-names = "mpu", "dma";
  317. interrupts = <0 114 0x4>;
  318. ti,hwmods = "dmic";
  319. };
  320. mcbsp1: mcbsp@40122000 {
  321. compatible = "ti,omap4-mcbsp";
  322. reg = <0x40122000 0xff>, /* MPU private access */
  323. <0x49022000 0xff>; /* L3 Interconnect */
  324. reg-names = "mpu", "dma";
  325. interrupts = <0 17 0x4>;
  326. interrupt-names = "common";
  327. ti,buffer-size = <128>;
  328. ti,hwmods = "mcbsp1";
  329. };
  330. mcbsp2: mcbsp@40124000 {
  331. compatible = "ti,omap4-mcbsp";
  332. reg = <0x40124000 0xff>, /* MPU private access */
  333. <0x49024000 0xff>; /* L3 Interconnect */
  334. reg-names = "mpu", "dma";
  335. interrupts = <0 22 0x4>;
  336. interrupt-names = "common";
  337. ti,buffer-size = <128>;
  338. ti,hwmods = "mcbsp2";
  339. };
  340. mcbsp3: mcbsp@40126000 {
  341. compatible = "ti,omap4-mcbsp";
  342. reg = <0x40126000 0xff>, /* MPU private access */
  343. <0x49026000 0xff>; /* L3 Interconnect */
  344. reg-names = "mpu", "dma";
  345. interrupts = <0 23 0x4>;
  346. interrupt-names = "common";
  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. ti,buffer-size = <128>;
  357. ti,hwmods = "mcbsp4";
  358. };
  359. keypad: keypad@4a31c000 {
  360. compatible = "ti,omap4-keypad";
  361. reg = <0x4a31c000 0x80>;
  362. interrupts = <0 120 0x4>;
  363. reg-names = "mpu";
  364. ti,hwmods = "kbd";
  365. };
  366. emif1: emif@4c000000 {
  367. compatible = "ti,emif-4d";
  368. reg = <0x4c000000 0x100>;
  369. interrupts = <0 110 0x4>;
  370. ti,hwmods = "emif1";
  371. phy-type = <1>;
  372. hw-caps-read-idle-ctrl;
  373. hw-caps-ll-interface;
  374. hw-caps-temp-alert;
  375. };
  376. emif2: emif@4d000000 {
  377. compatible = "ti,emif-4d";
  378. reg = <0x4d000000 0x100>;
  379. interrupts = <0 111 0x4>;
  380. ti,hwmods = "emif2";
  381. phy-type = <1>;
  382. hw-caps-read-idle-ctrl;
  383. hw-caps-ll-interface;
  384. hw-caps-temp-alert;
  385. };
  386. ocp2scp@4a0ad000 {
  387. compatible = "ti,omap-ocp2scp";
  388. reg = <0x4a0ad000 0x1f>;
  389. #address-cells = <1>;
  390. #size-cells = <1>;
  391. ranges;
  392. ti,hwmods = "ocp2scp_usb_phy";
  393. };
  394. timer1: timer@4a318000 {
  395. compatible = "ti,omap2-timer";
  396. reg = <0x4a318000 0x80>;
  397. interrupts = <0 37 0x4>;
  398. ti,hwmods = "timer1";
  399. ti,timer-alwon;
  400. };
  401. timer2: timer@48032000 {
  402. compatible = "ti,omap2-timer";
  403. reg = <0x48032000 0x80>;
  404. interrupts = <0 38 0x4>;
  405. ti,hwmods = "timer2";
  406. };
  407. timer3: timer@48034000 {
  408. compatible = "ti,omap2-timer";
  409. reg = <0x48034000 0x80>;
  410. interrupts = <0 39 0x4>;
  411. ti,hwmods = "timer3";
  412. };
  413. timer4: timer@48036000 {
  414. compatible = "ti,omap2-timer";
  415. reg = <0x48036000 0x80>;
  416. interrupts = <0 40 0x4>;
  417. ti,hwmods = "timer4";
  418. };
  419. timer5: timer@40138000 {
  420. compatible = "ti,omap2-timer";
  421. reg = <0x40138000 0x80>,
  422. <0x49038000 0x80>;
  423. interrupts = <0 41 0x4>;
  424. ti,hwmods = "timer5";
  425. ti,timer-dsp;
  426. };
  427. timer6: timer@4013a000 {
  428. compatible = "ti,omap2-timer";
  429. reg = <0x4013a000 0x80>,
  430. <0x4903a000 0x80>;
  431. interrupts = <0 42 0x4>;
  432. ti,hwmods = "timer6";
  433. ti,timer-dsp;
  434. };
  435. timer7: timer@4013c000 {
  436. compatible = "ti,omap2-timer";
  437. reg = <0x4013c000 0x80>,
  438. <0x4903c000 0x80>;
  439. interrupts = <0 43 0x4>;
  440. ti,hwmods = "timer7";
  441. ti,timer-dsp;
  442. };
  443. timer8: timer@4013e000 {
  444. compatible = "ti,omap2-timer";
  445. reg = <0x4013e000 0x80>,
  446. <0x4903e000 0x80>;
  447. interrupts = <0 44 0x4>;
  448. ti,hwmods = "timer8";
  449. ti,timer-pwm;
  450. ti,timer-dsp;
  451. };
  452. timer9: timer@4803e000 {
  453. compatible = "ti,omap2-timer";
  454. reg = <0x4803e000 0x80>;
  455. interrupts = <0 45 0x4>;
  456. ti,hwmods = "timer9";
  457. ti,timer-pwm;
  458. };
  459. timer10: timer@48086000 {
  460. compatible = "ti,omap2-timer";
  461. reg = <0x48086000 0x80>;
  462. interrupts = <0 46 0x4>;
  463. ti,hwmods = "timer10";
  464. ti,timer-pwm;
  465. };
  466. timer11: timer@48088000 {
  467. compatible = "ti,omap2-timer";
  468. reg = <0x48088000 0x80>;
  469. interrupts = <0 47 0x4>;
  470. ti,hwmods = "timer11";
  471. ti,timer-pwm;
  472. };
  473. };
  474. };