omap3.dtsi 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527
  1. /*
  2. * Device Tree Source for OMAP3 SoC
  3. *
  4. * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
  5. *
  6. * This file is licensed under the terms of the GNU General Public License
  7. * version 2. This program is licensed "as is" without any warranty of any
  8. * kind, whether express or implied.
  9. */
  10. /include/ "skeleton.dtsi"
  11. / {
  12. compatible = "ti,omap3430", "ti,omap3";
  13. interrupt-parent = <&intc>;
  14. aliases {
  15. serial0 = &uart1;
  16. serial1 = &uart2;
  17. serial2 = &uart3;
  18. };
  19. cpus {
  20. cpu@0 {
  21. compatible = "arm,cortex-a8";
  22. };
  23. };
  24. pmu {
  25. compatible = "arm,cortex-a8-pmu";
  26. interrupts = <3>;
  27. ti,hwmods = "debugss";
  28. };
  29. /*
  30. * The soc node represents the soc top level view. It is used for IPs
  31. * that are not memory mapped in the MPU view or for the MPU itself.
  32. */
  33. soc {
  34. compatible = "ti,omap-infra";
  35. mpu {
  36. compatible = "ti,omap3-mpu";
  37. ti,hwmods = "mpu";
  38. };
  39. iva {
  40. compatible = "ti,iva2.2";
  41. ti,hwmods = "iva";
  42. dsp {
  43. compatible = "ti,omap3-c64";
  44. };
  45. };
  46. };
  47. /*
  48. * XXX: Use a flat representation of the OMAP3 interconnect.
  49. * The real OMAP interconnect network is quite complex.
  50. * Since that will not bring real advantage to represent that in DT for
  51. * the moment, just use a fake OCP bus entry to represent the whole bus
  52. * hierarchy.
  53. */
  54. ocp {
  55. compatible = "simple-bus";
  56. #address-cells = <1>;
  57. #size-cells = <1>;
  58. ranges;
  59. ti,hwmods = "l3_main";
  60. counter32k: counter@48320000 {
  61. compatible = "ti,omap-counter32k";
  62. reg = <0x48320000 0x20>;
  63. ti,hwmods = "counter_32k";
  64. };
  65. intc: interrupt-controller@48200000 {
  66. compatible = "ti,omap2-intc";
  67. interrupt-controller;
  68. #interrupt-cells = <1>;
  69. ti,intc-size = <96>;
  70. reg = <0x48200000 0x1000>;
  71. };
  72. sdma: dma-controller@48056000 {
  73. compatible = "ti,omap3630-sdma", "ti,omap3430-sdma";
  74. reg = <0x48056000 0x1000>;
  75. interrupts = <12>,
  76. <13>,
  77. <14>,
  78. <15>;
  79. #dma-cells = <1>;
  80. #dma-channels = <32>;
  81. #dma-requests = <96>;
  82. };
  83. omap3_pmx_core: pinmux@48002030 {
  84. compatible = "ti,omap3-padconf", "pinctrl-single";
  85. reg = <0x48002030 0x05cc>;
  86. #address-cells = <1>;
  87. #size-cells = <0>;
  88. pinctrl-single,register-width = <16>;
  89. pinctrl-single,function-mask = <0x7f1f>;
  90. };
  91. omap3_pmx_wkup: pinmux@0x48002a00 {
  92. compatible = "ti,omap3-padconf", "pinctrl-single";
  93. reg = <0x48002a00 0x5c>;
  94. #address-cells = <1>;
  95. #size-cells = <0>;
  96. pinctrl-single,register-width = <16>;
  97. pinctrl-single,function-mask = <0x7f1f>;
  98. };
  99. gpio1: gpio@48310000 {
  100. compatible = "ti,omap3-gpio";
  101. reg = <0x48310000 0x200>;
  102. interrupts = <29>;
  103. ti,hwmods = "gpio1";
  104. ti,gpio-always-on;
  105. gpio-controller;
  106. #gpio-cells = <2>;
  107. interrupt-controller;
  108. #interrupt-cells = <2>;
  109. };
  110. gpio2: gpio@49050000 {
  111. compatible = "ti,omap3-gpio";
  112. reg = <0x49050000 0x200>;
  113. interrupts = <30>;
  114. ti,hwmods = "gpio2";
  115. gpio-controller;
  116. #gpio-cells = <2>;
  117. interrupt-controller;
  118. #interrupt-cells = <2>;
  119. };
  120. gpio3: gpio@49052000 {
  121. compatible = "ti,omap3-gpio";
  122. reg = <0x49052000 0x200>;
  123. interrupts = <31>;
  124. ti,hwmods = "gpio3";
  125. gpio-controller;
  126. #gpio-cells = <2>;
  127. interrupt-controller;
  128. #interrupt-cells = <2>;
  129. };
  130. gpio4: gpio@49054000 {
  131. compatible = "ti,omap3-gpio";
  132. reg = <0x49054000 0x200>;
  133. interrupts = <32>;
  134. ti,hwmods = "gpio4";
  135. gpio-controller;
  136. #gpio-cells = <2>;
  137. interrupt-controller;
  138. #interrupt-cells = <2>;
  139. };
  140. gpio5: gpio@49056000 {
  141. compatible = "ti,omap3-gpio";
  142. reg = <0x49056000 0x200>;
  143. interrupts = <33>;
  144. ti,hwmods = "gpio5";
  145. gpio-controller;
  146. #gpio-cells = <2>;
  147. interrupt-controller;
  148. #interrupt-cells = <2>;
  149. };
  150. gpio6: gpio@49058000 {
  151. compatible = "ti,omap3-gpio";
  152. reg = <0x49058000 0x200>;
  153. interrupts = <34>;
  154. ti,hwmods = "gpio6";
  155. gpio-controller;
  156. #gpio-cells = <2>;
  157. interrupt-controller;
  158. #interrupt-cells = <2>;
  159. };
  160. uart1: serial@4806a000 {
  161. compatible = "ti,omap3-uart";
  162. ti,hwmods = "uart1";
  163. clock-frequency = <48000000>;
  164. };
  165. uart2: serial@4806c000 {
  166. compatible = "ti,omap3-uart";
  167. ti,hwmods = "uart2";
  168. clock-frequency = <48000000>;
  169. };
  170. uart3: serial@49020000 {
  171. compatible = "ti,omap3-uart";
  172. ti,hwmods = "uart3";
  173. clock-frequency = <48000000>;
  174. };
  175. i2c1: i2c@48070000 {
  176. compatible = "ti,omap3-i2c";
  177. #address-cells = <1>;
  178. #size-cells = <0>;
  179. ti,hwmods = "i2c1";
  180. };
  181. i2c2: i2c@48072000 {
  182. compatible = "ti,omap3-i2c";
  183. #address-cells = <1>;
  184. #size-cells = <0>;
  185. ti,hwmods = "i2c2";
  186. };
  187. i2c3: i2c@48060000 {
  188. compatible = "ti,omap3-i2c";
  189. #address-cells = <1>;
  190. #size-cells = <0>;
  191. ti,hwmods = "i2c3";
  192. };
  193. mcspi1: spi@48098000 {
  194. compatible = "ti,omap2-mcspi";
  195. #address-cells = <1>;
  196. #size-cells = <0>;
  197. ti,hwmods = "mcspi1";
  198. ti,spi-num-cs = <4>;
  199. dmas = <&sdma 35>,
  200. <&sdma 36>,
  201. <&sdma 37>,
  202. <&sdma 38>,
  203. <&sdma 39>,
  204. <&sdma 40>,
  205. <&sdma 41>,
  206. <&sdma 42>;
  207. dma-names = "tx0", "rx0", "tx1", "rx1",
  208. "tx2", "rx2", "tx3", "rx3";
  209. };
  210. mcspi2: spi@4809a000 {
  211. compatible = "ti,omap2-mcspi";
  212. #address-cells = <1>;
  213. #size-cells = <0>;
  214. ti,hwmods = "mcspi2";
  215. ti,spi-num-cs = <2>;
  216. dmas = <&sdma 43>,
  217. <&sdma 44>,
  218. <&sdma 45>,
  219. <&sdma 46>;
  220. dma-names = "tx0", "rx0", "tx1", "rx1";
  221. };
  222. mcspi3: spi@480b8000 {
  223. compatible = "ti,omap2-mcspi";
  224. #address-cells = <1>;
  225. #size-cells = <0>;
  226. ti,hwmods = "mcspi3";
  227. ti,spi-num-cs = <2>;
  228. dmas = <&sdma 15>,
  229. <&sdma 16>,
  230. <&sdma 23>,
  231. <&sdma 24>;
  232. dma-names = "tx0", "rx0", "tx1", "rx1";
  233. };
  234. mcspi4: spi@480ba000 {
  235. compatible = "ti,omap2-mcspi";
  236. #address-cells = <1>;
  237. #size-cells = <0>;
  238. ti,hwmods = "mcspi4";
  239. ti,spi-num-cs = <1>;
  240. dmas = <&sdma 70>, <&sdma 71>;
  241. dma-names = "tx0", "rx0";
  242. };
  243. mmc1: mmc@4809c000 {
  244. compatible = "ti,omap3-hsmmc";
  245. ti,hwmods = "mmc1";
  246. ti,dual-volt;
  247. dmas = <&sdma 61>, <&sdma 62>;
  248. dma-names = "tx", "rx";
  249. };
  250. mmc2: mmc@480b4000 {
  251. compatible = "ti,omap3-hsmmc";
  252. ti,hwmods = "mmc2";
  253. dmas = <&sdma 47>, <&sdma 48>;
  254. dma-names = "tx", "rx";
  255. };
  256. mmc3: mmc@480ad000 {
  257. compatible = "ti,omap3-hsmmc";
  258. ti,hwmods = "mmc3";
  259. dmas = <&sdma 77>, <&sdma 78>;
  260. dma-names = "tx", "rx";
  261. };
  262. wdt2: wdt@48314000 {
  263. compatible = "ti,omap3-wdt";
  264. ti,hwmods = "wd_timer2";
  265. };
  266. mcbsp1: mcbsp@48074000 {
  267. compatible = "ti,omap3-mcbsp";
  268. reg = <0x48074000 0xff>;
  269. reg-names = "mpu";
  270. interrupts = <16>, /* OCP compliant interrupt */
  271. <59>, /* TX interrupt */
  272. <60>; /* RX interrupt */
  273. interrupt-names = "common", "tx", "rx";
  274. ti,buffer-size = <128>;
  275. ti,hwmods = "mcbsp1";
  276. dmas = <&sdma 31>,
  277. <&sdma 32>;
  278. dma-names = "tx", "rx";
  279. };
  280. mcbsp2: mcbsp@49022000 {
  281. compatible = "ti,omap3-mcbsp";
  282. reg = <0x49022000 0xff>,
  283. <0x49028000 0xff>;
  284. reg-names = "mpu", "sidetone";
  285. interrupts = <17>, /* OCP compliant interrupt */
  286. <62>, /* TX interrupt */
  287. <63>, /* RX interrupt */
  288. <4>; /* Sidetone */
  289. interrupt-names = "common", "tx", "rx", "sidetone";
  290. ti,buffer-size = <1280>;
  291. ti,hwmods = "mcbsp2", "mcbsp2_sidetone";
  292. dmas = <&sdma 33>,
  293. <&sdma 34>;
  294. dma-names = "tx", "rx";
  295. };
  296. mcbsp3: mcbsp@49024000 {
  297. compatible = "ti,omap3-mcbsp";
  298. reg = <0x49024000 0xff>,
  299. <0x4902a000 0xff>;
  300. reg-names = "mpu", "sidetone";
  301. interrupts = <22>, /* OCP compliant interrupt */
  302. <89>, /* TX interrupt */
  303. <90>, /* RX interrupt */
  304. <5>; /* Sidetone */
  305. interrupt-names = "common", "tx", "rx", "sidetone";
  306. ti,buffer-size = <128>;
  307. ti,hwmods = "mcbsp3", "mcbsp3_sidetone";
  308. dmas = <&sdma 17>,
  309. <&sdma 18>;
  310. dma-names = "tx", "rx";
  311. };
  312. mcbsp4: mcbsp@49026000 {
  313. compatible = "ti,omap3-mcbsp";
  314. reg = <0x49026000 0xff>;
  315. reg-names = "mpu";
  316. interrupts = <23>, /* OCP compliant interrupt */
  317. <54>, /* TX interrupt */
  318. <55>; /* RX interrupt */
  319. interrupt-names = "common", "tx", "rx";
  320. ti,buffer-size = <128>;
  321. ti,hwmods = "mcbsp4";
  322. dmas = <&sdma 19>,
  323. <&sdma 20>;
  324. dma-names = "tx", "rx";
  325. };
  326. mcbsp5: mcbsp@48096000 {
  327. compatible = "ti,omap3-mcbsp";
  328. reg = <0x48096000 0xff>;
  329. reg-names = "mpu";
  330. interrupts = <27>, /* OCP compliant interrupt */
  331. <81>, /* TX interrupt */
  332. <82>; /* RX interrupt */
  333. interrupt-names = "common", "tx", "rx";
  334. ti,buffer-size = <128>;
  335. ti,hwmods = "mcbsp5";
  336. dmas = <&sdma 21>,
  337. <&sdma 22>;
  338. dma-names = "tx", "rx";
  339. };
  340. timer1: timer@48318000 {
  341. compatible = "ti,omap3430-timer";
  342. reg = <0x48318000 0x400>;
  343. interrupts = <37>;
  344. ti,hwmods = "timer1";
  345. ti,timer-alwon;
  346. };
  347. timer2: timer@49032000 {
  348. compatible = "ti,omap3430-timer";
  349. reg = <0x49032000 0x400>;
  350. interrupts = <38>;
  351. ti,hwmods = "timer2";
  352. };
  353. timer3: timer@49034000 {
  354. compatible = "ti,omap3430-timer";
  355. reg = <0x49034000 0x400>;
  356. interrupts = <39>;
  357. ti,hwmods = "timer3";
  358. };
  359. timer4: timer@49036000 {
  360. compatible = "ti,omap3430-timer";
  361. reg = <0x49036000 0x400>;
  362. interrupts = <40>;
  363. ti,hwmods = "timer4";
  364. };
  365. timer5: timer@49038000 {
  366. compatible = "ti,omap3430-timer";
  367. reg = <0x49038000 0x400>;
  368. interrupts = <41>;
  369. ti,hwmods = "timer5";
  370. ti,timer-dsp;
  371. };
  372. timer6: timer@4903a000 {
  373. compatible = "ti,omap3430-timer";
  374. reg = <0x4903a000 0x400>;
  375. interrupts = <42>;
  376. ti,hwmods = "timer6";
  377. ti,timer-dsp;
  378. };
  379. timer7: timer@4903c000 {
  380. compatible = "ti,omap3430-timer";
  381. reg = <0x4903c000 0x400>;
  382. interrupts = <43>;
  383. ti,hwmods = "timer7";
  384. ti,timer-dsp;
  385. };
  386. timer8: timer@4903e000 {
  387. compatible = "ti,omap3430-timer";
  388. reg = <0x4903e000 0x400>;
  389. interrupts = <44>;
  390. ti,hwmods = "timer8";
  391. ti,timer-pwm;
  392. ti,timer-dsp;
  393. };
  394. timer9: timer@49040000 {
  395. compatible = "ti,omap3430-timer";
  396. reg = <0x49040000 0x400>;
  397. interrupts = <45>;
  398. ti,hwmods = "timer9";
  399. ti,timer-pwm;
  400. };
  401. timer10: timer@48086000 {
  402. compatible = "ti,omap3430-timer";
  403. reg = <0x48086000 0x400>;
  404. interrupts = <46>;
  405. ti,hwmods = "timer10";
  406. ti,timer-pwm;
  407. };
  408. timer11: timer@48088000 {
  409. compatible = "ti,omap3430-timer";
  410. reg = <0x48088000 0x400>;
  411. interrupts = <47>;
  412. ti,hwmods = "timer11";
  413. ti,timer-pwm;
  414. };
  415. timer12: timer@48304000 {
  416. compatible = "ti,omap3430-timer";
  417. reg = <0x48304000 0x400>;
  418. interrupts = <95>;
  419. ti,hwmods = "timer12";
  420. ti,timer-alwon;
  421. ti,timer-secure;
  422. };
  423. usbhstll: usbhstll@48062000 {
  424. compatible = "ti,usbhs-tll";
  425. reg = <0x48062000 0x1000>;
  426. interrupts = <78>;
  427. ti,hwmods = "usb_tll_hs";
  428. };
  429. usbhshost: usbhshost@48064000 {
  430. compatible = "ti,usbhs-host";
  431. reg = <0x48064000 0x400>;
  432. ti,hwmods = "usb_host_hs";
  433. #address-cells = <1>;
  434. #size-cells = <1>;
  435. ranges;
  436. usbhsohci: ohci@48064400 {
  437. compatible = "ti,ohci-omap3", "usb-ohci";
  438. reg = <0x48064400 0x400>;
  439. interrupt-parent = <&intc>;
  440. interrupts = <76>;
  441. };
  442. usbhsehci: ehci@48064800 {
  443. compatible = "ti,ehci-omap", "usb-ehci";
  444. reg = <0x48064800 0x400>;
  445. interrupt-parent = <&intc>;
  446. interrupts = <77>;
  447. };
  448. };
  449. gpmc: gpmc@6e000000 {
  450. compatible = "ti,omap3430-gpmc";
  451. ti,hwmods = "gpmc";
  452. reg = <0x6e000000 0x02d0>;
  453. interrupts = <20>;
  454. gpmc,num-cs = <8>;
  455. gpmc,num-waitpins = <4>;
  456. #address-cells = <2>;
  457. #size-cells = <1>;
  458. };
  459. usb_otg_hs: usb_otg_hs@480ab000 {
  460. compatible = "ti,omap3-musb";
  461. reg = <0x480ab000 0x1000>;
  462. interrupts = <0 92 0x4>, <0 93 0x4>;
  463. interrupt-names = "mc", "dma";
  464. ti,hwmods = "usb_otg_hs";
  465. multipoint = <1>;
  466. num-eps = <16>;
  467. ram-bits = <12>;
  468. };
  469. };
  470. };