omap3.dtsi 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512
  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. };
  276. mcbsp2: mcbsp@49022000 {
  277. compatible = "ti,omap3-mcbsp";
  278. reg = <0x49022000 0xff>,
  279. <0x49028000 0xff>;
  280. reg-names = "mpu", "sidetone";
  281. interrupts = <17>, /* OCP compliant interrupt */
  282. <62>, /* TX interrupt */
  283. <63>, /* RX interrupt */
  284. <4>; /* Sidetone */
  285. interrupt-names = "common", "tx", "rx", "sidetone";
  286. ti,buffer-size = <1280>;
  287. ti,hwmods = "mcbsp2", "mcbsp2_sidetone";
  288. };
  289. mcbsp3: mcbsp@49024000 {
  290. compatible = "ti,omap3-mcbsp";
  291. reg = <0x49024000 0xff>,
  292. <0x4902a000 0xff>;
  293. reg-names = "mpu", "sidetone";
  294. interrupts = <22>, /* OCP compliant interrupt */
  295. <89>, /* TX interrupt */
  296. <90>, /* RX interrupt */
  297. <5>; /* Sidetone */
  298. interrupt-names = "common", "tx", "rx", "sidetone";
  299. ti,buffer-size = <128>;
  300. ti,hwmods = "mcbsp3", "mcbsp3_sidetone";
  301. };
  302. mcbsp4: mcbsp@49026000 {
  303. compatible = "ti,omap3-mcbsp";
  304. reg = <0x49026000 0xff>;
  305. reg-names = "mpu";
  306. interrupts = <23>, /* OCP compliant interrupt */
  307. <54>, /* TX interrupt */
  308. <55>; /* RX interrupt */
  309. interrupt-names = "common", "tx", "rx";
  310. ti,buffer-size = <128>;
  311. ti,hwmods = "mcbsp4";
  312. };
  313. mcbsp5: mcbsp@48096000 {
  314. compatible = "ti,omap3-mcbsp";
  315. reg = <0x48096000 0xff>;
  316. reg-names = "mpu";
  317. interrupts = <27>, /* OCP compliant interrupt */
  318. <81>, /* TX interrupt */
  319. <82>; /* RX interrupt */
  320. interrupt-names = "common", "tx", "rx";
  321. ti,buffer-size = <128>;
  322. ti,hwmods = "mcbsp5";
  323. };
  324. timer1: timer@48318000 {
  325. compatible = "ti,omap2-timer";
  326. reg = <0x48318000 0x400>;
  327. interrupts = <37>;
  328. ti,hwmods = "timer1";
  329. ti,timer-alwon;
  330. };
  331. timer2: timer@49032000 {
  332. compatible = "ti,omap2-timer";
  333. reg = <0x49032000 0x400>;
  334. interrupts = <38>;
  335. ti,hwmods = "timer2";
  336. };
  337. timer3: timer@49034000 {
  338. compatible = "ti,omap2-timer";
  339. reg = <0x49034000 0x400>;
  340. interrupts = <39>;
  341. ti,hwmods = "timer3";
  342. };
  343. timer4: timer@49036000 {
  344. compatible = "ti,omap2-timer";
  345. reg = <0x49036000 0x400>;
  346. interrupts = <40>;
  347. ti,hwmods = "timer4";
  348. };
  349. timer5: timer@49038000 {
  350. compatible = "ti,omap2-timer";
  351. reg = <0x49038000 0x400>;
  352. interrupts = <41>;
  353. ti,hwmods = "timer5";
  354. ti,timer-dsp;
  355. };
  356. timer6: timer@4903a000 {
  357. compatible = "ti,omap2-timer";
  358. reg = <0x4903a000 0x400>;
  359. interrupts = <42>;
  360. ti,hwmods = "timer6";
  361. ti,timer-dsp;
  362. };
  363. timer7: timer@4903c000 {
  364. compatible = "ti,omap2-timer";
  365. reg = <0x4903c000 0x400>;
  366. interrupts = <43>;
  367. ti,hwmods = "timer7";
  368. ti,timer-dsp;
  369. };
  370. timer8: timer@4903e000 {
  371. compatible = "ti,omap2-timer";
  372. reg = <0x4903e000 0x400>;
  373. interrupts = <44>;
  374. ti,hwmods = "timer8";
  375. ti,timer-pwm;
  376. ti,timer-dsp;
  377. };
  378. timer9: timer@49040000 {
  379. compatible = "ti,omap2-timer";
  380. reg = <0x49040000 0x400>;
  381. interrupts = <45>;
  382. ti,hwmods = "timer9";
  383. ti,timer-pwm;
  384. };
  385. timer10: timer@48086000 {
  386. compatible = "ti,omap2-timer";
  387. reg = <0x48086000 0x400>;
  388. interrupts = <46>;
  389. ti,hwmods = "timer10";
  390. ti,timer-pwm;
  391. };
  392. timer11: timer@48088000 {
  393. compatible = "ti,omap2-timer";
  394. reg = <0x48088000 0x400>;
  395. interrupts = <47>;
  396. ti,hwmods = "timer11";
  397. ti,timer-pwm;
  398. };
  399. timer12: timer@48304000 {
  400. compatible = "ti,omap2-timer";
  401. reg = <0x48304000 0x400>;
  402. interrupts = <95>;
  403. ti,hwmods = "timer12";
  404. ti,timer-alwon;
  405. ti,timer-secure;
  406. };
  407. usbhstll: usbhstll@48062000 {
  408. compatible = "ti,usbhs-tll";
  409. reg = <0x48062000 0x1000>;
  410. interrupts = <78>;
  411. ti,hwmods = "usb_tll_hs";
  412. };
  413. usbhshost: usbhshost@48064000 {
  414. compatible = "ti,usbhs-host";
  415. reg = <0x48064000 0x400>;
  416. ti,hwmods = "usb_host_hs";
  417. #address-cells = <1>;
  418. #size-cells = <1>;
  419. ranges;
  420. usbhsohci: ohci@48064400 {
  421. compatible = "ti,ohci-omap3", "usb-ohci";
  422. reg = <0x48064400 0x400>;
  423. interrupt-parent = <&intc>;
  424. interrupts = <76>;
  425. };
  426. usbhsehci: ehci@48064800 {
  427. compatible = "ti,ehci-omap", "usb-ehci";
  428. reg = <0x48064800 0x400>;
  429. interrupt-parent = <&intc>;
  430. interrupts = <77>;
  431. };
  432. };
  433. gpmc: gpmc@6e000000 {
  434. compatible = "ti,omap3430-gpmc";
  435. ti,hwmods = "gpmc";
  436. reg = <0x6e000000 0x02d0>;
  437. interrupts = <20>;
  438. gpmc,num-cs = <8>;
  439. gpmc,num-waitpins = <4>;
  440. #address-cells = <2>;
  441. #size-cells = <1>;
  442. };
  443. usb_otg_hs: usb_otg_hs@480ab000 {
  444. compatible = "ti,omap3-musb";
  445. reg = <0x480ab000 0x1000>;
  446. interrupts = <0 92 0x4>, <0 93 0x4>;
  447. interrupt-names = "mc", "dma";
  448. ti,hwmods = "usb_otg_hs";
  449. usb-phy = <&usb2_phy>;
  450. multipoint = <1>;
  451. num-eps = <16>;
  452. ram-bits = <12>;
  453. };
  454. };
  455. };