omap3.dtsi 9.9 KB

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