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 uses 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 = <0x7fff>;
  90. };
  91. omap3_pmx_wkup: pinmux@0x48002a58 {
  92. compatible = "ti,omap3-padconf", "pinctrl-single";
  93. reg = <0x48002a58 0x5c>;
  94. #address-cells = <1>;
  95. #size-cells = <0>;
  96. pinctrl-single,register-width = <16>;
  97. pinctrl-single,function-mask = <0x7fff>;
  98. };
  99. gpio1: gpio@48310000 {
  100. compatible = "ti,omap3-gpio";
  101. reg = <0x48310000 0x200>;
  102. interrupts = <29>;
  103. ti,hwmods = "gpio1";
  104. gpio-controller;
  105. #gpio-cells = <2>;
  106. interrupt-controller;
  107. #interrupt-cells = <2>;
  108. };
  109. gpio2: gpio@49050000 {
  110. compatible = "ti,omap3-gpio";
  111. reg = <0x49050000 0x200>;
  112. interrupts = <30>;
  113. ti,hwmods = "gpio2";
  114. gpio-controller;
  115. #gpio-cells = <2>;
  116. interrupt-controller;
  117. #interrupt-cells = <2>;
  118. };
  119. gpio3: gpio@49052000 {
  120. compatible = "ti,omap3-gpio";
  121. reg = <0x49052000 0x200>;
  122. interrupts = <31>;
  123. ti,hwmods = "gpio3";
  124. gpio-controller;
  125. #gpio-cells = <2>;
  126. interrupt-controller;
  127. #interrupt-cells = <2>;
  128. };
  129. gpio4: gpio@49054000 {
  130. compatible = "ti,omap3-gpio";
  131. reg = <0x49054000 0x200>;
  132. interrupts = <32>;
  133. ti,hwmods = "gpio4";
  134. gpio-controller;
  135. #gpio-cells = <2>;
  136. interrupt-controller;
  137. #interrupt-cells = <2>;
  138. };
  139. gpio5: gpio@49056000 {
  140. compatible = "ti,omap3-gpio";
  141. reg = <0x49056000 0x200>;
  142. interrupts = <33>;
  143. ti,hwmods = "gpio5";
  144. gpio-controller;
  145. #gpio-cells = <2>;
  146. interrupt-controller;
  147. #interrupt-cells = <2>;
  148. };
  149. gpio6: gpio@49058000 {
  150. compatible = "ti,omap3-gpio";
  151. reg = <0x49058000 0x200>;
  152. interrupts = <34>;
  153. ti,hwmods = "gpio6";
  154. gpio-controller;
  155. #gpio-cells = <2>;
  156. interrupt-controller;
  157. #interrupt-cells = <2>;
  158. };
  159. uart1: serial@4806a000 {
  160. compatible = "ti,omap3-uart";
  161. ti,hwmods = "uart1";
  162. clock-frequency = <48000000>;
  163. };
  164. uart2: serial@4806c000 {
  165. compatible = "ti,omap3-uart";
  166. ti,hwmods = "uart2";
  167. clock-frequency = <48000000>;
  168. };
  169. uart3: serial@49020000 {
  170. compatible = "ti,omap3-uart";
  171. ti,hwmods = "uart3";
  172. clock-frequency = <48000000>;
  173. };
  174. i2c1: i2c@48070000 {
  175. compatible = "ti,omap3-i2c";
  176. #address-cells = <1>;
  177. #size-cells = <0>;
  178. ti,hwmods = "i2c1";
  179. };
  180. i2c2: i2c@48072000 {
  181. compatible = "ti,omap3-i2c";
  182. #address-cells = <1>;
  183. #size-cells = <0>;
  184. ti,hwmods = "i2c2";
  185. };
  186. i2c3: i2c@48060000 {
  187. compatible = "ti,omap3-i2c";
  188. #address-cells = <1>;
  189. #size-cells = <0>;
  190. ti,hwmods = "i2c3";
  191. };
  192. mcspi1: spi@48098000 {
  193. compatible = "ti,omap2-mcspi";
  194. #address-cells = <1>;
  195. #size-cells = <0>;
  196. ti,hwmods = "mcspi1";
  197. ti,spi-num-cs = <4>;
  198. dmas = <&sdma 35>,
  199. <&sdma 36>,
  200. <&sdma 37>,
  201. <&sdma 38>,
  202. <&sdma 39>,
  203. <&sdma 40>,
  204. <&sdma 41>,
  205. <&sdma 42>;
  206. dma-names = "tx0", "rx0", "tx1", "rx1",
  207. "tx2", "rx2", "tx3", "rx3";
  208. };
  209. mcspi2: spi@4809a000 {
  210. compatible = "ti,omap2-mcspi";
  211. #address-cells = <1>;
  212. #size-cells = <0>;
  213. ti,hwmods = "mcspi2";
  214. ti,spi-num-cs = <2>;
  215. dmas = <&sdma 43>,
  216. <&sdma 44>,
  217. <&sdma 45>,
  218. <&sdma 46>;
  219. dma-names = "tx0", "rx0", "tx1", "rx1";
  220. };
  221. mcspi3: spi@480b8000 {
  222. compatible = "ti,omap2-mcspi";
  223. #address-cells = <1>;
  224. #size-cells = <0>;
  225. ti,hwmods = "mcspi3";
  226. ti,spi-num-cs = <2>;
  227. dmas = <&sdma 15>,
  228. <&sdma 16>,
  229. <&sdma 23>,
  230. <&sdma 24>;
  231. dma-names = "tx0", "rx0", "tx1", "rx1";
  232. };
  233. mcspi4: spi@480ba000 {
  234. compatible = "ti,omap2-mcspi";
  235. #address-cells = <1>;
  236. #size-cells = <0>;
  237. ti,hwmods = "mcspi4";
  238. ti,spi-num-cs = <1>;
  239. dmas = <&sdma 70>, <&sdma 71>;
  240. dma-names = "tx0", "rx0";
  241. };
  242. mmc1: mmc@4809c000 {
  243. compatible = "ti,omap3-hsmmc";
  244. ti,hwmods = "mmc1";
  245. ti,dual-volt;
  246. dmas = <&sdma 61>, <&sdma 62>;
  247. dma-names = "tx", "rx";
  248. };
  249. mmc2: mmc@480b4000 {
  250. compatible = "ti,omap3-hsmmc";
  251. ti,hwmods = "mmc2";
  252. dmas = <&sdma 47>, <&sdma 48>;
  253. dma-names = "tx", "rx";
  254. };
  255. mmc3: mmc@480ad000 {
  256. compatible = "ti,omap3-hsmmc";
  257. ti,hwmods = "mmc3";
  258. dmas = <&sdma 77>, <&sdma 78>;
  259. dma-names = "tx", "rx";
  260. };
  261. wdt2: wdt@48314000 {
  262. compatible = "ti,omap3-wdt";
  263. ti,hwmods = "wd_timer2";
  264. };
  265. mcbsp1: mcbsp@48074000 {
  266. compatible = "ti,omap3-mcbsp";
  267. reg = <0x48074000 0xff>;
  268. reg-names = "mpu";
  269. interrupts = <16>, /* OCP compliant interrupt */
  270. <59>, /* TX interrupt */
  271. <60>; /* RX interrupt */
  272. interrupt-names = "common", "tx", "rx";
  273. ti,buffer-size = <128>;
  274. ti,hwmods = "mcbsp1";
  275. dmas = <&sdma 31>,
  276. <&sdma 32>;
  277. dma-names = "tx", "rx";
  278. };
  279. mcbsp2: mcbsp@49022000 {
  280. compatible = "ti,omap3-mcbsp";
  281. reg = <0x49022000 0xff>,
  282. <0x49028000 0xff>;
  283. reg-names = "mpu", "sidetone";
  284. interrupts = <17>, /* OCP compliant interrupt */
  285. <62>, /* TX interrupt */
  286. <63>, /* RX interrupt */
  287. <4>; /* Sidetone */
  288. interrupt-names = "common", "tx", "rx", "sidetone";
  289. ti,buffer-size = <1280>;
  290. ti,hwmods = "mcbsp2", "mcbsp2_sidetone";
  291. dmas = <&sdma 33>,
  292. <&sdma 34>;
  293. dma-names = "tx", "rx";
  294. };
  295. mcbsp3: mcbsp@49024000 {
  296. compatible = "ti,omap3-mcbsp";
  297. reg = <0x49024000 0xff>,
  298. <0x4902a000 0xff>;
  299. reg-names = "mpu", "sidetone";
  300. interrupts = <22>, /* OCP compliant interrupt */
  301. <89>, /* TX interrupt */
  302. <90>, /* RX interrupt */
  303. <5>; /* Sidetone */
  304. interrupt-names = "common", "tx", "rx", "sidetone";
  305. ti,buffer-size = <128>;
  306. ti,hwmods = "mcbsp3", "mcbsp3_sidetone";
  307. dmas = <&sdma 17>,
  308. <&sdma 18>;
  309. dma-names = "tx", "rx";
  310. };
  311. mcbsp4: mcbsp@49026000 {
  312. compatible = "ti,omap3-mcbsp";
  313. reg = <0x49026000 0xff>;
  314. reg-names = "mpu";
  315. interrupts = <23>, /* OCP compliant interrupt */
  316. <54>, /* TX interrupt */
  317. <55>; /* RX interrupt */
  318. interrupt-names = "common", "tx", "rx";
  319. ti,buffer-size = <128>;
  320. ti,hwmods = "mcbsp4";
  321. dmas = <&sdma 19>,
  322. <&sdma 20>;
  323. dma-names = "tx", "rx";
  324. };
  325. mcbsp5: mcbsp@48096000 {
  326. compatible = "ti,omap3-mcbsp";
  327. reg = <0x48096000 0xff>;
  328. reg-names = "mpu";
  329. interrupts = <27>, /* OCP compliant interrupt */
  330. <81>, /* TX interrupt */
  331. <82>; /* RX interrupt */
  332. interrupt-names = "common", "tx", "rx";
  333. ti,buffer-size = <128>;
  334. ti,hwmods = "mcbsp5";
  335. dmas = <&sdma 21>,
  336. <&sdma 22>;
  337. dma-names = "tx", "rx";
  338. };
  339. timer1: timer@48318000 {
  340. compatible = "ti,omap3430-timer";
  341. reg = <0x48318000 0x400>;
  342. interrupts = <37>;
  343. ti,hwmods = "timer1";
  344. ti,timer-alwon;
  345. };
  346. timer2: timer@49032000 {
  347. compatible = "ti,omap3430-timer";
  348. reg = <0x49032000 0x400>;
  349. interrupts = <38>;
  350. ti,hwmods = "timer2";
  351. };
  352. timer3: timer@49034000 {
  353. compatible = "ti,omap3430-timer";
  354. reg = <0x49034000 0x400>;
  355. interrupts = <39>;
  356. ti,hwmods = "timer3";
  357. };
  358. timer4: timer@49036000 {
  359. compatible = "ti,omap3430-timer";
  360. reg = <0x49036000 0x400>;
  361. interrupts = <40>;
  362. ti,hwmods = "timer4";
  363. };
  364. timer5: timer@49038000 {
  365. compatible = "ti,omap3430-timer";
  366. reg = <0x49038000 0x400>;
  367. interrupts = <41>;
  368. ti,hwmods = "timer5";
  369. ti,timer-dsp;
  370. };
  371. timer6: timer@4903a000 {
  372. compatible = "ti,omap3430-timer";
  373. reg = <0x4903a000 0x400>;
  374. interrupts = <42>;
  375. ti,hwmods = "timer6";
  376. ti,timer-dsp;
  377. };
  378. timer7: timer@4903c000 {
  379. compatible = "ti,omap3430-timer";
  380. reg = <0x4903c000 0x400>;
  381. interrupts = <43>;
  382. ti,hwmods = "timer7";
  383. ti,timer-dsp;
  384. };
  385. timer8: timer@4903e000 {
  386. compatible = "ti,omap3430-timer";
  387. reg = <0x4903e000 0x400>;
  388. interrupts = <44>;
  389. ti,hwmods = "timer8";
  390. ti,timer-pwm;
  391. ti,timer-dsp;
  392. };
  393. timer9: timer@49040000 {
  394. compatible = "ti,omap3430-timer";
  395. reg = <0x49040000 0x400>;
  396. interrupts = <45>;
  397. ti,hwmods = "timer9";
  398. ti,timer-pwm;
  399. };
  400. timer10: timer@48086000 {
  401. compatible = "ti,omap3430-timer";
  402. reg = <0x48086000 0x400>;
  403. interrupts = <46>;
  404. ti,hwmods = "timer10";
  405. ti,timer-pwm;
  406. };
  407. timer11: timer@48088000 {
  408. compatible = "ti,omap3430-timer";
  409. reg = <0x48088000 0x400>;
  410. interrupts = <47>;
  411. ti,hwmods = "timer11";
  412. ti,timer-pwm;
  413. };
  414. timer12: timer@48304000 {
  415. compatible = "ti,omap3430-timer";
  416. reg = <0x48304000 0x400>;
  417. interrupts = <95>;
  418. ti,hwmods = "timer12";
  419. ti,timer-alwon;
  420. ti,timer-secure;
  421. };
  422. usbhstll: usbhstll@48062000 {
  423. compatible = "ti,usbhs-tll";
  424. reg = <0x48062000 0x1000>;
  425. interrupts = <78>;
  426. ti,hwmods = "usb_tll_hs";
  427. };
  428. usbhshost: usbhshost@48064000 {
  429. compatible = "ti,usbhs-host";
  430. reg = <0x48064000 0x400>;
  431. ti,hwmods = "usb_host_hs";
  432. #address-cells = <1>;
  433. #size-cells = <1>;
  434. ranges;
  435. usbhsohci: ohci@48064400 {
  436. compatible = "ti,ohci-omap3", "usb-ohci";
  437. reg = <0x48064400 0x400>;
  438. interrupt-parent = <&intc>;
  439. interrupts = <76>;
  440. };
  441. usbhsehci: ehci@48064800 {
  442. compatible = "ti,ehci-omap", "usb-ehci";
  443. reg = <0x48064800 0x400>;
  444. interrupt-parent = <&intc>;
  445. interrupts = <77>;
  446. };
  447. };
  448. gpmc: gpmc@6e000000 {
  449. compatible = "ti,omap3430-gpmc";
  450. ti,hwmods = "gpmc";
  451. reg = <0x6e000000 0x02d0>;
  452. interrupts = <20>;
  453. gpmc,num-cs = <8>;
  454. gpmc,num-waitpins = <4>;
  455. #address-cells = <2>;
  456. #size-cells = <1>;
  457. };
  458. usb_otg_hs: usb_otg_hs@480ab000 {
  459. compatible = "ti,omap3-musb";
  460. reg = <0x480ab000 0x1000>;
  461. interrupts = <0 92 0x4>, <0 93 0x4>;
  462. interrupt-names = "mc", "dma";
  463. ti,hwmods = "usb_otg_hs";
  464. usb-phy = <&usb2_phy>;
  465. multipoint = <1>;
  466. num-eps = <16>;
  467. ram-bits = <12>;
  468. };
  469. };
  470. };